Commit cef6a9d2 by Pamela Osuna

pr curve averaged for each class

parent 8aefbea9
......@@ -43,7 +43,7 @@ for params in combinations:
# once we have chosen the optimal parameters we can do the normal kfold
#note: the test data remains unbalanced
acc, auc, cm = cnn.run_kfold(X_train_opt, X_test_kfold_opt, y_train_kfold_opt, y_test_kfold_opt, max_params)
acc, auc, cm, pr = cnn.run_kfold(X_train_kfold_opt, X_test_kfold_opt, y_train_kfold_opt, y_test_kfold_opt, max_params)
#to add: precision recall curve
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment