Beispiel #1
0
def test_rim_iter_fit():
    X = np.random.standard_normal((10, 2))
    X, = theano_floatx(X)
    rim = Rim(2, 10, 0.1, max_iter=10)
    for i, info in enumerate(rim.iter_fit(X)):
        if i >= 10:
            break
Beispiel #2
0
def test_rim_fit():
    X = np.random.standard_normal((10, 2))
    rim = Rim(2, 10, 0.1, max_iter=10)
    rim.fit(X)
Beispiel #3
0
def test_rim_transform():
    X = np.random.standard_normal((10, 2))
    rim = Rim(2, 10, 0.1, max_iter=10)
    rim.transform(X)
Beispiel #4
0
def test_rim_fit():
    X = np.random.standard_normal((10, 2))
    X, = theano_floatx(X)
    rim = Rim(2, 10, 0.1, max_iter=10)
    rim.fit(X)