Skip to content
Snippets Groups Projects
Commit 13f82056 authored by Manuel Günther's avatar Manuel Günther
Browse files

Fixed constness-issue (#19) in nose test

parent 3273ccd2
No related branches found
No related tags found
No related merge requests found
......@@ -144,8 +144,9 @@ def test_kmeans_b():
bob.learn.em.train(trainer,machine, arStd, convergence_threshold=0.001)
[variances, weights] = machine.get_variances_and_weights_for_each_cluster(arStd)
means = machine.means
means = numpy.array(machine.means)
variances = numpy.array(variances)
multiplyVectorsByFactors(means, std)
multiplyVectorsByFactors(variances, std ** 2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment