diff --git a/sklearn_crfsuite/estimator.py b/sklearn_crfsuite/estimator.py index 298e20e..7ead56c 100644 --- a/sklearn_crfsuite/estimator.py +++ b/sklearn_crfsuite/estimator.py @@ -263,7 +263,9 @@ def __init__(self, self.averaging = averaging self.variance = variance self.gamma = gamma - + # 09/25/2023 HarryCaveMan add model_filename and keep_tempfiles attr to `self` to comply with sklearn clone api + self.model_filename = model_filename + self.keep_tempfiles = keep_tempfiles self.modelfile = FileResource( filename=model_filename, keep_tempfiles=keep_tempfiles,