-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #357 from ZJUEarthData/web
feat: add precision-recall curve.
- Loading branch information
Showing
4 changed files
with
119 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
geochemistrypi/data_mining/model/func/algo_classification/_enum.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
from enum import Enum | ||
|
||
|
||
class ClassificationCommonFunction(Enum): | ||
MODEL_SCORE = "Model Score" | ||
CONFUSION_MATRIX = "Confusion Matrix" | ||
CROSS_VALIDATION = "Cross Validation" | ||
MODEL_PREDICTION = "Model Prediction" | ||
MODEL_PERSISTENCE = "Model Persistence" | ||
PRECISION_RECALL_CURVE = "Precision-Recall Curve" | ||
PRECISION_RECALL_THRESHOLD_DIAGRAM = "Precision-Recall vs. Threshold Diagram" | ||
ROC_CURVE = "ROC Curve" | ||
TWO_DIMENSIONAL_DECISION_BOUNDARY_DIAGRAM = "Two-dimensional Decision Boundary Diagram" | ||
PERMUTATION_IMPORTANCE_DIAGRAM = "Permutation Importance Diagram" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters