Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

386 add evaluation CLI tools #387

Merged
merged 4 commits into from
May 13, 2024
Merged

386 add evaluation CLI tools #387

merged 4 commits into from
May 13, 2024

Conversation

nmaarnio
Copy link
Collaborator

@nmaarnio nmaarnio commented May 8, 2024

Added the following CLI functions:

  • summarize_probability_metrics_cli
  • summarize_label_metrics_binary_cli
  • plot_roc_curve_cli
  • plot_det_curve_cli
  • plot_precision_recall_curve_cli
  • plot_calibration_curve_cli
  • plot_confusion_matrix_cli
  • score_predictions_cli

Added utility function for reading, reshaping and masking a list of rasters for evaluating existing predictions/probabilities against true labels called read_data_for_evaluation.

Added NaN masking to prepare_data_for_ml function.

- Added CLI functions for the evaluation functions
- Updated evaluate trained model CLI function
- Disabled JSON dumping in some CLI functions due to reported errors
@nmaarnio nmaarnio linked an issue May 8, 2024 that may be closed by this pull request
@nmaarnio
Copy link
Collaborator Author

Tested together with PR GispoCoding/eis_qgis_plugin#156. Merging

@nmaarnio nmaarnio merged commit cca25dd into master May 13, 2024
5 checks passed
@nmaarnio nmaarnio deleted the 386-add-evaluation-cli-tools branch May 13, 2024 06:20
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.

Add evaluation CLI tools
1 participant