3 types derived from CalibratorTransformer
Microsoft.ML.Data (3)
Prediction\CalibratorCatalog.cs (3)
401public sealed class PlattCalibratorTransformer : CalibratorTransformer<PlattCalibrator> 452public sealed class NaiveCalibratorTransformer : CalibratorTransformer<NaiveCalibrator> 502public sealed class IsotonicCalibratorTransformer : CalibratorTransformer<IsotonicCalibrator>
34 references to CalibratorTransformer
Microsoft.ML.Data (21)
Prediction\Calibrator.cs (1)
100/// from this interface and still work instead via <see cref="IEstimator{TTransformer}"/> of <see cref="CalibratorTransformer{TICalibrator}"/>,
Prediction\CalibratorCatalog.cs (20)
15[assembly: LoadableClass(typeof(CalibratorTransformer<PlattCalibrator>), typeof(PlattCalibratorTransformer), null, 18[assembly: LoadableClass(typeof(CalibratorTransformer<NaiveCalibrator>), typeof(NaiveCalibratorTransformer), null, 21[assembly: LoadableClass(typeof(CalibratorTransformer<IsotonicCalibrator>), typeof(IsotonicCalibratorTransformer), null, 44public abstract class CalibratorEstimatorBase<TICalibrator> : IEstimator<CalibratorTransformer<TICalibrator>>, IHaveCalibratorTrainer 85SchemaShape IEstimator<CalibratorTransformer<TICalibrator>>.GetOutputSchema(SchemaShape inputSchema) 134/// Fits the scored <see cref="IDataView"/> creating a <see cref="CalibratorTransformer{TICalibrator}"/> that can transform the data by adding a 138/// <returns>A trained <see cref="CalibratorTransformer{TICalibrator}"/> that will transform the data by adding the 140public CalibratorTransformer<TICalibrator> Fit(IDataView input) 154private protected abstract CalibratorTransformer<TICalibrator> Create(IHostEnvironment env, TICalibrator calibrator, string scoreColumnName); 159/// If you pass a scored data, to the <see cref="CalibratorTransformer{TICalibrator}"/> Transform method, it will add the Probability column 161/// The <see cref="CalibratorTransformer{TICalibrator}"/> is an instance of <see cref="ISingleFeaturePredictionTransformer{TModel}"/> 173: base(Contracts.CheckRef(env, nameof(env)).Register(nameof(CalibratorTransformer<TICalibrator>))) 182: base(Contracts.CheckRef(env, nameof(env)).Register(nameof(CalibratorTransformer<TICalibrator>))) 236loaderAssemblyName: typeof(CalibratorTransformer<>).Assembly.FullName); 244private readonly CalibratorTransformer<TCalibrator> _parent; 249internal Mapper(CalibratorTransformer<TCalibrator> parent, TCalibrator calibrator, DataViewSchema inputSchema, string scoreColumnName) : 357private protected override CalibratorTransformer<PlattCalibrator> Create(IHostEnvironment env, PlattCalibrator calibrator, string scoreColumnName) 394private protected override CalibratorTransformer<PlattCalibrator> Create(IHostEnvironment env, PlattCalibrator calibrator, string scoreColumnName) 445private protected override CalibratorTransformer<NaiveCalibrator> Create(IHostEnvironment env, NaiveCalibrator calibrator, string scoreColumnName) 494private protected override CalibratorTransformer<IsotonicCalibrator> Create(IHostEnvironment env, IsotonicCalibrator calibrator, string scoreColumnName)
Microsoft.ML.Samples (4)
Dynamic\Trainers\BinaryClassification\Calibrators\FixedPlatt.cs (1)
56var calibratorTransformer = calibratorEstimator.Fit(scoredData);
Dynamic\Trainers\BinaryClassification\Calibrators\Isotonic.cs (1)
56var calibratorTransformer = calibratorEstimator.Fit(scoredData);
Dynamic\Trainers\BinaryClassification\Calibrators\Naive.cs (1)
56var calibratorTransformer = calibratorEstimator.Fit(scoredData);
Dynamic\Trainers\BinaryClassification\Calibrators\Platt.cs (1)
56var calibratorTransformer = calibratorEstimator.Fit(scoredData);
Microsoft.ML.Tests (9)
TrainerEstimators\CalibratorEstimators.cs (9)
25var plattCalibratorTransformer = plattCalibratorEstimator.Fit(calibratorTestData.ScoredData); 46var fixedPlattCalibratorTransformer = fixedPlattCalibratorEstimator.Fit(calibratorTestData.ScoredData); 66var naiveCalibratorTransformer = naiveCalibratorEstimator.Fit(calibratorTestData.ScoredData); 86var pavCalibratorTransformer = pavCalibratorEstimator.Fit(calibratorTestData.ScoredData); 183var calibratorPlattTransformer = calibratorPlattEstimator.Fit(dataArray[i]); 189var calibratorFixedPlattTransformer = calibratorFixedPlattEstimator.Fit(dataArray[i]); 195var calibratorNaiveTransformer = calibratorNaiveEstimator.Fit(dataArray[i]); 201var calibratorIsotonicTransformer = calibratorIsotonicEstimator.Fit(dataArray[i]); 263var newPlattCalibratorTransformer = newPlattCalibratorEstimator.Fit(calibratorTestData.ScoredData);