Skip to content

Commit

Permalink
ellipsis
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxHalford committed Nov 2, 2023
1 parent 3adc83a commit cc8ee1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion river/naive_bayes/bernoulli.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class BernoulliNB(base.BaseNB):
0.25
>>> model.predict_proba_one("test")
{'yes': 0.8831539823829913, 'no': 0.11684601761700895}
{'yes': 0.883..., 'no': 0.116...}
>>> model.predict_one("test")
'yes'
Expand Down
4 changes: 2 additions & 2 deletions river/preprocessing/random_projection.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class GaussianRandomProjector(base.Transformer):
... x = model.transform_one(x)
... print(x)
... break
{0: -61289.37139206629, 1: 141312.51039283074, 2: 279165.99370457436}
{0: -61289.371..., 1: 141312.510..., 2: 279165.993...}
>>> model = (
... preprocessing.GaussianRandomProjector(
Expand All @@ -50,7 +50,7 @@ class GaussianRandomProjector(base.Transformer):
... linear_model.LinearRegression()
... )
>>> evaluate.progressive_val_score(dataset, model, metrics.MAE())
MAE: 0.933502
MAE: 0.933...
References
----------
Expand Down

0 comments on commit cc8ee1b

Please sign in to comment.