Skip to content
Browse files

add default value to unused parameter

  • Loading branch information...
sdpython committed Feb 4, 2019
1 parent 9d09060 commit 810125f62714f72cb180524fbee4510aa358e774
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mlinsights/mlmodel/
@@ -47,7 +47,7 @@ def __init__(self, estimator, method=None, copy_estimator=True):
"Cannot find method '{}' in object {}".format(method, type(estimator)))
self.method = method

def fit(self, X, y=None, sample_weight=None):
def fit(self, X=None, y=None, sample_weight=None):
The function does nothing.

0 comments on commit 810125f

Please sign in to comment.
You can’t perform that action at this time.