Open Kirstenml opened 6 months ago
Oh no ... I haven't looked into the code for some time. That's the problem when implementing against a changing API. Is there a quick workaround for you?
I suspect these problems to come up more and more. However at the moment I am not capable of maintining this to fit with the current version of river.
Unfortunately, it currently only works by downgrading the River version to 0.14.
Hello, I have run the sample code and already when initializing the IncrementalPFI the passed loss function (as in the example Accuracy()) is checked with the method _validate_lossfunction. In the __get_loss_function_from_rivermetric method, the update method is called with a dict, but the method update in metrics.Accuracy of the current river version 0.21 no longer expects a dict but a value.
Here is the example code:
The error is: