kgp.fitness / CsvCaseLoader / loadCases

loadCases

fun loadCases(): Cases

Overrides CaseLoader.loadCases

Loads a set of cases from the CSV file specified in the options.

Each case will have CsvCaseLoaderOptions.numFeatures features and is expected to have a single output value.

Assumes that the CSV file has a header in the first row.

Return
A set of cases, where each case has the shape numFeatures+output.