Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions NYCTaxiMultiOutputRegression/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ string TestDataPath = "NYCTaxi/test.csv";
MLContext mlContext = new MLContext(seed: 0);

// STEP 1: Common data loading configuration
TextLoader textLoader = mlContext.Data.CreateTextReader(new[]
TextLoader textLoader = mlContext.Data.CreateTextLoader(new[]
{
new TextLoader.Column("VendorId", DataKind.Text, 0),
new TextLoader.Column("RateCode", DataKind.Text, 1),
Expand All @@ -83,8 +83,8 @@ TextLoader textLoader = mlContext.Data.CreateTextReader(new[]
separatorChar: ','
);

IDataView baseTrainingDataView = textLoader.Read(TrainDataPath);
IDataView testDataView = textLoader.Read(TestDataPath);
IDataView baseTrainingDataView = textLoader.Load(TrainDataPath);
IDataView testDataView = textLoader.Load(TestDataPath);
```

### 2. Building the Pipeline
Expand Down Expand Up @@ -159,4 +159,4 @@ Currently, evaluation (i.e. computing metrics such as Root Mean Square Error (RM
// However, for multi-output regression its vector
// var predicted = trainedModel.Transform(testDataView);
// var metrics = mlContext.Regression.Evaluate(predicted, "Y", "RegScores");
```
```