How do we create a lift chart for Naive Bayes classifier?

조회 수: 2 (최근 30일)
Isra Abuhasna
Isra Abuhasna 2018년 10월 5일
I can get the scores using these 2 functions: %Naive Bayes Classifier nb_model2 = fitcnb(SC5(cv2.training,:),NBSCM(cv2.training));
%Using Predict function
[nb_train_class2,score,Cost] = predict(nb_model2, SC5(cv2.training,:));
%Using resubPredict function
[~,score_nb] = resubPredict(nb_model2);
Which function should I choose for the scores and how do I sort it in descending order? Then how do I obtain the list of Actual class and then add them up? I have spent a whole day looking for answers.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Naive Bayes에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by