gatherAnnotatedFeatures(featureColumns:labelColumn:recordingFileColumn:)
Processes the data source and returns a data frame that contains features, labels and file names.
Declaration
func gatherAnnotatedFeatures(featureColumns: [String], labelColumn: String = "label", recordingFileColumn: String? = nil) throws -> DataFrameParameters
- featureColumns:
The names of the feature columns.
- labelColumn:
The name of the column with the labels.
- recordingFileColumn:
The name of the column with the recording file names, if any.