@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FeaturizationMethod extends Object implements Serializable, Cloneable, StructuredPojo
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"}
}
| Constructor and Description |
|---|
FeaturizationMethod() |
| Modifier and Type | Method and Description |
|---|---|
FeaturizationMethod |
addFeaturizationMethodParametersEntry(String key,
String value)
Add a single FeaturizationMethodParameters entry
|
FeaturizationMethod |
clearFeaturizationMethodParametersEntries()
Removes all the entries added into FeaturizationMethodParameters.
|
FeaturizationMethod |
clone() |
boolean |
equals(Object obj) |
String |
getFeaturizationMethodName()
The name of the method.
|
Map<String,String> |
getFeaturizationMethodParameters()
The method parameters (key-value pairs), which are a map of override parameters.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setFeaturizationMethodName(String featurizationMethodName)
The name of the method.
|
void |
setFeaturizationMethodParameters(Map<String,String> featurizationMethodParameters)
The method parameters (key-value pairs), which are a map of override parameters.
|
String |
toString()
Returns a string representation of this object.
|
FeaturizationMethod |
withFeaturizationMethodName(FeaturizationMethodName featurizationMethodName)
The name of the method.
|
FeaturizationMethod |
withFeaturizationMethodName(String featurizationMethodName)
The name of the method.
|
FeaturizationMethod |
withFeaturizationMethodParameters(Map<String,String> featurizationMethodParameters)
The method parameters (key-value pairs), which are a map of override parameters.
|
public void setFeaturizationMethodName(String featurizationMethodName)
The name of the method. The "filling" method is the only supported method.
featurizationMethodName - The name of the method. The "filling" method is the only supported method.FeaturizationMethodNamepublic String getFeaturizationMethodName()
The name of the method. The "filling" method is the only supported method.
FeaturizationMethodNamepublic FeaturizationMethod withFeaturizationMethodName(String featurizationMethodName)
The name of the method. The "filling" method is the only supported method.
featurizationMethodName - The name of the method. The "filling" method is the only supported method.FeaturizationMethodNamepublic FeaturizationMethod withFeaturizationMethodName(FeaturizationMethodName featurizationMethodName)
The name of the method. The "filling" method is the only supported method.
featurizationMethodName - The name of the method. The "filling" method is the only supported method.FeaturizationMethodNamepublic Map<String,String> getFeaturizationMethodParameters()
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.
The following list shows the parameters and their valid values for the "filling" featurization method for a Target Time Series dataset. Bold signifies the default value.
aggregation: sum, avg, first, min, max
frontfill: none
middlefill: zero, nan (not a number), value, median,
mean, min, max
backfill: zero, nan, value, median, mean,
min, max
The following list shows the parameters and their valid values for a Related Time Series featurization method (there are no defaults):
middlefill: zero, value, median, mean,
min, max
backfill: zero, value, median, mean,
min, max
futurefill: zero, value, median, mean,
min, max
The following list shows the parameters and their valid values for the "filling" featurization method for a Target Time Series dataset. Bold signifies the default value.
aggregation: sum, avg, first, min,
max
frontfill: none
middlefill: zero, nan (not a number), value,
median, mean, min, max
backfill: zero, nan, value, median,
mean, min, max
The following list shows the parameters and their valid values for a Related Time Series featurization method (there are no defaults):
middlefill: zero, value, median, mean,
min, max
backfill: zero, value, median, mean,
min, max
futurefill: zero, value, median, mean,
min, max
public void setFeaturizationMethodParameters(Map<String,String> featurizationMethodParameters)
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.
The following list shows the parameters and their valid values for the "filling" featurization method for a Target Time Series dataset. Bold signifies the default value.
aggregation: sum, avg, first, min, max
frontfill: none
middlefill: zero, nan (not a number), value, median,
mean, min, max
backfill: zero, nan, value, median, mean,
min, max
The following list shows the parameters and their valid values for a Related Time Series featurization method (there are no defaults):
middlefill: zero, value, median, mean,
min, max
backfill: zero, value, median, mean,
min, max
futurefill: zero, value, median, mean,
min, max
featurizationMethodParameters - 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.
The following list shows the parameters and their valid values for the "filling" featurization method for a Target Time Series dataset. Bold signifies the default value.
aggregation: sum, avg, first, min,
max
frontfill: none
middlefill: zero, nan (not a number), value,
median, mean, min, max
backfill: zero, nan, value, median,
mean, min, max
The following list shows the parameters and their valid values for a Related Time Series featurization method (there are no defaults):
middlefill: zero, value, median, mean,
min, max
backfill: zero, value, median, mean,
min, max
futurefill: zero, value, median, mean,
min, max
public FeaturizationMethod withFeaturizationMethodParameters(Map<String,String> featurizationMethodParameters)
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.
The following list shows the parameters and their valid values for the "filling" featurization method for a Target Time Series dataset. Bold signifies the default value.
aggregation: sum, avg, first, min, max
frontfill: none
middlefill: zero, nan (not a number), value, median,
mean, min, max
backfill: zero, nan, value, median, mean,
min, max
The following list shows the parameters and their valid values for a Related Time Series featurization method (there are no defaults):
middlefill: zero, value, median, mean,
min, max
backfill: zero, value, median, mean,
min, max
futurefill: zero, value, median, mean,
min, max
featurizationMethodParameters - 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.
The following list shows the parameters and their valid values for the "filling" featurization method for a Target Time Series dataset. Bold signifies the default value.
aggregation: sum, avg, first, min,
max
frontfill: none
middlefill: zero, nan (not a number), value,
median, mean, min, max
backfill: zero, nan, value, median,
mean, min, max
The following list shows the parameters and their valid values for a Related Time Series featurization method (there are no defaults):
middlefill: zero, value, median, mean,
min, max
backfill: zero, value, median, mean,
min, max
futurefill: zero, value, median, mean,
min, max
public FeaturizationMethod addFeaturizationMethodParametersEntry(String key, String value)
public FeaturizationMethod clearFeaturizationMethodParametersEntries()
public String toString()
toString in class ObjectObject.toString()public FeaturizationMethod clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.