Skip to content

Conversation

lizhuoq
Copy link

@lizhuoq lizhuoq commented May 5, 2024

Why are these changes needed?

For original multi-output tasks where the eval_method is holdout, manual setting of the validation set was not possible. This commit introduces a new feature allowing manual setting of the validation set for multi-output tasks.

model = MultiOutputRegressor(
    AutoML(
        task="regression",
        time_budget=1,
        eval_method="holdout",
        multioutput_train_size=len(X_train)
    )
)
model.fit(
    pd.concat([X_train, X_val]),
    pd.concat([y_train, y_val])
)

Related issue number

Checks

@lizhuoq
Copy link
Author

lizhuoq commented May 5, 2024

@microsoft-github-policy-service agree

Copy link
Contributor

@Programmer-RD-AI Programmer-RD-AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants