Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromCSV ¶
FromCSV loads a Dataset from a CSV file using the provided CSVConfig.
Supported modes:
Regression / pre-encoded targets: Set InputColumns and TargetColumns to the relevant column indices. Both must contain numeric values.
Classification with a label column (string or integer class names): Set InputColumns, HasLabelColumn = true, and LabelColumn to the column index. The labels are one-hot encoded into the output vector. Set NumClasses if known; leave it 0 to auto-detect from the data.
Modes can be combined: TargetColumns and LabelColumn can both be active at the same time — numeric targets are written first, then the one-hot vector is appended.
Types ¶
This section is empty.