2 instantiations of AffineNormalizerModelParameters
Microsoft.ML.Data (2)
Transforms\NormalizeColumn.cs (2)
471=> new NormalizingTransformer.AffineNormalizerModelParameters<TFloat>(Scale, Offset); 519=> new NormalizingTransformer.AffineNormalizerModelParameters<ImmutableArray<TFloat>>(ImmutableArray.Create(Scale), ImmutableArray.Create(Offset));
60 references to AffineNormalizerModelParameters
Microsoft.ML.Data (2)
Transforms\Normalizer.cs (2)
850/// Base class for all the data normalizer models like <see cref="AffineNormalizerModelParameters{TData}"/>, 883/// Initializes a new instance of <see cref="AffineNormalizerModelParameters{TData}"/>
Microsoft.ML.IntegrationTests (2)
IntrospectiveTraining.cs (2)
275var config = normalizer.GetNormalizerModelParameters(0) as NormalizingTransformer.AffineNormalizerModelParameters<ImmutableArray<float>>;
Microsoft.ML.Samples (12)
Dynamic\Transforms\NormalizeLogMeanVariance.cs (2)
85var noCdfParams = normalizeNoCdfTransform.GetNormalizerModelParameters( 860) as AffineNormalizerModelParameters<ImmutableArray<float>>;
Dynamic\Transforms\NormalizeLogMeanVarianceFixZero.cs (2)
68var noCdfParams = normalizeNoCdfTransform.GetNormalizerModelParameters(0) as AffineNormalizerModelParameters<ImmutableArray<float>>;
Dynamic\Transforms\NormalizeMeanVariance.cs (2)
85var noCdfParams = normalizeNoCdfTransform 87AffineNormalizerModelParameters<ImmutableArray<float>>;
Dynamic\Transforms\NormalizeMinMax.cs (2)
71var transformParams = normalizeTransform.GetNormalizerModelParameters(0) 72as AffineNormalizerModelParameters<ImmutableArray<float>>;
Dynamic\Transforms\NormalizeMinMaxMulticolumn.cs (4)
103var transformParams = normalizeTransform.GetNormalizerModelParameters(0) 104as AffineNormalizerModelParameters<ImmutableArray<float>>; 106var transformParams2 = normalizeTransform.GetNormalizerModelParameters(1) 107as AffineNormalizerModelParameters<ImmutableArray<float>>;
Microsoft.ML.Tests (44)
Transformers\NormalizerTests.cs (44)
141var floatAffineData = transformer.Columns[0].ModelParameters as NormalizingTransformer.AffineNormalizerModelParameters<float>; 145var floatAffineDataVec = transformer.Columns[1].ModelParameters as NormalizingTransformer.AffineNormalizerModelParameters<ImmutableArray<float>>; 149var doubleAffineData = transformer.Columns[2].ModelParameters as NormalizingTransformer.AffineNormalizerModelParameters<double>; 153var doubleAffineDataVec = transformer.Columns[3].ModelParameters as NormalizingTransformer.AffineNormalizerModelParameters<ImmutableArray<double>>; 178var floatCdfMeanData = transformer.Columns[8].ModelParameters as NormalizingTransformer.AffineNormalizerModelParameters<float>; 182var floatCdfMeanDataVec = transformer.Columns[9].ModelParameters as NormalizingTransformer.AffineNormalizerModelParameters<ImmutableArray<float>>; 187var doubleCdfMeanData = transformer.Columns[10].ModelParameters as NormalizingTransformer.AffineNormalizerModelParameters<double>; 191var doubleCdfMeanDataVec = transformer.Columns[11].ModelParameters as NormalizingTransformer.AffineNormalizerModelParameters<ImmutableArray<double>>; 258var floatAffineModel = ((NormalizingTransformer)transformers[0]).Columns[0].ModelParameters as NormalizingTransformer.AffineNormalizerModelParameters<float>; 262var floatAffineModelVec = ((NormalizingTransformer)transformers[0]).Columns[1].ModelParameters as NormalizingTransformer.AffineNormalizerModelParameters<ImmutableArray<float>>; 266var doubleAffineModel = ((NormalizingTransformer)transformers[0]).Columns[2].ModelParameters as NormalizingTransformer.AffineNormalizerModelParameters<double>; 270var doubleAffineModelVector = ((NormalizingTransformer)transformers[0]).Columns[3].ModelParameters as NormalizingTransformer.AffineNormalizerModelParameters<ImmutableArray<double>>; 309var floatCdfMeanModel = ((NormalizingTransformer)transformers[2]).Columns[0].ModelParameters as NormalizingTransformer.AffineNormalizerModelParameters<float>; 313var floatCdfMeanModelVector = ((NormalizingTransformer)transformers[2]).Columns[1].ModelParameters as NormalizingTransformer.AffineNormalizerModelParameters<ImmutableArray<float>>; 319var doubleCdfMeanModel = ((NormalizingTransformer)transformers[2]).Columns[2].ModelParameters as NormalizingTransformer.AffineNormalizerModelParameters<double>; 323var doubleCdfMeanModelVector = ((NormalizingTransformer)transformers[2]).Columns[3].ModelParameters as NormalizingTransformer.AffineNormalizerModelParameters<ImmutableArray<double>>; 397floatAffineModel = ((NormalizingTransformer)robustScalerTransformer).Columns[0].ModelParameters as NormalizingTransformer.AffineNormalizerModelParameters<float>; 401floatAffineModelVec = ((NormalizingTransformer)robustScalerTransformer).Columns[1].ModelParameters as NormalizingTransformer.AffineNormalizerModelParameters<ImmutableArray<float>>; 413doubleAffineModel = ((NormalizingTransformer)robustScalerTransformer).Columns[2].ModelParameters as NormalizingTransformer.AffineNormalizerModelParameters<double>; 417doubleAffineModelVector = ((NormalizingTransformer)robustScalerTransformer).Columns[3].ModelParameters as NormalizingTransformer.AffineNormalizerModelParameters<ImmutableArray<double>>; 437floatAffineModel = ((NormalizingTransformer)robustScalerTransformer).Columns[0].ModelParameters as NormalizingTransformer.AffineNormalizerModelParameters<float>; 441floatAffineModelVec = ((NormalizingTransformer)robustScalerTransformer).Columns[1].ModelParameters as NormalizingTransformer.AffineNormalizerModelParameters<ImmutableArray<float>>; 450doubleAffineModel = ((NormalizingTransformer)robustScalerTransformer).Columns[2].ModelParameters as NormalizingTransformer.AffineNormalizerModelParameters<double>; 454doubleAffineModelVector = ((NormalizingTransformer)robustScalerTransformer).Columns[3].ModelParameters as NormalizingTransformer.AffineNormalizerModelParameters<ImmutableArray<double>>; 920var noCdfParams = normalizeNoCdfTransform.GetNormalizerModelParameters(0) as AffineNormalizerModelParameters<float>; 961var noCdfParams = normalizeNoCdfTransform.GetNormalizerModelParameters(0) as AffineNormalizerModelParameters<ImmutableArray<float>>;