The value of a cell in a data table.
- macOS 10.14+
- Xcode 10.0+
- Create ML
MLData enumeration is the fundamental type that you use to store training data in a table. Classifiers use data values to store information like evaluation metrics. Data values wrap all of the possible data types you can use with Create ML.
To access the underlying information in a data value, you can use the properties that correspond to the type's enumeration cases. If you aren't sure which kind of value a data value wrapper contains, use a switch statement to unwrap the value, or check the value of the