Skip to content

Conversation

Louquinze
Copy link
Collaborator

implement a new attribute allow_string_features which en-/disables the new text preprocessing. On default it is enabled.

Bascilly the AutoSklearnEstimator gets a new variable allow_string_features which is True on default. This new varialbe gets passed to the FeatureValidator (feature_validator.py). Here i use if/else statements which check if text features are allowed before assigning the string class. If text_preprocssing is disabled string and object are treated as categorical as it was handled priviously.

…the new text preprocessing. On default it is enabled.
@Louquinze Louquinze requested a review from eddiebergman March 15, 2022 14:59
…the new text preprocessing. On default it is enabled.
…the new text preprocessing. On default it is enabled.
@codecov
Copy link

codecov bot commented Mar 15, 2022

Codecov Report

Merging #1420 (38a8098) into development (d6b90f1) will increase coverage by 0.07%.
The diff coverage is 100.00%.

@@               Coverage Diff               @@
##           development    #1420      +/-   ##
===============================================
+ Coverage        84.50%   84.57%   +0.07%     
===============================================
  Files              146      146              
  Lines            11285    11295      +10     
  Branches          1929     1931       +2     
===============================================
+ Hits              9536     9553      +17     
+ Misses            1233     1229       -4     
+ Partials           516      513       -3     

Impacted file tree graph

@eddiebergman
Copy link
Contributor

It all seems okay to me :)

Do you want to do the advertisement of the feature in index.rst in this PR or a different one?

@Louquinze
Copy link
Collaborator Author

It all seems okay to me :)

Do you want to do the advertisement of the feature in index.rst in this PR or a different one?

i will do this in the next PR. If every thing is okay merge it.

@eddiebergman eddiebergman merged commit 44b7836 into automl:development Mar 16, 2022
Louquinze added a commit to Louquinze/auto-sklearn that referenced this pull request Mar 16, 2022
Louquinze added a commit to Louquinze/auto-sklearn that referenced this pull request Mar 16, 2022
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