Skip to content

Instantly share code, notes, and snippets.

@Damian89
Created October 25, 2017 11:40
Show Gist options
  • Select an option

  • Save Damian89/0bf2df1d6c429fb2e074118288955f28 to your computer and use it in GitHub Desktop.

Select an option

Save Damian89/0bf2df1d6c429fb2e074118288955f28 to your computer and use it in GitHub Desktop.
preprocessor = pipeline.Pipeline(
[
('ss', preprocessing.StandardScaler()),
('pca', decomposition.PCA(n_components=15))
]
)
preprocessor.fit(X_training)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment