Skip to content

Commit

Permalink
Fix docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
betatim committed May 24, 2024
1 parent 04ac30c commit 9e2d841
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/cuml/ensemble/randomforestregressor.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,9 @@ class RandomForestRegressor(BaseRandomForestModel,
* If type ``float`` then ``max_features`` is used as a fraction.
* If ``'sqrt'`` then ``max_features=1/sqrt(n_features)``.
* If ``'log2'`` then ``max_features=log2(n_features)/n_features``.
.. versionchanged:: 24.06
The default of `max_features` changed from `"auto"` to 1.0.
The default of `max_features` changed from `"auto"` to 1.0.
n_bins : int (default = 128)
Maximum number of bins used by the split algorithm per feature.
Expand Down
2 changes: 2 additions & 0 deletions python/cuml/experimental/linear_model/lars.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,10 @@ class Lars(Base, RegressorMixin):
If True, the predictors in X will be normalized by removing its mean
and dividing by it's variance. If False, then the solver expects that
the data is already normalized.
.. versionchanged:: 24.06
The default of `normalize` changed from `True` to `False`.
copy_X : boolean (default = True)
The solver permutes the columns of X. Set `copy_X` to True to prevent
changing the input data.
Expand Down

0 comments on commit 9e2d841

Please sign in to comment.