Class Google::Cloud::AIPlatform::V1::Schema::TrainingJob::Definition::AutoMlTablesInputs::Transformation::TimestampTransformation (v0.1.0)

Stay organized with collections Save and categorize content based on your preferences.

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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#column_name

def column_name() -> ::String
Returns
  • (::String)

#column_name=

def column_name=(value) -> ::String
Parameter
  • value (::String)
Returns
  • (::String)

#invalid_values_allowed

def invalid_values_allowed() -> ::Boolean
Returns
  • (::Boolean) — 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.

#invalid_values_allowed=

def invalid_values_allowed=(value) -> ::Boolean
Parameter
  • value (::Boolean) — 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.
Returns
  • (::Boolean) — 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.

#time_format

def time_format() -> ::String
Returns
  • (::String) —

    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)

#time_format=

def time_format=(value) -> ::String
Parameter
  • value (::String) —

    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)
Returns
  • (::String) —

    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)