-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Fix Invalid Component 'NoPreprocessing' in 'data_preprocessor' Argument (Fixes #1745) #1750
base: master
Are you sure you want to change the base?
Fix Invalid Component 'NoPreprocessing' in 'data_preprocessor' Argument (Fixes #1745) #1750
Conversation
* Trial pytest changes * Updated tests * Fixing errors and repetition * Updating tests * Proposed updates * Removing TestMetrics class * Update test_metrics.py
Bumps [actions/stale](https://github.com/actions/stale) from 5 to 6. - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](actions/stale@v5...v6) --- updated-dependencies: - dependency-name: actions/stale dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.1.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v2...v3.1.0) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: eddiebergman <[email protected]>
* Show progress bar while fitting to training data * Minor fixes for progress bar * Revert accidental changes to requirements.txt * Document changes * Skip type checks for tqdm * Make progress bar more flexible with kwargs * Fix link checker make command in CONTRIBUTE.md * Update doc link to be sphinx compatible * Switch to pytets-forked from pytest-xdist Co-authored-by: Eddie Bergman <[email protected]>
Co-authored-by: eddiebergman <[email protected]>
* doc(smac): Update link for `get_smac_object_callback` * doc(links): Update more smac links
updates pre-commit
Aider:Summary of Actions and Updates
Next Steps
Note:For further assistance, users are encouraged to refer to the detailed documentation and examples provided in the project. Fixes for Issue #1745 have been implemented, ensuring better clarity and usage of the data preprocessing components. |
Pull Request Description
Title: Fix for Invalid 'NoPreprocessing' Component in AutoSklearn Classifier
Background
This pull request addresses the issue reported in Issue #1745, where users encountered an error when attempting to use the component
'NoPreprocessing'
with thedata_preprocessor
key in theinclude
argument of theAutoSklearnClassifier
. As detailed in the bug report, the relevant documentation inaccurately suggested that this component could be used directly without prior registration.Issue Description
The user attempted to execute the following code snippet:
However, this led to a
ValueError
stating:Analysis & Findings
Upon investigation, it was found that:
'NoPreprocessing'
component needs to be registered prior to its usage in theAutoSklearnClassifier
. This is done by invoking theadd_preprocessor(NoPreprocessing)
method to ensure it is registered within the configuration space.Proposed Changes
To resolve this issue, the following actions are proposed in this pull request:
Documentation Update: Revise the relevant documentation to clearly explain:
'NoPreprocessing'
component.Code Correction: Ensure the application correctly incorporates the registration step to prevent future occurrences of this issue.
Conclusion
This pull request aims to clarify the usage of the
'NoPreprocessing'
component and to improve the overall user experience when configuring Auto-sklearn.Fixes #1745
Please let me know if further changes are needed or if any additional information should be included!