Rename input data folder
This commit is contained in:
parent
fe4af45089
commit
327251d5e8
@ -11,7 +11,7 @@ public class RhSolutionsMLBuilder
|
|||||||
public static void RebuildModel()
|
public static void RebuildModel()
|
||||||
{
|
{
|
||||||
var _trainDataView = _mlContext.Data.LoadFromTextFile<Product>(
|
var _trainDataView = _mlContext.Data.LoadFromTextFile<Product>(
|
||||||
Path.Combine(_appPath, "..", "..", "..", "..", "Data", "*"), hasHeader: false);
|
Path.Combine(_appPath, "..", "..", "..", "..", "TrainData", "*"), hasHeader: false);
|
||||||
var pipeline = ProcessData();
|
var pipeline = ProcessData();
|
||||||
BuildAndTrainModel(_trainDataView, pipeline, out ITransformer trainedModel);
|
BuildAndTrainModel(_trainDataView, pipeline, out ITransformer trainedModel);
|
||||||
SaveModelAsFile(_mlContext, _trainDataView.Schema, trainedModel);
|
SaveModelAsFile(_mlContext, _trainDataView.Schema, trainedModel);
|
||||||
|
Can't render this file because it contains an unexpected character in line 8 and column 84.
|
Loading…
Reference in New Issue
Block a user