From caa9d661977693dc3146746b4fc319b248c2b89a Mon Sep 17 00:00:00 2001 From: Yannick DAYER <yannick.dayer@idiap.ch> Date: Thu, 6 Jun 2024 15:36:42 +0200 Subject: [PATCH] doc: fix data description comments in plot scripts --- doc/plot/plot_MAP.py | 2 +- doc/plot/plot_ML.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/plot/plot_MAP.py b/doc/plot/plot_MAP.py index 24e12ca..df533d1 100644 --- a/doc/plot/plot_MAP.py +++ b/doc/plot/plot_MAP.py @@ -14,7 +14,7 @@ versicolor = data[iris_data.target == 1] virginica = data[iris_data.target == 2] -# Two clusters with +# 3 clusters with a feature dimensionality of 2 mle_machine = bob.learn.em.GMMMachine(3) # Creating some fake means for the example mle_machine.means = np.array([[5, 3], [4, 2], [7, 3.0]]) diff --git a/doc/plot/plot_ML.py b/doc/plot/plot_ML.py index a19e780..1db909e 100644 --- a/doc/plot/plot_ML.py +++ b/doc/plot/plot_ML.py @@ -18,7 +18,7 @@ setosa = data[iris_data.target == 0] versicolor = data[iris_data.target == 1] virginica = data[iris_data.target == 2] -# Two clusters with a feature dimensionality of 3 +# 3 clusters with a feature dimensionality of 2 machine = GMMMachine( 3, convergence_threshold=1e-5, -- GitLab