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/FalseExample:
TrueDefault:
True(transformations),False(other estimators)
If the tag is
True, the estimator has an emptyfitmethod, i.e., the method does not perform any calculations or learning. If the tag isFalse, the estimator has a non-emptyfitmethod.In both cases, calling
fitis necessary for calling further methods such aspredictortransform, 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
sktimeto short cut boilerplate code, e.g., in thefitmethods.