Hello,
Per documentation in DataSet class, labels “… should be binarized label matrices such that the specified label has a value of 1 in the desired column with the label)”.
I am wondering if it is OK to use DataSet in such way that the parameter INDArray “second” can contain INDArray of row vectors whose values are floats in (0,1) interval. In other words, instead of having row vectors such as [1.0,0,0,0,0] they can be something like [0.97, 0.08, 0.01, 0.02, 0.05].
Specifically, I am interested in whether or not the fit function would be able to properly calculate and backpropagate errors if labels are not in the [1.0,0,0,0,0] especially if I am using sigmoid activation function in each layer including the output layer. I am not looking to classify output, but rather build a non-linear model that would map features to output.
Thank you in advance!
Alexey