Skip to content

Commit

Permalink
Fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
relf committed Mar 6, 2025
1 parent 4834b7e commit 2f41ecc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions python/egobox/egobox.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class Egor:
When set to 0, the number of cluster is determined automatically and refreshed every
10-points addition (should say 'tentative addition' because addition may fail for some points
but it is counted anyway).
When set to negative number -n, the number of clusters is determined automatically in [0, n]
When set to negative number -n, the number of clusters is determined automatically in [1, n]
this is used to limit the number of trials hence the execution time.
n_optmod (int >= 1)
Expand Down Expand Up @@ -446,7 +446,7 @@ class SparseGpMix:
When set to 0, the number of cluster is determined automatically and refreshed every
10-points addition (should say 'tentative addition' because addition may fail for some points
but it is counted anyway).
When set to negative number -n, the number of clusters is determined automatically in [0, n]
When set to negative number -n, the number of clusters is determined automatically in [1, n]
this is used to limit the number of trials hence the execution time.
corr_spec (CorrelationSpec flags, an int in [1, 15]):
Expand Down
2 changes: 1 addition & 1 deletion python/src/egor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ pub(crate) fn to_specs(py: Python, xlimits: Vec<Vec<f64>>) -> PyResult<PyObject>
/// When set to 0, the number of cluster is determined automatically and refreshed every
/// 10-points addition (should say 'tentative addition' because addition may fail for some points
/// but it is counted anyway).
/// When set to negative number -n, the number of clusters is determined automatically in [0, n]
/// When set to negative number -n, the number of clusters is determined automatically in [1, n]
/// this is used to limit the number of trials hence the execution time.
///
/// n_optmod (int >= 1)
Expand Down
2 changes: 1 addition & 1 deletion python/src/gp_mix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ use rand_xoshiro::Xoshiro256Plus;
/// When set to 0, the number of cluster is determined automatically and refreshed every
/// 10-points addition (should say 'tentative addition' because addition may fail for some points
/// but it is counted anyway).
/// When set to negative number -n, the number of clusters is determined automatically in [0, n]
/// When set to negative number -n, the number of clusters is determined automatically in [1, n]
/// this is used to limit the number of trials hence the execution time.
///
/// regr_spec (RegressionSpec flags, an int in [1, 7]):
Expand Down

0 comments on commit 2f41ecc

Please sign in to comment.