Any mapping of metrics with compatible classifiers? #547
-
Hi, during a recent experiment I noticed that all metrics are not compatible with all classifiers. is there any mapping for this? It will save quite some time. |
Beta Was this translation helpful? Give feedback.
Answered by
MaxHalford
Mar 30, 2021
Replies: 1 comment 1 reply
-
Do you have an example? There's no mapping per say but each metric has a from river.linear_model import LogisticRegression
from river.metrics import Accuracy
model = LogisticRegression()
metric = Accuracy()
print(metric.works_with(model)) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
prabhant
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do you have an example? There's no mapping per say but each metric has a
works_with
method.