Skip to content

Improve the way training data are passed to the ML engine #11

@taewhi

Description

@taewhi

To train model instance, input data are temporarily dumped to a csv file.
This should be improved so that the ML engine reads input data directly from the data source.

// FIXME securely pass training data for ML model training
ResultSet trainingData = getTrainingData(schemaName, tableName, columnNames);
String dataFilename = outputPath + "/data.csv";
FileWriter datafileWriter = new FileWriter(dataFilename);
CSVWriter csvWriter = new CSVWriter(datafileWriter, ',');
csvWriter.writeAll(trainingData, true);

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions