Decision Tree CrossValidation Error of .07 How to determine if acceptable??
Mostrar comentarios más antiguos
taking this example of coding from documentation:
leafs=logspace(1,2,10);
N=numel(leafs);
err=zeros(N,1);
for n=1:N
t=fitctree(x,y,'CrossVal','On','MinLeaf',leafs(n));
err(n)=kfoldLoss(t);
end
plot(leafs,err)
the data I used in this resulted in a chart showing errors ranging from about .06 to .09.
Does anyone know how to interpret this error result?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Statistics and Machine Learning Toolbox en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!