FeaturizationMethod class
Provides information about the method that featurizes (transforms) a dataset
field. The method is part of the FeaturizationPipeline
of the
Featurization object.
The following is an example of how you specify a
FeaturizationMethod
object.
{
"FeaturizationMethodName": "filling",
"FeaturizationMethodParameters": {"aggregation": "sum", "middlefill":
"zero", "backfill": "zero"}
}
Constructors
-
FeaturizationMethod({required FeaturizationMethodName featurizationMethodName, Map<
String, String> ? featurizationMethodParameters}) -
FeaturizationMethod.fromJson(Map<
String, dynamic> json) -
factory
Properties
- featurizationMethodName → FeaturizationMethodName
-
The name of the method. The "filling" method is the only supported method.
final
-
featurizationMethodParameters
→ Map<
String, String> ? -
The method parameters (key-value pairs), which are a map of override
parameters. Specify these parameters to override the default values. Related
Time Series attributes do not accept aggregation parameters.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited