synaptic-simple-trainer icon indicating copy to clipboard operation
synaptic-simple-trainer copied to clipboard

Checking data

Open oritwoen opened this issue 9 years ago • 5 comments

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?

oritwoen avatar Sep 26 '16 15:09 oritwoen

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?

bobalazek avatar Sep 26 '16 15:09 bobalazek

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

oritwoen avatar Sep 26 '16 15:09 oritwoen

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 avatar Sep 26 '16 18:09 bobalazek

@bobalazek you are not working on this anymore?

deathg0d avatar Aug 13 '17 05:08 deathg0d

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)

bobalazek avatar Aug 13 '17 07:08 bobalazek