mmschlk / iXAI

Fast and incremental explanations for online machine learning models. Works best with the river framework.
MIT License
49 stars 2 forks source link

Problem with string labels from river models #44

Closed mmschlk closed 1 year ago

mmschlk commented 1 year ago

If the target looks like this y_i = {'target_0': 0.12, 'target_1': 0.88} i.e. the target labels are strings then the RiverPredictionFunctionWrapper's _reduce_dict(.) function creates the wrong arrays as output.

mmschlk commented 1 year ago

outdated since 9734eeb

mmschlk commented 1 year ago

Classical string labels as model output are also not expected. Model output should be transformed into numbers.