public sealed class AutoMlTablesInputs.Types.Transformation.Types.TimestampTransformation : IMessage<AutoMlTablesInputs.Types.Transformation.Types.TimestampTransformation>, IEquatable<AutoMlTablesInputs.Types.Transformation.Types.TimestampTransformation>, IDeepCloneable<AutoMlTablesInputs.Types.Transformation.Types.TimestampTransformation>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class AutoMlTablesInputs.Types.Transformation.Types.TimestampTransformation.
Training pipeline will perform following transformation functions.
- Apply the transformation functions for Numerical columns.
- Determine the year, month, day,and weekday. Treat each value from the
- timestamp as a Categorical column.
- Invalid numerical values (for example, values that fall outside of a typical timestamp range, or are extreme values) receive no special treatment and are not removed.
Implements
IMessageAutoMlTablesInputsTypesTransformationTypesTimestampTransformation, IEquatableAutoMlTablesInputsTypesTransformationTypesTimestampTransformation, IDeepCloneableAutoMlTablesInputsTypesTransformationTypesTimestampTransformation, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1.Schema.TrainingJob.DefinitionAssembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
TimestampTransformation()
public TimestampTransformation()
TimestampTransformation(TimestampTransformation)
public TimestampTransformation(AutoMlTablesInputs.Types.Transformation.Types.TimestampTransformation other)
Parameter | |
---|---|
Name | Description |
other |
AutoMlTablesInputsTypesTransformationTypesTimestampTransformation |
Properties
ColumnName
public string ColumnName { get; set; }
Property Value | |
---|---|
Type | Description |
string |
InvalidValuesAllowed
public bool InvalidValuesAllowed { get; set; }
If invalid values is allowed, the training pipeline will create a boolean feature that indicated whether the value is valid. Otherwise, the training pipeline will discard the input row from trainining data.
Property Value | |
---|---|
Type | Description |
bool |
TimeFormat
public string TimeFormat { get; set; }
The format in which that time field is expressed. The time_format must either be one of:
unix-seconds
unix-milliseconds
unix-microseconds
unix-nanoseconds
(for respectively number of seconds, milliseconds, microseconds and nanoseconds since start of the Unix epoch); or be written instrftime
syntax. If time_format is not set, then the default format is RFC 3339date-time
format, wheretime-offset
="Z"
(e.g. 1985-04-12T23:20:50.52Z)
Property Value | |
---|---|
Type | Description |
string |