nn
nn copied to clipboard
SISO ?
Is this truly a SingleInput / SingleOutput module? If so, Not very useful. Even at that, it doesn't seem to work. inputs:{"input":[49.43],"output":[49.421]} test Input:[49.375] output: 0.9999974194600901
inputs:{"input":[49.43,49.421,49.422],"output":[49.43]} test Input:[49.375,49.405,49.407] output: 0.9999974200423885
I think the problem here might be that you didn't train it with enough data - the neural net won't converge immediately based on a single input/output pair (I don't think you'd want that anyway). This module allows you to pass in a single input/output pair at a time, but you can also pass it an array of input/output pairs (as shown in the readme). Whatever works best for your purposes. But it doesn't make much sense to train a neural net off a single input/output pair as your example seems to be doing.