@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Featurization extends Object implements Serializable, Cloneable, StructuredPojo
Provides featurization (transformation) information for a dataset field. This object is part of the FeaturizationConfig object.
For example:
{
"AttributeName": "demand",
FeaturizationPipeline [ {
"FeaturizationMethodName": "filling",
"FeaturizationMethodParameters": {"aggregation": "avg", "backfill": "nan"}
} ]
}
| Constructor and Description |
|---|
Featurization() |
| Modifier and Type | Method and Description |
|---|---|
Featurization |
clone() |
boolean |
equals(Object obj) |
String |
getAttributeName()
The name of the schema attribute that specifies the data field to be featurized.
|
List<FeaturizationMethod> |
getFeaturizationPipeline()
An array of one
FeaturizationMethod object that specifies the feature transformation method. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAttributeName(String attributeName)
The name of the schema attribute that specifies the data field to be featurized.
|
void |
setFeaturizationPipeline(Collection<FeaturizationMethod> featurizationPipeline)
An array of one
FeaturizationMethod object that specifies the feature transformation method. |
String |
toString()
Returns a string representation of this object.
|
Featurization |
withAttributeName(String attributeName)
The name of the schema attribute that specifies the data field to be featurized.
|
Featurization |
withFeaturizationPipeline(Collection<FeaturizationMethod> featurizationPipeline)
An array of one
FeaturizationMethod object that specifies the feature transformation method. |
Featurization |
withFeaturizationPipeline(FeaturizationMethod... featurizationPipeline)
An array of one
FeaturizationMethod object that specifies the feature transformation method. |
public void setAttributeName(String attributeName)
The name of the schema attribute that specifies the data field to be featurized. Only the target
field of the TARGET_TIME_SERIES dataset type is supported. For example, for the RETAIL
domain, the target is demand, and for the CUSTOM domain, the target is
target_value.
attributeName - The name of the schema attribute that specifies the data field to be featurized. Only the
target field of the TARGET_TIME_SERIES dataset type is supported. For example,
for the RETAIL domain, the target is demand, and for the CUSTOM
domain, the target is target_value.public String getAttributeName()
The name of the schema attribute that specifies the data field to be featurized. Only the target
field of the TARGET_TIME_SERIES dataset type is supported. For example, for the RETAIL
domain, the target is demand, and for the CUSTOM domain, the target is
target_value.
target field of the TARGET_TIME_SERIES dataset type is supported. For example,
for the RETAIL domain, the target is demand, and for the CUSTOM
domain, the target is target_value.public Featurization withAttributeName(String attributeName)
The name of the schema attribute that specifies the data field to be featurized. Only the target
field of the TARGET_TIME_SERIES dataset type is supported. For example, for the RETAIL
domain, the target is demand, and for the CUSTOM domain, the target is
target_value.
attributeName - The name of the schema attribute that specifies the data field to be featurized. Only the
target field of the TARGET_TIME_SERIES dataset type is supported. For example,
for the RETAIL domain, the target is demand, and for the CUSTOM
domain, the target is target_value.public List<FeaturizationMethod> getFeaturizationPipeline()
An array of one FeaturizationMethod object that specifies the feature transformation method.
FeaturizationMethod object that specifies the feature transformation method.public void setFeaturizationPipeline(Collection<FeaturizationMethod> featurizationPipeline)
An array of one FeaturizationMethod object that specifies the feature transformation method.
featurizationPipeline - An array of one FeaturizationMethod object that specifies the feature transformation method.public Featurization withFeaturizationPipeline(FeaturizationMethod... featurizationPipeline)
An array of one FeaturizationMethod object that specifies the feature transformation method.
NOTE: This method appends the values to the existing list (if any). Use
setFeaturizationPipeline(java.util.Collection) or
withFeaturizationPipeline(java.util.Collection) if you want to override the existing values.
featurizationPipeline - An array of one FeaturizationMethod object that specifies the feature transformation method.public Featurization withFeaturizationPipeline(Collection<FeaturizationMethod> featurizationPipeline)
An array of one FeaturizationMethod object that specifies the feature transformation method.
featurizationPipeline - An array of one FeaturizationMethod object that specifies the feature transformation method.public String toString()
toString in class ObjectObject.toString()public Featurization clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.