1 interface inheriting from IPredictor
Microsoft.ML.Core (1)
Prediction\IPredictor.cs (1)
51internal interface IPredictorProducing<out TResult> : IPredictor
24 references to IPredictor
Microsoft.ML.Core (9)
EntryPoints\PredictorModel.cs (2)
38internal abstract IPredictor Predictor { get; } 51internal abstract void PrepareData(IHostEnvironment env, IDataView input, out RoleMappedData roleMappedData, out IPredictor predictor);
Prediction\IPredictor.cs (1)
12/// <see cref="ITrainer"/> and <see cref="IPredictor"/> it is still useful, but for things based on
Prediction\ITrainer.cs (4)
62IPredictor Train(TrainContext context); 72where TPredictor : IPredictor 93public static IPredictor Train(this ITrainer trainer, RoleMappedData trainData) 104public static TPredictor Train<TPredictor>(this ITrainer<TPredictor> trainer, RoleMappedData trainData) where TPredictor : IPredictor
Prediction\TrainContext.cs (2)
44public IPredictor InitialPredictor { get; } 53public TrainContext(RoleMappedData trainingSet, RoleMappedData validationSet = null, RoleMappedData testSet = null, IPredictor initialPredictor = null)
Microsoft.ML.Data (6)
Commands\TrainCommand.cs (1)
280var predictor = trainer.Train(new TrainContext(data, validData, testData, inputPredictor));
Prediction\IPredictionTransformer.cs (3)
11/// An interface for all the transformer that can transform data based on the <see cref="IPredictor"/> field. 15/// <typeparam name="TModel">The <see cref="IPredictor"/> or <see cref="ICalibrator"/> used for the data transformation.</typeparam> 27/// <typeparam name="TModel">The <see cref="IPredictor"/> or <see cref="ICalibrator"/> used for the data transformation.</typeparam>
Scorers\SchemaBindablePredictorWrapper.cs (2)
32/// This is a base class for wrapping <see cref="IPredictor"/>s in an <see cref="ISchemaBindableMapper"/>. 277/// This class is a wrapper for all <see cref="IPredictor"/>s except for quantile regression predictors,
Microsoft.ML.FastTree (2)
TreeEnsembleFeaturizer.cs (2)
711var predictor = args.PredictorModel.Predictor; 714args.PredictorModel.PrepareData(env, input, out data, out var predictor2);
Microsoft.ML.Mkl.Components (1)
SymSgdClassificationTrainer.cs (1)
222var initPred = context.InitialPredictor;
Microsoft.ML.Predictor.Tests (1)
TestPredictors.cs (1)
671var fastTree = combiner.CombineModels(fastTrees.Select(pm => (IPredictorProducing<float>)pm.Predictor));
Microsoft.ML.StandardTrainers (3)
Standard\Online\OnlineLinear.cs (1)
277var initPredictor = context.InitialPredictor;
Standard\SdcaBinary.cs (1)
75var initPred = context.InitialPredictor;
Standard\StochasticTrainerBase.cs (1)
36var initPred = context.InitialPredictor;
Microsoft.ML.Tests (1)
Scenarios\Api\Estimators\TrainWithInitialPredictor.cs (1)
44var finalModel = ((ITrainer)secondTrainer).Train(new TrainContext(trainRoles, initialPredictor: firstModel.Model));
Microsoft.ML.Transforms (1)
LearnerFeatureSelection.cs (1)
294var predictor = TrainUtils.Train(host, ch, data, trainer, null,