70 references to AddColumn
Microsoft.ML.Data (70)
Evaluators\AnomalyDetectionEvaluator.cs (13)
183
overallDvBldr.
AddColumn
(MetricKinds.ColumnNames.StratVal, TextDataViewType.Instance, stratVal.ToArray());
185
overallDvBldr.
AddColumn
(BinaryClassifierEvaluator.Auc, NumberDataViewType.Double, auc.ToArray());
186
overallDvBldr.
AddColumn
(OverallMetrics.DrAtK, NumberDataViewType.Double, drAtK.ToArray());
187
overallDvBldr.
AddColumn
(OverallMetrics.DrAtPFpr, NumberDataViewType.Double, drAtP.ToArray());
188
overallDvBldr.
AddColumn
(OverallMetrics.DrAtNumPos, NumberDataViewType.Double, drAtNumAnomalies.ToArray());
189
overallDvBldr.
AddColumn
(OverallMetrics.ThreshAtK, NumberDataViewType.Single, thresholdAtK.ToArray());
190
overallDvBldr.
AddColumn
(OverallMetrics.ThreshAtP, NumberDataViewType.Single, thresholdAtP.ToArray());
191
overallDvBldr.
AddColumn
(OverallMetrics.ThreshAtNumPos, NumberDataViewType.Single, thresholdAtNumAnomalies.ToArray());
192
overallDvBldr.
AddColumn
(OverallMetrics.NumAnomalies, NumberDataViewType.Int64, numAnoms.ToArray());
198
topKdvBldr.
AddColumn
(MetricKinds.ColumnNames.StratVal, TextDataViewType.Instance, topKStratVal.ToArray());
200
topKdvBldr.
AddColumn
(TopKResultsColumns.Instance, TextDataViewType.Instance, names.ToArray());
201
topKdvBldr.
AddColumn
(TopKResultsColumns.AnomalyScore, NumberDataViewType.Single, scores.ToArray());
202
topKdvBldr.
AddColumn
(TopKResultsColumns.Label, NumberDataViewType.Single, labels.ToArray());
Evaluators\BinaryClassifierEvaluator.cs (22)
338
overallDvBldr.
AddColumn
(MetricKinds.ColumnNames.StratVal, TextDataViewType.Instance, stratVal.ToArray());
341
overallDvBldr.
AddColumn
(MetricKinds.ColumnNames.IsWeighted, BooleanDataViewType.Instance, isWeighted.ToArray());
342
overallDvBldr.
AddColumn
(Auc, NumberDataViewType.Double, auc.ToArray());
343
overallDvBldr.
AddColumn
(Accuracy, NumberDataViewType.Double, accuracy.ToArray());
344
overallDvBldr.
AddColumn
(PosPrecName, NumberDataViewType.Double, posPrec.ToArray());
345
overallDvBldr.
AddColumn
(PosRecallName, NumberDataViewType.Double, posRecall.ToArray());
346
overallDvBldr.
AddColumn
(NegPrecName, NumberDataViewType.Double, negPrec.ToArray());
347
overallDvBldr.
AddColumn
(NegRecallName, NumberDataViewType.Double, negRecall.ToArray());
348
overallDvBldr.
AddColumn
(LogLoss, NumberDataViewType.Double, logLoss.ToArray());
349
overallDvBldr.
AddColumn
(LogLossReduction, NumberDataViewType.Double, logLossRed.ToArray());
350
overallDvBldr.
AddColumn
(Entropy, NumberDataViewType.Double, entropy.ToArray());
351
overallDvBldr.
AddColumn
(F1, NumberDataViewType.Double, f1.ToArray());
353
overallDvBldr.
AddColumn
(AuPrc, NumberDataViewType.Double, auprc.ToArray());
359
confDvBldr.
AddColumn
(MetricKinds.ColumnNames.StratVal, TextDataViewType.Instance, confStratVal.ToArray());
379
dvBldr.
AddColumn
(MetricKinds.ColumnNames.StratVal, TextDataViewType.Instance, prStratVal.ToArray());
381
dvBldr.
AddColumn
(Threshold, NumberDataViewType.Single, scores.ToArray());
382
dvBldr.
AddColumn
(Precision, NumberDataViewType.Double, precision.ToArray());
383
dvBldr.
AddColumn
(Recall, NumberDataViewType.Double, recall.ToArray());
384
dvBldr.
AddColumn
(FalsePositiveRate, NumberDataViewType.Double, fpr.ToArray());
387
dvBldr.
AddColumn
("Weighted " + Precision, NumberDataViewType.Double, weightedPrecision.ToArray());
388
dvBldr.
AddColumn
("Weighted " + Recall, NumberDataViewType.Double, weightedRecall.ToArray());
389
dvBldr.
AddColumn
("Weighted " + FalsePositiveRate, NumberDataViewType.Double, weightedFpr.ToArray());
Evaluators\ClusteringEvaluator.cs (5)
205
overallDvBldr.
AddColumn
(MetricKinds.ColumnNames.StratVal, TextDataViewType.Instance, stratVal.ToArray());
208
overallDvBldr.
AddColumn
(MetricKinds.ColumnNames.IsWeighted, BooleanDataViewType.Instance, isWeighted.ToArray());
209
overallDvBldr.
AddColumn
(Nmi, NumberDataViewType.Double, nmi.ToArray());
210
overallDvBldr.
AddColumn
(AvgMinScore, NumberDataViewType.Double, avgMinScores.ToArray());
212
overallDvBldr.
AddColumn
(Dbi, NumberDataViewType.Double, dbi.ToArray());
Evaluators\EvaluatorBase.cs (1)
310
dvBldr.
AddColumn
(MetricKinds.ColumnNames.WarningText, TextDataViewType.Instance,
Evaluators\EvaluatorUtils.cs (8)
1259
dvBldr.
AddColumn
(MetricKinds.ColumnNames.StratVal, TextDataViewType.Instance, stratVals);
1260
weightedDvBldr?.
AddColumn
(MetricKinds.ColumnNames.StratVal, TextDataViewType.Instance, stratVals);
1265
dvBldr.
AddColumn
(MetricKinds.ColumnNames.IsWeighted, BooleanDataViewType.Instance, foldCol >= 0 ? new[] { false, false } : new[] { false });
1266
weightedDvBldr.
AddColumn
(MetricKinds.ColumnNames.IsWeighted, BooleanDataViewType.Instance, foldCol >= 0 ? new[] { true, true } : new[] { true });
1271
dvBldr.
AddColumn
(MetricKinds.ColumnNames.FoldIndex, TextDataViewType.Instance, foldVals);
1272
weightedDvBldr?.
AddColumn
(MetricKinds.ColumnNames.FoldIndex, TextDataViewType.Instance, foldVals);
1329
dvBldr.
AddColumn
(agg[iMetric].Name, NumberDataViewType.Double, avg, Math.Sqrt(agg[iMetric].SumSq / numFolds - avg * avg));
1331
dvBldr.
AddColumn
(agg[iMetric].Name, NumberDataViewType.Double, avg);
Evaluators\MulticlassClassificationEvaluator.cs (8)
212
overallDvBldr.
AddColumn
(MetricKinds.ColumnNames.StratVal, TextDataViewType.Instance, stratVal.ToArray());
215
overallDvBldr.
AddColumn
(MetricKinds.ColumnNames.IsWeighted, BooleanDataViewType.Instance, isWeighted.ToArray());
216
overallDvBldr.
AddColumn
(AccuracyMicro, NumberDataViewType.Double, microAcc.ToArray());
217
overallDvBldr.
AddColumn
(AccuracyMacro, NumberDataViewType.Double, macroAcc.ToArray());
218
overallDvBldr.
AddColumn
(LogLoss, NumberDataViewType.Double, logLoss.ToArray());
219
overallDvBldr.
AddColumn
(LogLossReduction, NumberDataViewType.Double, logLossRed.ToArray());
222
overallDvBldr.
AddColumn
(TopKAccuracy, NumberDataViewType.Double, topKAcc.ToArray());
236
confDvBldr.
AddColumn
(MetricKinds.ColumnNames.StratVal, TextDataViewType.Instance, confStratVal.ToArray());
Evaluators\MultiOutputRegressionEvaluator.cs (5)
149
overallDvBldr.
AddColumn
(MetricKinds.ColumnNames.StratVal, TextDataViewType.Instance, stratVal.ToArray());
152
overallDvBldr.
AddColumn
(MetricKinds.ColumnNames.IsWeighted, BooleanDataViewType.Instance, isWeighted.ToArray());
157
overallDvBldr.
AddColumn
(L1, NumberDataViewType.Double, l1.ToArray());
158
overallDvBldr.
AddColumn
(L2, NumberDataViewType.Double, l2.ToArray());
159
overallDvBldr.
AddColumn
(Dist, NumberDataViewType.Double, dist.ToArray());
Evaluators\RankingEvaluator.cs (4)
217
overallDvBldr.
AddColumn
(MetricKinds.ColumnNames.StratVal, TextDataViewType.Instance, stratVal.ToArray());
220
overallDvBldr.
AddColumn
(MetricKinds.ColumnNames.IsWeighted, BooleanDataViewType.Instance, isWeighted.ToArray());
228
groupDvBldr.
AddColumn
(MetricKinds.ColumnNames.StratVal, TextDataViewType.Instance, groupStratVal.ToArray());
232
groupDvBldr.
AddColumn
(GroupId, TextDataViewType.Instance, groupName.ToArray());
Evaluators\RegressionEvaluator.cs (1)
163
dvBldr.
AddColumn
(metricName, NumberDataViewType.Double, metric);
Evaluators\RegressionEvaluatorBase.cs (2)
98
overallDvBldr.
AddColumn
(MetricKinds.ColumnNames.StratVal, TextDataViewType.Instance, stratVal.ToArray());
101
overallDvBldr.
AddColumn
(MetricKinds.ColumnNames.IsWeighted, BooleanDataViewType.Instance, isWeighted.ToArray());
Transforms\ValueMapping.cs (1)
231
builder.
AddColumn
(columnName, primitiveType, values);