2 implementations of IProgressChannel
Microsoft.ML.Core (2)
Data\ProgressReporter.cs (2)
24public sealed class ProgressChannel : IProgressChannel 208private sealed class SubChannel : IProgressChannel
79 references to IProgressChannel
Microsoft.ML.Core (8)
Data\IProgressChannel.cs (3)
11/// This is a factory interface for <see cref="IProgressChannel"/>. 12/// Both <see cref="IHostEnvironment"/> and <see cref="IProgressChannel"/> implement this interface, 22IProgressChannel StartProgressChannel(string name);
Data\ProgressReporter.cs (3)
140public IProgressChannel StartProgressChannel(string name) 145private IProgressChannel StartProgressChannel(int level) 250public IProgressChannel StartProgressChannel(string name)
Environment\HostEnvironmentBase.cs (2)
438public IProgressChannel StartProgressChannel(string name) 444protected virtual IProgressChannel StartProgressChannelCore(HostBase host, string name)
Microsoft.ML.Data (8)
Commands\TrainCommand.cs (1)
352using (var pch = env.StartProgressChannel("Saving model"))
DataLoadSave\Binary\BinarySaver.cs (2)
571ColumnCodec[] activeColumns, int rowsPerBlock, IChannel ch, IProgressChannel pch, ExceptionMarshaller exMarshaller) 687using (var pch = _silent ? null : _host.StartProgressChannel("BinarySaver"))
DataLoadSave\Text\TextSaver.cs (1)
441using (var pch = !_silent ? _host.StartProgressChannel("TextSaver: saving data") : null)
MLContext.cs (1)
170IProgressChannel IProgressChannelProvider.StartProgressChannel(string name) => _env.StartProgressChannel(name);
Transforms\Normalizer.cs (1)
559using (var pch = env.StartProgressChannel("Normalize"))
Transforms\ValueToKeyMappingTransformer.cs (2)
484using (var pch = env.StartProgressChannel("Building dictionary from term data")) 588using (var pch = env.StartProgressChannel("Building term dictionary"))
Microsoft.ML.FastTree (14)
FastTree.cs (9)
646using (var pch = Host.StartProgressChannel("FastTree training")) 788private protected virtual void PrintIterationMessage(IChannel ch, IProgressChannel pch) 1390using (var pch = Host.StartProgressChannel("FastTree disk-based bins initialization")) 1802using (var pch = Host.StartProgressChannel("FastTree data preparation")) 1906using (var pch = Host.StartProgressChannel("FastTree in-memory bins initialization")) 1936using (var pch = Host.StartProgressChannel("FastTree feature conversion")) 2037private IEnumerable<FeatureFlockBase> CreateFlocks(IChannel ch, IProgressChannel pch) 2066private IEnumerable<FeatureFlockBase> CreateFlocksCore(IChannel ch, IProgressChannel pch) 2178private IEnumerable<FeatureFlockBase> CreateFlocksCore(IChannel ch, IProgressChannel pch, int startFeatureIndex, int featureLim)
FastTreeRanking.cs (1)
302private protected override void PrintIterationMessage(IChannel ch, IProgressChannel pch)
FastTreeRegression.cs (1)
297private protected override void PrintIterationMessage(IChannel ch, IProgressChannel pch)
FastTreeTweedie.cs (1)
276private protected override void PrintIterationMessage(IChannel ch, IProgressChannel pch)
GamTrainer.cs (1)
301using (var pch = Host.StartProgressChannel("GAM training"))
SumupPerformanceCommand.cs (1)
153using (var pch = _host.StartProgressChannel("Create IntArrays"))
Microsoft.ML.KMeansClustering (5)
KMeansPlusPlusTrainer.cs (5)
348using (var pCh = host.StartProgressChannel("KMeansPlusPlusInitialize")) 821using (var pCh = host.StartProgressChannel(" KMeansBarBarInitialization.Initialize")) 996using (var pCh = host.StartProgressChannel("KMeansRandomInitialize")) 1232public void ReportProgress(IProgressChannel pch, int iteration, int maxIterations) 1365using (var pch = host.StartProgressChannel("KMeansTrain"))
Microsoft.ML.LightGbm (4)
LightGbmTrainerBase.cs (3)
440using (var pch = Host.StartProgressChannel("Loading data for LightGBM")) 449using (var pch = Host.StartProgressChannel("Training with LightGBM")) 695private void TrainCore(IChannel ch, IProgressChannel pch, Dataset dtrain, CategoricalMetaData catMetaData, Dataset dvalid = null)
WrappedLightGbmTraining.cs (1)
18public static Booster Train(IHost host, IChannel ch, IProgressChannel pch,
Microsoft.ML.Mkl.Components (2)
SymSgdClassificationTrainer.cs (2)
745using (var pch = Host.StartProgressChannel("Preprocessing")) 751using (var pch = Host.StartProgressChannel("Training"))
Microsoft.ML.PCA (1)
PcaTrainer.cs (1)
311using (var pch = host.StartProgressChannel("Project covariance matrix"))
Microsoft.ML.Recommender (1)
SafeTrainingAndModelBuffer.cs (1)
269using (var pch = _host.StartProgressChannel("Create matrix"))
Microsoft.ML.StandardTrainers (21)
FactorizationMachine\FactorizationMachineTrainer.cs (3)
408private FieldAwareFactorizationMachineModelParameters TrainCore(IChannel ch, IProgressChannel pch, RoleMappedData data, 561using (var pch = _host.StartProgressChannel("Training")) 606using (var pch = _host.StartProgressChannel("Training"))
Optimizer\Optimizer.cs (1)
604using (var pch = Env.StartProgressChannel(computationName))
Standard\LogisticRegression\LbfgsPredictorBase.cs (5)
600using (var pch = Host.StartProgressChannel("LBFGS data prep")) 763IProgressChannel pch = progress != null ? progress.StartProgressChannel("Gradient") : null; 802private protected virtual float DifferentiableFunctionMultithreaded(in VBuffer<float> xDense, ref VBuffer<float> gradient, IProgressChannel pch) 834private protected float DifferentiableFunctionComputeChunk(int ichk, in VBuffer<float> xDense, ref VBuffer<float> grad, IProgressChannel pch) 860private protected float DifferentiableFunctionStream(FloatLabelCursor.Factory cursorFactory, in VBuffer<float> xDense, ref VBuffer<float> grad, IProgressChannel pch)
Standard\MulticlassClassification\MulticlassNaiveBayesTrainer.cs (1)
150using (var pch = Host.StartProgressChannel("Multi Class Naive Bayes training"))
Standard\SdcaBinary.cs (9)
382using (var pch = Host.StartProgressChannel("SDCA preprocessing")) 432using (var pch = Host.StartProgressChannel("SDCA preprocessing with lookup")) 572using (var pch = Host.StartProgressChannel("SDCA invariants initialization")) 600using (var pch = Host.StartProgressChannel("SDCA training")) 803var pch = progress != null ? progress.StartProgressChannel("Dual update") : null; 946IProgressChannel pch, 2070Action<int, IProgressChannel> checkConvergence = (e, pch) => 2108var trainingTasks = new Action<Random, IProgressChannel>[_options.NumberOfIterations]; 2165using (var pch = Host.StartProgressChannel("SGD Training"))
Standard\SdcaMulticlass.cs (2)
192var pch = progress != null ? progress.StartProgressChannel("Dual update") : null; 341IProgressChannel pch,
Microsoft.ML.Tests (1)
TrainerEstimators\TreeEstimators.cs (1)
522using (var pch = (mlContext as IProgressChannelProvider).StartProgressChannel("Training LightGBM..."))
Microsoft.ML.TorchSharp (8)
AutoFormerV2\ObjectDetectionTrainer.cs (3)
162using (var pch = Host.StartProgressChannel("Training model")) 285public void Train(IHost host, IDataView input, IProgressChannel pch) 324IProgressChannel pch)
Roberta\QATrainer.cs (3)
151using (var pch = Host.StartProgressChannel("Training model")) 269public void Train(IHost host, IDataView input, IProgressChannel pch) 310IProgressChannel pch)
TorchSharpBaseTrainer.cs (2)
104using (var pch = Host.StartProgressChannel("Training model")) 195public void Validate(IProgressChannel pch, IChannel ch, int epoch)
Microsoft.ML.Transforms (5)
CountFeatureSelection.cs (1)
325using (var pch = env.StartProgressChannel("Aggregating counts"))
MutualInformationFeatureSelection.cs (1)
485using (var pch = _host.StartProgressChannel("Computing mutual information scores"))
PermutationFeatureImportance.cs (1)
174using (var pch = host.StartProgressChannel("Calculating Permutation Feature Importance"))
Text\NgramTransform.cs (1)
241using (var pch = env.StartProgressChannel("Building n-gram dictionary"))
Text\WordEmbeddingsExtractor.cs (1)
677using (var pch = Host.StartProgressChannel("Building Vocabulary from Model File for Word Embeddings Transform"))
Microsoft.ML.Vision (1)
DnnRetrainTransform.cs (1)
339using (var pch = Host.StartProgressChannel("TensorFlow training progress..."))