Can anyone tell me why I am getting "Undefined function 'oobPredict' for input arguments of type 'dataset'"

6 views (last 30 days)
here is my interactive session command that blows up:
>> [oobPredictions,oobScores] = oobPredict(test); Undefined function 'oobPredict' for input arguments of type 'dataset'.
thanks

Accepted Answer

Geoff Hayes
Geoff Hayes on 3 Oct 2014
William - the error message is telling you that the input parameter test is of type dataset which is invalid as an input parameter to the oobPredict function. According to the links treebagger.oobpredict and classification bagged ensemble, the valid inputs are out-of-bag observations and classification bagged ensemble respectively.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!