2 instantiations of AnomalyPredictionTransformer
Microsoft.ML.Data (2)
Scorers\PredictionTransformer.cs (1)
862=> new AnomalyPredictionTransformer<IPredictorProducing<float>>(env, ctx);
TrainCatalog.cs (1)
790return new AnomalyPredictionTransformer<TModel>(Environment, model.Model, model.TrainSchema, model.FeatureColumnName, threshold, model.ThresholdColumn);
19 references to AnomalyPredictionTransformer
Microsoft.ML.Data (9)
Scorers\PredictionTransformer.cs (5)
26[assembly: LoadableClass(typeof(AnomalyPredictionTransformer<IPredictorProducing<float>>), typeof(AnomalyPredictionTransformer), null, typeof(SignatureLoadModel), 324: base(Contracts.CheckRef(env, nameof(env)).Register(nameof(AnomalyPredictionTransformer<TModel>)), model, inputSchema, featureColumn) 334: base(Contracts.CheckRef(env, nameof(env)).Register(nameof(AnomalyPredictionTransformer<TModel>)), ctx) 376loaderAssemblyName: typeof(AnomalyPredictionTransformer<>).Assembly.FullName); 861public static AnomalyPredictionTransformer<IPredictorProducing<float>> Create(IHostEnvironment env, ModelLoadContext ctx)
TrainCatalog.cs (4)
778/// Creates a new <see cref="AnomalyPredictionTransformer{TModel}"/> with the specified <paramref name="threshold"/>. 782/// <param name="model">A trained <see cref="AnomalyPredictionTransformer{TModel}"/>.</param> 785public AnomalyPredictionTransformer<TModel> ChangeModelThreshold<TModel>(AnomalyPredictionTransformer<TModel> model, float threshold)
Microsoft.ML.IntegrationTests (1)
Evaluation.cs (1)
41var model = pipeline.Fit(trainData);
Microsoft.ML.PCA (2)
PcaTrainer.cs (2)
82public sealed class RandomizedPcaTrainer : TrainerEstimatorBase<AnomalyPredictionTransformer<PcaModelParameters>, PcaModelParameters> 390private protected override AnomalyPredictionTransformer<PcaModelParameters> MakeTransformer(PcaModelParameters model, DataViewSchema trainSchema)
Microsoft.ML.Samples (2)
Dynamic\Trainers\AnomalyDetection\RandomizedPcaSample.cs (1)
41var model = pipeline.Fit(data);
Dynamic\Trainers\AnomalyDetection\RandomizedPcaSampleWithOptions.cs (1)
49var model = pipeline.Fit(data);
Microsoft.ML.Tests (5)
AnomalyDetectionTests.cs (5)
154var model = trainer.Fit(data); 198var model = trainer.Fit(data); 200var transformer = mlContext.AnomalyDetection.ChangeModelThreshold(model, 0.3f); 251var model = trainer.Fit(trainData); 283var model = trainer.Fit(data);