natural-synaptic icon indicating copy to clipboard operation
natural-synaptic copied to clipboard

Multiple output

Open maxpastor opened this issue 7 years ago • 2 comments

As an enhancement, it would be interesting to have multiple outputs. For example "What's the price of the Pink the shirt?" outputting ["Price", "Pink Tshirt"] It could allow people to create more logic and have a more organized code, instead of training the network with a simple "Pink tshirt price" output.

maxpastor avatar Apr 12 '17 07:04 maxpastor

We're using a softmax (IIRC) here to optimize for classifying one thing.

A network to do multi-label classification would be far more complex in terms of its architecture and a bit out of scope of this project. It was meant as a POC that this stuff can be done in JS.

Maybe down the road if I end up spending more time on this.

nemo avatar Apr 12 '17 19:04 nemo

I understand and it's great, no worries. I'll see if I can work a bit on it too, it would bee cool to test it out. Don't forget to take a look at my little pull request.

maxpastor avatar Apr 12 '17 20:04 maxpastor