2 instantiations of AnomalyPredictionTransformer
Microsoft.ML.Data (2)
Scorers\PredictionTransformer.cs (1)
862
=> new
AnomalyPredictionTransformer
<IPredictorProducing<float>>(env, ctx);
TrainCatalog.cs (1)
790
return 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)
376
loaderAssemblyName: typeof(
AnomalyPredictionTransformer
<>).Assembly.FullName);
861
public 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>
785
public
AnomalyPredictionTransformer
<TModel> ChangeModelThreshold<TModel>(
AnomalyPredictionTransformer
<TModel> model, float threshold)
Microsoft.ML.IntegrationTests (1)
Evaluation.cs (1)
41
var
model = pipeline.Fit(trainData);
Microsoft.ML.PCA (2)
PcaTrainer.cs (2)
82
public sealed class RandomizedPcaTrainer : TrainerEstimatorBase<
AnomalyPredictionTransformer
<PcaModelParameters>, PcaModelParameters>
390
private protected override
AnomalyPredictionTransformer
<PcaModelParameters> MakeTransformer(PcaModelParameters model, DataViewSchema trainSchema)
Microsoft.ML.Samples (2)
Dynamic\Trainers\AnomalyDetection\RandomizedPcaSample.cs (1)
41
var
model = pipeline.Fit(data);
Dynamic\Trainers\AnomalyDetection\RandomizedPcaSampleWithOptions.cs (1)
49
var
model = pipeline.Fit(data);
Microsoft.ML.Tests (5)
AnomalyDetectionTests.cs (5)
154
var
model = trainer.Fit(data);
198
var
model = trainer.Fit(data);
200
var
transformer = mlContext.AnomalyDetection.ChangeModelThreshold(model, 0.3f);
251
var
model = trainer.Fit(trainData);
283
var
model = trainer.Fit(data);