Skip to content

Plot roc and precision recall curves #43#44

Open
apoman38 wants to merge 2 commits intomasterfrom
Plot-roc-and-precision-recall-curves-#43
Open

Plot roc and precision recall curves #43#44
apoman38 wants to merge 2 commits intomasterfrom
Plot-roc-and-precision-recall-curves-#43

Conversation

@apoman38
Copy link
Collaborator

@apoman38 apoman38 commented Mar 17, 2021

What this PR does:
3 new functions were added in the train.py file.

  1. rep_roc_pr_curves(). Prepare data for plotting roc and precision-recall curves. Specifically, in the function, folders are created where the plots will be stored, and one hot encoding is performed on the labeled data.
  2. plot_roc_curve(). Plot roc curves.
  3. plot_pre_rec_curve(). Plot precision-recall curves.

How to QA:
Run the train.py file (python3 train.py -v dataset/Aerial dataset/Tilt SVM) and make sure that created two new folders where the plots are saved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant