Skip to content

Commit

Permalink
[model] revert copy flag addition from fetch_model
Browse files Browse the repository at this point in the history
  • Loading branch information
marscher committed Sep 10, 2019
1 parent 705a901 commit c1c1b8c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sktime/base.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import abc
from inspect import signature

from sklearn.base import _pprint as pprint_sklearn


Expand Down Expand Up @@ -65,8 +66,8 @@ def __init__(self, model=None):
def fit(self, data):
pass

def fetch_model(self, copy=False) -> Model:
return self._model if not copy else self._model.copy()
def fetch_model(self) -> Model:
return self._model

@abc.abstractmethod
def _create_model(self):
Expand Down

0 comments on commit c1c1b8c

Please sign in to comment.