2 implementations of SetHeader
Microsoft.ML.Core (2)
Data\ProgressReporter.cs (2)
66public void SetHeader(ProgressHeader header, Action<IProgressEntry> fillAction) 260public void SetHeader(ProgressHeader header, Action<IProgressEntry> fillAction)
45 references to SetHeader
Microsoft.ML.Core (3)
Data\IProgressChannel.cs (3)
31/// 2) Call <see cref="SetHeader"/> as many times as desired (including 0). 32/// Each call to <see cref="SetHeader"/> supersedes the previous one. 44/// It is acceptable to call <see cref="SetHeader"/> multiple times (or none), regardless of whether the calculation is running
Microsoft.ML.Data (5)
DataLoadSave\Binary\BinarySaver.cs (1)
597pch.SetHeader(new ProgressHeader(new[] { "rows" }), e => e.SetProgress(0, rows));
DataLoadSave\Text\TextSaver.cs (1)
446pch.SetHeader(new ProgressHeader(new[] { "rows" }), e => e.SetProgress(0, stateCount, rowCount));
Transforms\Normalizer.cs (1)
563pch.SetHeader(new ProgressHeader("examples"), e => e.SetProgress(0, numRows));
Transforms\ValueToKeyMappingTransformer.cs (2)
490pch.SetHeader(header, 605pch.SetHeader(header,
Microsoft.ML.FastTree (7)
FastTree.cs (5)
648pch.SetHeader(new ProgressHeader("trees"), e => e.SetProgress(0, Ensemble.NumTrees, numTotalTrees)); 1405pch.SetHeader(new ProgressHeader("features"), e => e.SetProgress(0, iFeature, features.Length)); 1816pch.SetHeader(new ProgressHeader("examples"), 1913pch.SetHeader(new ProgressHeader("features"), e => e.SetProgress(0, iFeature, NumFeatures)); 2069pch.SetHeader(new ProgressHeader("features"), e => e.SetProgress(0, iFeature, NumFeatures));
GamTrainer.cs (1)
307pch.SetHeader(new ProgressHeader("iterations"), e => e.SetProgress(0, iteration, iterations));
SumupPerformanceCommand.cs (1)
156pch.SetHeader(new ProgressHeader("arrays"), e => e.SetProgress(0, created, arrays.Length));
Microsoft.ML.KMeansClustering (3)
KMeansPlusPlusTrainer.cs (3)
351pCh.SetHeader(new ProgressHeader("centroids"), (e) => e.SetProgress(0, i, k)); 827pCh.SetHeader(new ProgressHeader("rounds"), (e) => e.SetProgress(0, logicalExternalRounds, numRounds + 2)); 1367pch.SetHeader(new ProgressHeader(
Microsoft.ML.LightGbm (1)
WrappedLightGbmTraining.cs (1)
58pch.SetHeader(header, e =>
Microsoft.ML.Mkl.Components (2)
SymSgdClassificationTrainer.cs (2)
755pch.SetHeader(new ProgressHeader(new[] { "iterations" }), 765pch.SetHeader(new ProgressHeader(new[] { "iterations" }),
Microsoft.ML.PCA (1)
PcaTrainer.cs (1)
314pch.SetHeader(new ProgressHeader(new[] { "rows" }), e => e.SetProgress(0, count));
Microsoft.ML.Recommender (1)
SafeTrainingAndModelBuffer.cs (1)
271pch.SetHeader(new ProgressHeader(new[] { "processed rows", "created nodes" }),
Microsoft.ML.StandardTrainers (14)
FactorizationMachine\FactorizationMachineTrainer.cs (1)
472pch.SetHeader(new ProgressHeader(metricNames.ToArray(), new string[] { "iterations", "examples" }), entry =>
Optimizer\Optimizer.cs (1)
615pch.SetHeader(header,
Standard\LogisticRegression\LbfgsPredictorBase.cs (3)
607pch.SetHeader(new ProgressHeader(null, new[] { "examples" }), 848pch.SetHeader(new ProgressHeader(null, new[] { "examples" }), e => e.SetProgress(0, iv - ivMin, ivLim - ivMin)); 871pch.SetHeader(new ProgressHeader(null, new[] { "examples" }), e => e.SetProgress(0, count));
Standard\MulticlassClassification\MulticlassNaiveBayesTrainer.cs (1)
155pch.SetHeader(new ProgressHeader(new[] { "Examples Processed" }, new[] { "count" }), e =>
Standard\SdcaBinary.cs (7)
384pch.SetHeader(new ProgressHeader("examples"), e => e.SetProgress(0, count)); 434pch.SetHeader(new ProgressHeader("examples"), e => e.SetProgress(0, count)); 575pch.SetHeader(new ProgressHeader("examples"), e => e.SetProgress(0, row, count)); 603pch.SetHeader(new ProgressHeader(metricNames, new[] { "iterations" }), e => e.SetProgress(0, iter, maxIterations)); 809pch.SetHeader(new ProgressHeader("examples"), e => e.SetProgress(0, rowCount)); 2172pch.SetHeader(new ProgressHeader(new[] { "Loss", "Improvement" }, new[] { "iterations" }), 2184pch.SetHeader(new ProgressHeader(new[] { "Loss", "Improvement" }, new[] { "iterations" }),
Standard\SdcaMulticlass.cs (1)
198pch.SetHeader(new ProgressHeader("examples"), e => e.SetProgress(0, rowCount));
Microsoft.ML.TorchSharp (3)
AutoFormerV2\ObjectDetectionTrainer.cs (1)
167pch.SetHeader(header,
Roberta\QATrainer.cs (1)
156pch.SetHeader(header,
TorchSharpBaseTrainer.cs (1)
108pch.SetHeader(header, e => e.SetMetric(0, trainer.Accuracy));
Microsoft.ML.Transforms (4)
CountFeatureSelection.cs (1)
329pch.SetHeader(header, e => { e.SetProgress(0, rowCur, rowCount); });
MutualInformationFeatureSelection.cs (1)
497pch.SetHeader(header, e => e.SetProgress(0, i, size));
PermutationFeatureImportance.cs (1)
176pch.SetHeader(new ProgressHeader("processed slots"), e => e.SetProgress(0, processedCnt));
Text\NgramTransform.cs (1)
268pch.SetHeader(new ProgressHeader(new[] { "Total n-grams" }, new[] { "documents" }),
Microsoft.ML.Vision (1)
DnnRetrainTransform.cs (1)
343pch.SetHeader(new ProgressHeader(new[] { "Loss", "Metric" }, new[] { "Epoch" }), (e) => e.SetProgress(0, epoch, options.Epoch));