Instance Property

multiArrays

A cloned data column of machine learning multi-arrays.

Declaration

var multiArrays: MLDataColumn<MLDataValue.MultiArrayType>? { get }

Return Value

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

Discussion

This property is functionally equivalent to passing MLDataValue.MultiArrayType.self to column(type:). Typically you ensure type is equal to MLDataValue.ValueType.multiArray 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 sequences: MLDataColumn<MLDataValue.SequenceType>?

A cloned data column of machine learning sequences.

var dictionaries: MLDataColumn<MLDataValue.DictionaryType>?

A cloned data column of machine learning dictionaries.

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

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