Skip to content

Instantly share code, notes, and snippets.

@xordux
Created December 16, 2019 15:04
Show Gist options
  • Save xordux/5151b6ffca1f461375d67ac6239b5613 to your computer and use it in GitHub Desktop.
Save xordux/5151b6ffca1f461375d67ac6239b5613 to your computer and use it in GitHub Desktop.
from sklearn.base import TransformerMixin
class DataTransformer(TransformerMixin):
def fit(self, X, y=None):
return self
def transform(self, X, y=None):
return X
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment