12 references to TaxiTrip
Microsoft.ML.Tests (12)
FeatureContributionTests.cs (11)
418
IDataView trainingDataView = ML.Data.LoadFromTextFile<
TaxiTrip
>(trainDataPath, hasHeader: true, separatorChar: ',');
424
var dataProcessPipeline = ML.Transforms.CopyColumns(outputColumnName: DefaultColumnNames.Label, inputColumnName: nameof(
TaxiTrip
.FareAmount))
425
.Append(ML.Transforms.Categorical.OneHotEncoding(outputColumnName: vendorIdEncoded, inputColumnName: nameof(
TaxiTrip
.VendorId)))
426
.Append(ML.Transforms.Categorical.OneHotEncoding(outputColumnName: rateCodeEncoded, inputColumnName: nameof(
TaxiTrip
.RateCode)))
427
.Append(ML.Transforms.Categorical.OneHotEncoding(outputColumnName: paymentTypeEncoded, inputColumnName: nameof(
TaxiTrip
.PaymentType)))
428
.Append(ML.Transforms.NormalizeMeanVariance(outputColumnName: nameof(
TaxiTrip
.PassengerCount)))
429
.Append(ML.Transforms.NormalizeMeanVariance(outputColumnName: nameof(
TaxiTrip
.TripTime)))
430
.Append(ML.Transforms.NormalizeMeanVariance(outputColumnName: nameof(
TaxiTrip
.TripDistance)))
432
nameof(
TaxiTrip
.PassengerCount), nameof(
TaxiTrip
.TripTime), nameof(
TaxiTrip
.TripDistance)));
Scenarios\RegressionTest.cs (1)
20
context.Data.LoadFromTextFile<FeatureContributionTests.
TaxiTrip
>(taxiDataPath, hasHeader: true,