diff python/tests/storage.txt @ 871:6db83beb5350

work in progress to update gaussian mixtures
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Fri, 03 Feb 2017 16:26:18 -0500
parents 119c4efe6398
children c70adaeeddf5
line wrap: on
line diff
--- a/python/tests/storage.txt	Fri Feb 03 16:15:06 2017 -0500
+++ b/python/tests/storage.txt	Fri Feb 03 16:26:18 2017 -0500
@@ -86,11 +86,11 @@
 >>> readline(strio, '%#')
 'sadlkfjsdlakjf'
 
->>> from sklearn.mixture import GMM
+>>> from sklearn.mixture import GaussianMixture
 >>> from numpy.random import random_sample
 >>> nPoints = 50
 >>> points = random_sample(nPoints*2).reshape(nPoints,2)
->>> gmm = GMM(4, covariance_type = 'full')
+>>> gmm = GaussianMixture(4, covariance_type = 'full')
 >>> tmp = gmm.fit(points)
 >>> id = 0
 >>> savePOIs('pois-tmp.sqlite', gmm, 'end', id)