Instance Property

sequences

A cloned data column of machine learning sequences.

Declaration

var sequences: MLDataColumn<MLDataValue.SequenceType>? { get }

Return Value

A new data column if the underlying type of the column is MLDataValue.SequenceType; otherwise nil.

Discussion

This property is functionally equivalent to passing MLDataValue.SequenceType.self to column(type:). Typically you ensure type is equal to MLDataValue.ValueType.sequence before getting this property.

See Also

Exposing the Underlying Type to Generate a Data Column

var type: MLDataValue.ValueType

The underlying type of the column.

var ints: MLDataColumn<Int>?

A cloned data column of integers.

var doubles: MLDataColumn<Double>?

A cloned data column of doubles.

var strings: MLDataColumn<String>?

A cloned data column of strings.

var dictionaries: MLDataColumn<MLDataValue.DictionaryType>?

A cloned data column of machine learning dictionaries.

var multiArrays: MLDataColumn<MLDataValue.MultiArrayType>?

A cloned data column of machine learning multi-arrays.

func column<T>(type: T.Type) -> MLDataColumn<T>?

Clones the column to a data column of the given type.