Skip to content

KNN doesn't return conf #1

@YasminFathy

Description

@YasminFathy

Hi,

Thanks for sharing your code. I have noticed that Knn.m returns 7 values [ accuracy, aucValues, msError, OPTROCPT,precision, f1,recall]; however, in createIndv.m, you expected 8 returned values from KNN:
[indv.accuracy,indv.AUCval,indv.mse, ...
indv.OPTROCPT, indv.precision,indv.F1, indv.recall,indv.conf] = knn(X1, T );

The script won't start running until you remove indv.conf from createIndv.m

Thanks,
Yasmin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions