bobalazek / synaptic-simple-trainer

A ready to go text classification trainer based on synaptic (https://github.com/cazala/synaptic)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Checking data

oritwoen opened this issue · 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?

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?