Can anyone tell me why I am getting "Undefined function 'oobPredict' for input arguments of type 'dataset'"
6 views (last 30 days)
Show older comments
here is my interactive session command that blows up:
>> [oobPredictions,oobScores] = oobPredict(test); Undefined function 'oobPredict' for input arguments of type 'dataset'.
thanks
0 Comments
Accepted Answer
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.
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!