data(LF.data, LF.testdata, LBoost.fit)
#NOTE- this is the LBoost model prediction for the original data
predict(object=LBoost.fit)
#predicting classes for new test data
predict(object=LBoost.fit, newdata=LF.testdata[,1:50])
Run the code above in your browser using DataCamp Workspace