Skip to content

Instantly share code, notes, and snippets.

@sazio
Created August 17, 2020 22:25
Show Gist options
  • Save sazio/68b702dc64f29c8164e2720a87328c50 to your computer and use it in GitHub Desktop.
Save sazio/68b702dc64f29c8164e2720a87328c50 to your computer and use it in GitHub Desktop.
# learn relationship from training data
fs.fit(X_train, y_train)
# transform train input data
X_train_fs = fs.transform(X_train)
# transform test input data
X_test_fs = fs.transform(X_test)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment