synaptic-simple-trainer
synaptic-simple-trainer copied to clipboard
Checking data
How to check the singular entered variable to display a similarity to all classes? For example, in the Synaptic:
myNetwork.activate([1,0,1,0]); // [0.5200553602396137, 0.4792707231811006]
As I imagine with you:
myNetwork.activate('synaptic neural net'); // {positive: 0.5200553602396137, negative: 0.4792707231811000}`
There is an option?
Sorry, I don't quite understand the question.
Do you maybe mean the getTopClassesByText (https://github.com/bobalazek/synaptic-simple-trainer/blob/master/lib/index.js#L542) method?
Thank you very much. So, exactly what I meant x.x
I'm sorry for the trouble, and I think that in the near future, you extend the documentation because I could not find it and it was on view x.x
No problem. Sorry, haven't found the time yet, to write the docs. Started learning and working with Tensorflow, as it's quite faster (but it only has a Python API -- so one more language to learn). Will maybe update the docs / examples in the near future yes :)
@bobalazek you are not working on this anymore?
Sadly no. Shortly after I was working on this, my dataset got too big for the library to handle, so I needed to switch to Tensorflow - https://github.com/bobalazek/tensorflow-simple-trainer (tho, not sure if it still fully works because of the recent API changes)