@Generated(value="software.amazon.awssdk:codegen") public final class Featurization extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Featurization.Builder,Featurization>
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"}
} ]
}
| Modifier and Type | Class and Description |
|---|---|
static interface |
Featurization.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
attributeName()
The name of the schema attribute that specifies the data field to be featurized.
|
static Featurization.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<FeaturizationMethod> |
featurizationPipeline()
An array of one
FeaturizationMethod object that specifies the feature transformation method. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasFeaturizationPipeline()
Returns true if the FeaturizationPipeline property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Featurization.Builder> |
serializableBuilderClass() |
Featurization.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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.
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 boolean hasFeaturizationPipeline()
public List<FeaturizationMethod> featurizationPipeline()
An array of one FeaturizationMethod object that specifies the feature transformation method.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasFeaturizationPipeline() to see if a value was sent in this field.
FeaturizationMethod object that specifies the feature transformation method.public Featurization.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Featurization.Builder,Featurization>public static Featurization.Builder builder()
public static Class<? extends Featurization.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.