powered by
misclassificationrate(y, yp)
logloss
y <- c(3,1,1,3,3) yh <- c(1,1,1,1,1) misclassificationrate(y, yh)
Run the code above in your browser using DataLab