Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public class FeatureContributionCalculationTransform_RegressionExample
public static void FeatureContributionCalculationTransform_Regression()
{
// Downloading the dataset from github.com/dotnet/machinelearning.
// This will create a sentiment.tsv file in the filesystem.
// This will create a housing.txt file in the filesystem.
// You can open this file, if you want to see the data.
string dataFile = SamplesUtils.DatasetUtils.DownloadHousingRegressionDataset();

Expand Down Expand Up @@ -72,7 +72,7 @@ public static void FeatureContributionCalculationTransform_Regression()
var weights = new VBuffer<float>();
model.Model.GetFeatureWeights(ref weights);

// Let's now walk through the first ten reconds and see which feature drove the values the most
// Let's now walk through the first ten records and see which feature drove the values the most
// Get prediction scores and contributions
var scoringEnumerator = outputData.AsEnumerable<HousingRegressionScoreAndContribution>(mlContext, true).GetEnumerator();
int index = 0;
Expand Down