@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)
Marshalls this structured data using the given
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. Amazon Forecast supports the
target field of the TARGET_TIME_SERIES
and the RELATED_TIME_SERIES
datasets. For
example, for the RETAIL
domain, the target is demand
, and for the CUSTOM
domain, the target is target_value
. For more information, see howitworks-missing-values.
attributeName
- The name of the schema attribute that specifies the data field to be featurized. Amazon Forecast supports
the target field of the TARGET_TIME_SERIES
and the RELATED_TIME_SERIES
datasets.
For example, for the RETAIL
domain, the target is demand
, and for the
CUSTOM
domain, the target is target_value
. For more information, see
howitworks-missing-values.public String getAttributeName()
The name of the schema attribute that specifies the data field to be featurized. Amazon Forecast supports the
target field of the TARGET_TIME_SERIES
and the RELATED_TIME_SERIES
datasets. For
example, for the RETAIL
domain, the target is demand
, and for the CUSTOM
domain, the target is target_value
. For more information, see howitworks-missing-values.
TARGET_TIME_SERIES
and the RELATED_TIME_SERIES
datasets. For example, for the RETAIL
domain, the target is demand
, and for the
CUSTOM
domain, the target is target_value
. For more information, see
howitworks-missing-values.public Featurization withAttributeName(String attributeName)
The name of the schema attribute that specifies the data field to be featurized. Amazon Forecast supports the
target field of the TARGET_TIME_SERIES
and the RELATED_TIME_SERIES
datasets. For
example, for the RETAIL
domain, the target is demand
, and for the CUSTOM
domain, the target is target_value
. For more information, see howitworks-missing-values.
attributeName
- The name of the schema attribute that specifies the data field to be featurized. Amazon Forecast supports
the target field of the TARGET_TIME_SERIES
and the RELATED_TIME_SERIES
datasets.
For example, for the RETAIL
domain, the target is demand
, and for the
CUSTOM
domain, the target is target_value
. For more information, see
howitworks-missing-values.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 Object
Object.toString()
public Featurization clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.