def test_nca(): X = T.matrix() X.tag.test_value = np.random.random((20, 10)).astype(theano.config.floatX) Y = T.matrix() Y.tag.test_value = np.random.random( (20, 1)).astype(theano.config.floatX) > 0.5 expr = ncac(X, Y)
def test_nca(): X = T.matrix() X.tag.test_value = np.random.random((20, 10)).astype(theano.config.floatX) Y = T.matrix() Y.tag.test_value = np.random.random((20, 1)).astype(theano.config.floatX) > 0.5 expr = ncac(X, Y)
def test_nca(): X = T.matrix() X.tag.test_value = np.random.random((20, 10)) Y = T.matrix() Y.tag.test_value = np.random.random((20, 1)) > 0.5 expr = ncac(X, Y)