🔗 neuralist - A Python interface to access neural-redis

from neuralist import NeuralNetwork

nn = NeuralNetwork('additions',
                   type='regressor',
                   inputs=('number1', 'number2'),
                   outputs=('result',),
                   hidden_layers=(3, ),
                   dataset_size=50,
                   testset_size=10)

nn.observe_train(input={'number1': 1, 'number2': 1},
                 output={'result': 2})

nn.train()

while nn.is_training():
    print 'Training...'
    time.sleep(1)

print nn.run({'number': 1, 'number': 2})

🌎 https://github.com/amix/neuralist