Skip to content

Commit 83b2462

Browse files
committed
Remove deprecated L1, L2 scaler
1 parent e65b28f commit 83b2462

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

graphdatascience/procedure_surface/api/catalog/scale_properties_endpoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def mutate(
4242
The node properties to scale. Can be a list of property names or a dictionary mapping property names to configurations.
4343
scaler : str | dict[str, str | int | float] | ScalerConfig
4444
The scaler to use. Can be:
45-
- A string (e.g., 'MinMax', 'Mean', 'Max', 'Log', 'StdScore', 'Center', 'L1Norm', 'L2Norm')
45+
- A string (e.g., 'MinMax', 'Mean', 'Max', 'Log', 'StdScore', 'Center')
4646
- A dictionary with scaler configuration (e.g., {'type': 'Log', 'offset': 1.0})
4747
- A ScalerConfig instance
4848
node_labels : list[str]

graphdatascience/procedure_surface/api/centrality/articlerank_endpoints.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def mutate(
5454
Maximum number of iterations to run.
5555
scaler : str | dict[str, str | int | float] | ScalerConfig, default="NONE"
5656
The scaler to use. Can be:
57-
- A string (e.g., 'MinMax', 'Mean', 'Max', 'Log', 'StdScore', 'Center', 'L1Norm', 'L2Norm', 'NONE')
57+
- A string (e.g., 'MinMax', 'Mean', 'Max', 'Log', 'StdScore', 'Center', 'NONE')
5858
- A dictionary with scaler configuration (e.g., {'type': 'Log', 'offset': 1.0})
5959
- A ScalerConfig instance
6060
- "NONE" (default, no scaling)
@@ -121,7 +121,7 @@ def stats(
121121
Maximum number of iterations to run.
122122
scaler : str | dict[str, str | int | float] | ScalerConfig, default="NONE"
123123
The scaler to use. Can be:
124-
- A string (e.g., 'MinMax', 'Mean', 'Max', 'Log', 'StdScore', 'Center', 'L1Norm', 'L2Norm', 'NONE')
124+
- A string (e.g., 'MinMax', 'Mean', 'Max', 'Log', 'StdScore', 'Center', 'NONE')
125125
- A dictionary with scaler configuration (e.g., {'type': 'Log', 'offset': 1.0})
126126
- A ScalerConfig instance
127127
- "NONE" (default, no scaling)
@@ -251,7 +251,7 @@ def write(
251251
Maximum number of iterations to run.
252252
scaler : str | dict[str, str | int | float] | ScalerConfig, default="NONE"
253253
The scaler to use. Can be:
254-
- A string (e.g., 'MinMax', 'Mean', 'Max', 'Log', 'StdScore', 'Center', 'L1Norm', 'L2Norm', 'NONE')
254+
- A string (e.g., 'MinMax', 'Mean', 'Max', 'Log', 'StdScore', 'Center', 'NONE')
255255
- A dictionary with scaler configuration (e.g., {'type': 'Log', 'offset': 1.0})
256256
- A ScalerConfig instance
257257
- "NONE" (default, no scaling)

graphdatascience/procedure_surface/api/centrality/eigenvector_endpoints.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def mutate(
5353
The source nodes to start the computation from
5454
scaler : str | dict[str, str | int | float] | ScalerConfig, default="NONE"
5555
The scaler to use. Can be:
56-
- A string (e.g., 'MinMax', 'Mean', 'Max', 'Log', 'StdScore', 'Center', 'L1Norm', 'L2Norm', 'NONE')
56+
- A string (e.g., 'MinMax', 'Mean', 'Max', 'Log', 'StdScore', 'Center', 'NONE')
5757
- A dictionary with scaler configuration (e.g., {'type': 'Log', 'offset': 1.0})
5858
- A ScalerConfig instance
5959
- "NONE" (default, no scaling)
@@ -119,7 +119,7 @@ def stats(
119119
The source nodes to start the computation from
120120
scaler : str | dict[str, str | int | float] | ScalerConfig, default="NONE"
121121
The scaler to use. Can be:
122-
- A string (e.g., 'MinMax', 'Mean', 'Max', 'Log', 'StdScore', 'Center', 'L1Norm', 'L2Norm', 'NONE')
122+
- A string (e.g., 'MinMax', 'Mean', 'Max', 'Log', 'StdScore', 'Center', 'NONE')
123123
- A dictionary with scaler configuration (e.g., {'type': 'Log', 'offset': 1.0})
124124
- A ScalerConfig instance
125125
- "NONE" (default, no scaling)
@@ -180,7 +180,7 @@ def stream(
180180
The source nodes to start the computation from
181181
scaler : str | dict[str, str | int | float] | ScalerConfig, default="NONE"
182182
The scaler to use. Can be:
183-
- A string (e.g., 'MinMax', 'Mean', 'Max', 'Log', 'StdScore', 'Center', 'L1Norm', 'L2Norm', 'NONE')
183+
- A string (e.g., 'MinMax', 'Mean', 'Max', 'Log', 'StdScore', 'Center', 'NONE')
184184
- A dictionary with scaler configuration (e.g., {'type': 'Log', 'offset': 1.0})
185185
- A ScalerConfig instance
186186
- "NONE" (default, no scaling)
@@ -250,7 +250,7 @@ def write(
250250
The source nodes to start the computation from
251251
scaler : str | dict[str, str | int | float] | ScalerConfig, default="NONE"
252252
The scaler to use. Can be:
253-
- A string (e.g., 'MinMax', 'Mean', 'Max', 'Log', 'StdScore', 'Center', 'L1Norm', 'L2Norm', 'NONE')
253+
- A string (e.g., 'MinMax', 'Mean', 'Max', 'Log', 'StdScore', 'Center', 'NONE')
254254
- A dictionary with scaler configuration (e.g., {'type': 'Log', 'offset': 1.0})
255255
- A ScalerConfig instance
256256
- "NONE" (default, no scaling)
@@ -309,7 +309,7 @@ def estimate(
309309
The source nodes to start the computation from
310310
scaler : str | dict[str, str | int | float] | ScalerConfig, default="NONE"
311311
The scaler to use. Can be:
312-
- A string (e.g., 'MinMax', 'Mean', 'Max', 'Log', 'StdScore', 'Center', 'L1Norm', 'L2Norm', 'NONE')
312+
- A string (e.g., 'MinMax', 'Mean', 'Max', 'Log', 'StdScore', 'Center', 'NONE')
313313
- A dictionary with scaler configuration (e.g., {'type': 'Log', 'offset': 1.0})
314314
- A ScalerConfig instance
315315
- "NONE" (default, no scaling)

graphdatascience/procedure_surface/api/centrality/pagerank_endpoints.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def mutate(
5252
Maximum number of iterations to run.
5353
scaler : str | dict[str, str | int | float] | ScalerConfig, default="NONE"
5454
The scaler to use. Can be:
55-
- A string (e.g., 'MinMax', 'Mean', 'Max', 'Log', 'StdScore', 'Center', 'L1Norm', 'L2Norm', 'NONE')
55+
- A string (e.g., 'MinMax', 'Mean', 'Max', 'Log', 'StdScore', 'Center', 'NONE')
5656
- A dictionary with scaler configuration (e.g., {'type': 'Log', 'offset': 1.0})
5757
- A ScalerConfig instance
5858
- "NONE" (default, no scaling)
@@ -118,7 +118,7 @@ def stats(
118118
Maximum number of iterations to run.
119119
scaler : str | dict[str, str | int | float] | ScalerConfig, default="NONE"
120120
The scaler to use. Can be:
121-
- A string (e.g., 'MinMax', 'Mean', 'Max', 'Log', 'StdScore', 'Center', 'L1Norm', 'L2Norm', 'NONE')
121+
- A string (e.g., 'MinMax', 'Mean', 'Max', 'Log', 'StdScore', 'Center', 'NONE')
122122
- A dictionary with scaler configuration (e.g., {'type': 'Log', 'offset': 1.0})
123123
- A ScalerConfig instance
124124
- "NONE" (default, no scaling)
@@ -181,7 +181,7 @@ def stream(
181181
The maximum number of iterations to run
182182
scaler : str | dict[str, str | int | float] | ScalerConfig, default="NONE"
183183
The scaler to use. Can be:
184-
- A string (e.g., 'MinMax', 'Mean', 'Max', 'Log', 'StdScore', 'Center', 'L1Norm', 'L2Norm', 'NONE')
184+
- A string (e.g., 'MinMax', 'Mean', 'Max', 'Log', 'StdScore', 'Center', 'NONE')
185185
- A dictionary with scaler configuration (e.g., {'type': 'Log', 'offset': 1.0})
186186
- A ScalerConfig instance
187187
- "NONE" (default, no scaling)
@@ -251,7 +251,7 @@ def write(
251251
Maximum number of iterations to run.
252252
scaler : str | dict[str, str | int | float] | ScalerConfig, default="NONE"
253253
The scaler to use. Can be:
254-
- A string (e.g., 'MinMax', 'Mean', 'Max', 'Log', 'StdScore', 'Center', 'L1Norm', 'L2Norm', 'NONE')
254+
- A string (e.g., 'MinMax', 'Mean', 'Max', 'Log', 'StdScore', 'Center', 'NONE')
255255
- A dictionary with scaler configuration (e.g., {'type': 'Log', 'offset': 1.0})
256256
- A ScalerConfig instance
257257
- "NONE" (default, no scaling)
@@ -312,7 +312,7 @@ def estimate(
312312
The maximum number of iterations to run
313313
scaler : str | dict[str, str | int | float] | ScalerConfig, default="NONE"
314314
The scaler to use. Can be:
315-
- A string (e.g., 'MinMax', 'Mean', 'Max', 'Log', 'StdScore', 'Center', 'L1Norm', 'L2Norm', 'NONE')
315+
- A string (e.g., 'MinMax', 'Mean', 'Max', 'Log', 'StdScore', 'Center', 'NONE')
316316
- A dictionary with scaler configuration (e.g., {'type': 'Log', 'offset': 1.0})
317317
- A ScalerConfig instance
318318
- "NONE" (default, no scaling)

0 commit comments

Comments
 (0)