def test_basic(): """Disabled the test since we have no SpAM yet """ raise SkipTest, "skipped SPaM since no SPaM" from mvpa.clfs.spam import SpAM dataset = datasets["sin_modulated"] clf = SpAM() clf.train(dataset) y = clf.predict(dataset.samples) assert_array_equal(y.shape, dataset.targets.shape)
def test_basic(): """Disabled the test since we have no SpAM yet """ raise SkipTest, "skipped SPaM since no SPaM" from mvpa.clfs.spam import SpAM dataset = datasets['sin_modulated'] clf = SpAM() clf.train(dataset) y = clf.predict(dataset.samples) assert_array_equal(y.shape, dataset.targets.shape)
def test_basic(self): dataset = datasets['sin_modulated'] clf = SpAM() clf.train(dataset) y = clf.predict(dataset.samples) assert_array_equal(y.shape, dataset.targets.shape)