diff trafficintelligence/tests/storage.txt @ 1204:a12d126346ff

merge
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Wed, 22 Mar 2023 22:01:12 -0400
parents 4356065ed3ca
children 76f5693b530c
line wrap: on
line diff
--- a/trafficintelligence/tests/storage.txt	Wed Mar 22 15:40:33 2023 -0400
+++ b/trafficintelligence/tests/storage.txt	Wed Mar 22 22:01:12 2023 -0400
@@ -9,6 +9,7 @@
 
 >>> nonexistentFilename = "nonexistent"
 >>> loadTrajectoriesFromSqlite(nonexistentFilename, 'feature')
+Impossible to load from non-existing file nonexistent
 []
 
 >>> o1 = MovingObject.generate(2, Point(0.,0.), Point(1.,0.), TimeInterval(0,10))
@@ -116,7 +117,7 @@
 >>> from numpy.random import random_sample
 >>> nPoints = 50
 >>> points = random_sample(nPoints*2).reshape(nPoints,2)
->>> gmm = GaussianMixture(4, covariance_type = 'full')
+>>> gmm = GaussianMixture(n_components = 4, covariance_type = 'full')
 >>> tmp = gmm.fit(points)
 >>> gmmId = 0
 >>> savePOIsToSqlite('pois-tmp.sqlite', gmm, 'end', gmmId)