synaptic icon indicating copy to clipboard operation
synaptic copied to clipboard

multi label classifier

Open francescoagati opened this issue 7 years ago • 4 comments

hi, there is an example of multi label classifier in synaptic?

francescoagati avatar Apr 15 '17 13:04 francescoagati

No, it is not. And also you will need to implement your own cost function, Binary Crossentropy, which is not very compicated, but you need to keep it in mind that there is no bundled functions for this functionality.

Jabher avatar Apr 17 '17 11:04 Jabher

I don't know if this helps, but the DSR example is a classification problem that uses cross entropy as cost function: http://caza.la/synaptic/#/dsr

cazala avatar May 22 '17 13:05 cazala

@Jabher @cazala why is another cost function necessary? I went through synaptic code and the cost function in no way effects the backpropagation algorithm. In synaptic, the cost function is only used as a measurement for the trainer to see how well trainer a network is - but a network does not try to optimize the given cost function, have a look:

https://jsfiddle.net/wagenaartje/dguhLo6y/4/

Open console. (there is double code but just to proof that the cost function has no effect on the backpropagation).

wagenaartje avatar May 22 '17 15:05 wagenaartje

It is only used to compute the error during training

cazala avatar May 22 '17 15:05 cazala