@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 specifying the data field to be featurized.
|
List<FeaturizationMethod> |
getFeaturizationPipeline()
An array
FeaturizationMethod objects that specifies the feature transformation methods. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAttributeName(String attributeName)
The name of the schema attribute specifying the data field to be featurized.
|
void |
setFeaturizationPipeline(Collection<FeaturizationMethod> featurizationPipeline)
An array
FeaturizationMethod objects that specifies the feature transformation methods. |
String |
toString()
Returns a string representation of this object.
|
Featurization |
withAttributeName(String attributeName)
The name of the schema attribute specifying the data field to be featurized.
|
Featurization |
withFeaturizationPipeline(Collection<FeaturizationMethod> featurizationPipeline)
An array
FeaturizationMethod objects that specifies the feature transformation methods. |
Featurization |
withFeaturizationPipeline(FeaturizationMethod... featurizationPipeline)
An array
FeaturizationMethod objects that specifies the feature transformation methods. |
public void setAttributeName(String attributeName)
The name of the schema attribute specifying the data field to be featurized. In this release, 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 specifying the data field to be featurized. In this release, 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 specifying the data field to be featurized. In this release, 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 specifying the data field to be featurized. In this release, 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 specifying the data field to be featurized. In this release, 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 FeaturizationMethod objects that specifies the feature transformation methods. For this
release, the number of methods is limited to one.
FeaturizationMethod objects that specifies the feature transformation methods. For
this release, the number of methods is limited to one.public void setFeaturizationPipeline(Collection<FeaturizationMethod> featurizationPipeline)
An array FeaturizationMethod objects that specifies the feature transformation methods. For this
release, the number of methods is limited to one.
featurizationPipeline - An array FeaturizationMethod objects that specifies the feature transformation methods. For
this release, the number of methods is limited to one.public Featurization withFeaturizationPipeline(FeaturizationMethod... featurizationPipeline)
An array FeaturizationMethod objects that specifies the feature transformation methods. For this
release, the number of methods is limited to one.
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 FeaturizationMethod objects that specifies the feature transformation methods. For
this release, the number of methods is limited to one.public Featurization withFeaturizationPipeline(Collection<FeaturizationMethod> featurizationPipeline)
An array FeaturizationMethod objects that specifies the feature transformation methods. For this
release, the number of methods is limited to one.
featurizationPipeline - An array FeaturizationMethod objects that specifies the feature transformation methods. For
this release, the number of methods is limited to one.public String toString()
toString in class ObjectObject.toString()public Featurization clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.