From cc8ee1bd1be93459e70bd14ddbf8a93c059825f4 Mon Sep 17 00:00:00 2001 From: Max Halford Date: Thu, 2 Nov 2023 19:06:46 +0100 Subject: [PATCH] ellipsis --- river/naive_bayes/bernoulli.py | 2 +- river/preprocessing/random_projection.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/river/naive_bayes/bernoulli.py b/river/naive_bayes/bernoulli.py index 7ddba2acb0..d5b2efc92d 100644 --- a/river/naive_bayes/bernoulli.py +++ b/river/naive_bayes/bernoulli.py @@ -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' diff --git a/river/preprocessing/random_projection.py b/river/preprocessing/random_projection.py index 13e2152f04..979c249595 100644 --- a/river/preprocessing/random_projection.py +++ b/river/preprocessing/random_projection.py @@ -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( @@ -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 ----------