Skip to content

Commit 1dc2423

Browse files
author
Rogan Carr
committed
Fixing typos
1 parent b157a22 commit 1dc2423

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/samples/Microsoft.ML.Samples/Dynamic/PermutationFeatureImportance.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public static void PFI_BinaryClassification()
144144
// rerun the script with a different seed set in the MLContext(), like so:
145145
// `var mlContext = new MLContext(seed: 12345);`
146146
Console.WriteLine("Feature\tModel Weight\tChange in AUC");
147-
var auc = permutationMetrics.Select(x => x.Auc).ToArray(); // Fetch r-squared as an array
147+
var auc = permutationMetrics.Select(x => x.Auc).ToArray(); // Fetch AUC as an array
148148
foreach (int i in sortedIndices)
149149
{
150150
Console.WriteLine($"{featureNames[i]}\t{weights[i]:0.00}\t{auc[i]:G4}");

0 commit comments

Comments
 (0)