You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/usage.rst
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,9 +32,9 @@ Using Built-in Datasets
32
32
estimator = HillEstimator()
33
33
estimator.fit(data)
34
34
35
-
# Get the estimated parameters
36
-
result = estimator.get_parameters()
37
-
gamma = result.gamma
35
+
# Get estimated values
36
+
result = estimator.get_result()
37
+
gamma = result.gamma_
38
38
39
39
# Print full results
40
40
print(result)
@@ -55,9 +55,9 @@ Using degree sequence from networkx graphs
55
55
estimator = HillEstimator()
56
56
estimator.fit(degree)
57
57
58
-
# Get the estimated parameters
59
-
result = estimator.get_parameters()
60
-
gamma = result.gamma
58
+
# Get estimated values
59
+
result = estimator.get_result()
60
+
gamma = result.gamma_
61
61
62
62
# Print full results
63
63
print(result)
@@ -84,11 +84,11 @@ The package provides several estimators for tail estimation. For details on each
84
84
Results
85
85
-------
86
86
87
-
The full result can be obtained by ``result = estimator.get_parameters()``. You can either print the result, or access individual attributes (e.g., `result.gamma`). The output will include:
87
+
The full result can be obtained by ``result = estimator.get_result()``. You can either print the result, or access individual attributes (e.g., `result.gamma_`). The output will include values such as:
0 commit comments