Skip to content

Commit

Permalink
Corrected copy paste error where regularisation metric is never chose…
Browse files Browse the repository at this point in the history
…n by factory
  • Loading branch information
arminwitte committed Sep 24, 2023
1 parent 561c118 commit dc69f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion binarybeech/metrics.py
Expand Up @@ -398,7 +398,7 @@ def from_data(self, y, algorithm_kwargs):

metrics_factory = MetricsFactory()
metrics_factory.register("regression", RegressionMetrics)
metrics_factory.register("regression:regularized", RegressionMetrics)
metrics_factory.register("regression:regularized", RegressionMetricsRegularized)
metrics_factory.register("classification:gini", ClassificationMetrics)
metrics_factory.register("classification:entropy", ClassificationMetricsEntropy)
metrics_factory.register("logistic", LogisticMetrics)
Expand Down

0 comments on commit dc69f08

Please sign in to comment.