Skip to content

Instantly share code, notes, and snippets.

@jergosh
Created December 28, 2019 16:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jergosh/fea316fc32d8e2a83fa5050133337683 to your computer and use it in GitHub Desktop.
Save jergosh/fea316fc32d8e2a83fa5050133337683 to your computer and use it in GitHub Desktop.
class SklearnWrapper(object):
def __init__(self, clf, params={}):
self.clf = clf(**params)
def __getattr__(self, name):
return self.clf.__getattribute__(name)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment