requires_x#
- requires_x()[source]#
Behaviour flag: transformer requires X in fit and transform.
String name:
"requires_X"
Public behaviour flag
Values: boolean,
True
/False
Example:
True
Default:
True
This tag applies to transformations.
If the tag is
True
, the transformer requires the input data argumentX
to be passed in both thefit
andtransform
methods, as well as in other methods that require input data, if available.If the tag is
False
, the transformer does not require the input data argumentX
to be passed in any method.