fit_is_empty#
- fit_is_empty()[source]#
Property: Whether the estimator has an empty fit method.
String name:
"fit_is_empty"
Public property tag
Values: boolean,
True
/False
Example:
True
Default:
True
(transformations),False
(other estimators)
If the tag is
True
, the estimator has an emptyfit
method, i.e., the method does not perform any calculations or learning. If the tag isFalse
, the estimator has a non-emptyfit
method.In both cases, calling
fit
is necessary for calling further methods such aspredict
ortransform
, for API consistency.The tag may be inspected by the user to distinguish between estimators that do not learn from data from those that do.
The tag is also used internally by
sktime
to short cut boilerplate code, e.g., in thefit
methods.