Skip to content
Snippets Groups Projects
Commit 501bdaa0 authored by Fabian Pedregosa's avatar Fabian Pedregosa
Browse files

Add needed files from numpy.testing.

This tests needed the functions assert_array_almost_euqal (they are
not present in unittest).

These functions also are not present in older versions of numpy
(1.1.0), but fortunately they are only needed for testing.

git-svn-id: https://scikit-learn.svn.sourceforge.net/svnroot/scikit-learn/trunk@364 22fbfee3-77ab-4535-9bad-27d1bd3bc7d8
parent 2d539db5
Branches
Tags
No related merge requests found
...@@ -10,6 +10,7 @@ import sys ...@@ -10,6 +10,7 @@ import sys
from unittest import TestCase from unittest import TestCase
import numpy as N import numpy as N
from numpy.testing import assert_array_almost_equal, assert_array_equal
from scikits.learn.machine.em.densities import gauss_den, \ from scikits.learn.machine.em.densities import gauss_den, \
multiple_gauss_den, logsumexp, gauss_ell multiple_gauss_den, logsumexp, gauss_ell
......
...@@ -7,6 +7,7 @@ import sys ...@@ -7,6 +7,7 @@ import sys
from unittest import TestCase from unittest import TestCase
import numpy as N import numpy as N
from numpy.testing import assert_array_almost_equal
from scikits.learn.machine.em import GM from scikits.learn.machine.em import GM
from scikits.learn.machine.em.densities import multiple_gauss_den from scikits.learn.machine.em.densities import multiple_gauss_den
......
...@@ -8,6 +8,7 @@ import os ...@@ -8,6 +8,7 @@ import os
from unittest import TestCase from unittest import TestCase
import numpy as N import numpy as N
from numpy.testing import assert_array_almost_equal
from scikits.learn.machine.em import GMM, GM, EM from scikits.learn.machine.em import GMM, GM, EM
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment