Created
December 16, 2019 14:04
-
-
Save xordux/0f9bd72700e5abf1876a98ebc9c7d8f4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
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