Cloud AI Platform v1 API - Class AutoMlTablesInputs.Types.Transformation.Types.TimestampTransformation (2.27.0)

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 v1 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.

Inheritance

object > AutoMlTablesInputs.Types.Transformation.Types.TimestampTransformation

Namespace

Google.Cloud.AIPlatform.V1.Schema.TrainingJob.Definition

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

TimestampTransformation()

public TimestampTransformation()

TimestampTransformation(TimestampTransformation)

public TimestampTransformation(AutoMlTablesInputs.Types.Transformation.Types.TimestampTransformation other)
Parameter
NameDescription
otherAutoMlTablesInputsTypesTransformationTypesTimestampTransformation

Properties

ColumnName

public string ColumnName { get; set; }
Property Value
TypeDescription
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
TypeDescription
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 in strftime syntax. If time_format is not set, then the default format is RFC 3339 date-time format, where time-offset = "Z" (e.g. 1985-04-12T23:20:50.52Z)
Property Value
TypeDescription
string