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

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

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)

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!