Open Itrikha opened 7 years ago
Dear Ishan,
There are two errors in the code, one on line 73 and the other one on line 77.
To fix those errors you need to replace the line 73 by:
min.loss.idx = which.min(bst.cv$evaluation_log[, test_mlogloss_mean])
and line 77 by:
print(bst.cv$evaluation_log[min.loss.idx,])
Best, Pedro Franz
Hello,
I am trying to learn XGBOOST and came across your github account.
While going through the code and running it on my computer, I got an error at line 73(min.loss.idx = which.min(bst.cv$dt[, test.mlogloss.mean]) ) Error in which.min(bst.cv$dt[, test.mlogloss.mean]) : object 'test.mlogloss.mean' not found.
I tried to google the solution what couldn't find anything. May I am doing something stupid but need help on this issue.
Please let me know if I am doing something wrong or is this code bug?
Thanks in advance!
Best, Ishan