-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue creating custom configuration for multi output regression #810
Comments
Wow I completely misinterpreted the error message. The issue is not regarding my config at all, but the input data. I'm passing through a dataframe instead of an array. This is what happens when you don't get enough sleep. |
@robertritz how does passing an array resolve this error? The error is raised in For 2-dimensional y, the function would require an additional argument Here's a partial trace:
|
Could you provide a bit more help with the custom configuration dictionary? I'm attempting to set up a simple custom configuration using the SelectFromModel example you gave. Here is my current config:
And here is my code to run TPOT:
I receive an error:
ValueError: Error: Input data is not in a valid format. Please confirm that the input data is scikit-learn compatible. For example, the features must be a 2-D array and target labels must be a 1-D array.
Is it necessary to specify the parameters to search for each algorithm? Before reading the documentation and your example I naively just passed through a list of algorithms like so:
There are sklearn algorithms that are inherently multioutput, but with MultiOutputRegressor I get many more options. Thanks!
The text was updated successfully, but these errors were encountered: