Saves the parameters of this estimator. By default, it uses JSON and falls back to
pickle
. It subclasses use non-primitive types as parameters, they should overwrite
this method.
Typically, this method should not be called directly. It is called as part of save()
.
- Parameters:
path (Path
) -- The directory to which the parameters should be saved.
- Return type:
None