Is there a reason why the object
in learner logs isn't inside the learner key?
#108
Labels
bug
Something isn't working
Code sample
Taking a look at the return logs of the learners, e.g. the logistic regression one:
Problem description
Is there a reason why the
object
key isn't inside the dictionary oflogistic_classification_learner
? This leads to a problem where, if I have multiple learners in my pipeline, the finalobject
depends only on the order of the learners inside the pipeline, and I lose the objects of the first learners.E.g.: My pipeline is (logistic_regression, isotonic_calibration). Since the
build_pipeline
function will merge the logs of the two objects, the finalobject
will have only the isotonic calibration, and I lose the logistic_regression object.Expected behavior
Access all learner objects of the pipeline, not just the last one.
Possible solutions
Put the learner
object
inside the dictionary of the logs:The text was updated successfully, but these errors were encountered: