Exemple #1
0
def test_rica_transform():
    X = np.random.standard_normal((10, 2))
    X, = theano_floatx(X)
    rica = Rica(2, 10, code_transfer='softabs',
                hidden_transfer='identity', loss='squared',
                c_ica=0.5, max_iter=10)
    rica.transform(X)