I am really enjoying learning convnet.js and have had some success with your regression models. Congrats to the developers.
However It is unclear how to provide labels for classification. I am using a very simple network (see below)
These are the layers and trainer and if you notice i have passed a 3 dimensional array (i am acually using 10 representing 0-9 digits)
But the trainer iterates as if the y value input is an integer and does a comparison i === y which can never be true in the backward method.
How do you pass 10 labeled binary outputs to the training function?
Also the output of the training function has a cost_loss and loss value which are the same but what does it mean? the loss value can range from a high of 2 or 4 to low of .03... so it is not a % accuracy number... what does it mean and how do i convert it to % accuracy?
Hi.
Please note the network assumes that each training example has a single class.
Therefore, trainer's Y argument sould contain a single integer, representing the class number (in your case - 0, 1 or 2)
I am really enjoying learning convnet.js and have had some success with your regression models. Congrats to the developers.
However It is unclear how to provide labels for classification. I am using a very simple network (see below)
These are the layers and trainer and if you notice i have passed a 3 dimensional array (i am acually using 10 representing 0-9 digits)
But the trainer iterates as if the y value input is an integer and does a comparison i === y which can never be true in the backward method.
How do you pass 10 labeled binary outputs to the training function?
Also the output of the training function has a cost_loss and loss value which are the same but what does it mean? the loss value can range from a high of 2 or 4 to low of .03... so it is not a % accuracy number... what does it mean and how do i convert it to % accuracy?
Thanks