Error using NBoot in perfcurve
19 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello, I am trying to create an error bar in perfcurve using "NBoot'. But it kept poping up this error.
Warning: One of the classes is not present in at least one subsample. You may
get NaN confidence bounds.
Unable to perform assignment because the left and right sides have a different
number of elements.
Error in BIOE5020_hW2_p3 (line 99)
[X,Y,T,AUC(6),OPTROCPT] = perfcurve(Class,score(:,1),0,'NBoot',1000);
[A] = [Hematocrit,Viscosity,MPAVortivity,RPAVorticity,Helicity];
% Perform PCA on[A] = [U][S][V]' =[rotation][stretch][rotation]
[coeff, score ,latent] = pca(A)
figure
[X,Y,T,AUC(6),OPTROCPT] = perfcurve(Class,score(:,1),0,'NBoot',1000);
c = categorical(Header2);
bar(c,AUC)
title('Predictive Area Under Curve from ROC')
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Dimensionality Reduction and Feature Extraction en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!