Closed CarloLepelaars closed 2 years ago
@CarloLepelaars before diving into the code, could you also add a test that confirms the new behavior? If possible, it might also be good to confirm that this component works with the FeatureUnion component.
@koaning 👍 Sure, will do!
Any objections against adding a test that uses MultiOutputRegressor?
No objections at all! 🙂
Changed the test so it uses MultiOutputRegressor
and Ridge
. Locally all tests are passing now, but still not sure if random_xy_dataset_multitarget
is passed correctly. Not that familiar with pytest.fixture
to be honest.
If only there's a website that clearly explains them ;)
Aha, awesome! Will review that Calmcode section! 🙏
Awesome! This is a great project you guys have going! Looking forward to contribute more in the future.
EstimatorTransformer
will only reshape if either the output shape of a given estimator has length 1 or if the 2nd dimension of the output equals 1. For multi-output estimators the estimator output is returned as is. Solves issue #525