Skip to content

Commit

Permalink
fix : new warning and error messages added #347
Browse files Browse the repository at this point in the history
  • Loading branch information
sepandhaghighi committed Oct 10, 2021
1 parent 80457f1 commit 646857a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pycm/pycm_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,16 @@

COMPARE_CLASS_WEIGHT_ERROR = "The class_weight type must be dictionary and also must be specified for all of the classes."

COMPARE_CLASS_BENCHMARK_WEIGHT_ERROR = "The class_benchmark_weight type must be dictionary and also must be specified for all of the class benchmarks."

COMPARE_OVERALL_BENCHMARK_WEIGHT_ERROR = "The overall_benchmark_weight type must be dictionary and also must be specified for all of the overall benchmarks."

COMPARE_CLASS_WEIGHT_WARNING = "The class_weight format is wrong, the result is for unweighted mode."

COMPARE_CLASS_BENCHMARK_WEIGHT_WARNING = "The class_benchmark_weight format is wrong, the result is for unweighted mode."

COMPARE_OVERALL_BENCHMARK_WEIGHT_WARNING = "The overall_benchmark_weight format is wrong, the result is for unweighted mode."

COMBINE_TYPE_ERROR = "The input type is supposed to be pycm.ConfusionMatrix object but it's not!"

COMPARE_RESULT_WARNING = "Confusion matrices are too close and the best one can not be recognized."
Expand Down

0 comments on commit 646857a

Please sign in to comment.