Closed EvenStrangest closed 7 years ago
correct_prediction
is only used for computing accuracy
. In this script, the accuracy
operator is only used for computing the accuracy of the model over the whole test. There are no unlabeled examples in this case. If it is used in other cases, then yes it should be computed only for labeled examples.
Shouldn't the definitions for prediction cost and correct prediction (see current definitions below) be changed to only include labelled examples?