Created
October 1, 2022 20:54
-
-
Save pabloalcain/7401282614eaf6692a8ee9a5cd560197 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Model: | |
def __init__(self, number_of_selected=2): | |
self.classifier = Pipeline( | |
steps=[("select", SelectKBest(k=number_of_selected)), | |
("clf", LogisticRegression())]) | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment