Esempio n. 1
0
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)
Esempio n. 2
0
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)
Esempio n. 3
0
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)