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)
275
var
config = normalizer.GetNormalizerModelParameters(0) as NormalizingTransformer.
AffineNormalizerModelParameters
<ImmutableArray<float>>;
Microsoft.ML.Samples (12)
Dynamic\Transforms\NormalizeLogMeanVariance.cs (2)
85
var
noCdfParams = normalizeNoCdfTransform.GetNormalizerModelParameters(
86
0) as
AffineNormalizerModelParameters
<ImmutableArray<float>>;
Dynamic\Transforms\NormalizeLogMeanVarianceFixZero.cs (2)
68
var
noCdfParams = normalizeNoCdfTransform.GetNormalizerModelParameters(0) as
AffineNormalizerModelParameters
<ImmutableArray<float>>;
Dynamic\Transforms\NormalizeMeanVariance.cs (2)
85
var
noCdfParams = normalizeNoCdfTransform
87
AffineNormalizerModelParameters
<ImmutableArray<float>>;
Dynamic\Transforms\NormalizeMinMax.cs (2)
71
var
transformParams = normalizeTransform.GetNormalizerModelParameters(0)
72
as
AffineNormalizerModelParameters
<ImmutableArray<float>>;
Dynamic\Transforms\NormalizeMinMaxMulticolumn.cs (4)
103
var
transformParams = normalizeTransform.GetNormalizerModelParameters(0)
104
as
AffineNormalizerModelParameters
<ImmutableArray<float>>;
106
var
transformParams2 = normalizeTransform.GetNormalizerModelParameters(1)
107
as
AffineNormalizerModelParameters
<ImmutableArray<float>>;
Microsoft.ML.Tests (44)
Transformers\NormalizerTests.cs (44)
141
var
floatAffineData = transformer.Columns[0].ModelParameters as NormalizingTransformer.
AffineNormalizerModelParameters
<float>;
145
var
floatAffineDataVec = transformer.Columns[1].ModelParameters as NormalizingTransformer.
AffineNormalizerModelParameters
<ImmutableArray<float>>;
149
var
doubleAffineData = transformer.Columns[2].ModelParameters as NormalizingTransformer.
AffineNormalizerModelParameters
<double>;
153
var
doubleAffineDataVec = transformer.Columns[3].ModelParameters as NormalizingTransformer.
AffineNormalizerModelParameters
<ImmutableArray<double>>;
178
var
floatCdfMeanData = transformer.Columns[8].ModelParameters as NormalizingTransformer.
AffineNormalizerModelParameters
<float>;
182
var
floatCdfMeanDataVec = transformer.Columns[9].ModelParameters as NormalizingTransformer.
AffineNormalizerModelParameters
<ImmutableArray<float>>;
187
var
doubleCdfMeanData = transformer.Columns[10].ModelParameters as NormalizingTransformer.
AffineNormalizerModelParameters
<double>;
191
var
doubleCdfMeanDataVec = transformer.Columns[11].ModelParameters as NormalizingTransformer.
AffineNormalizerModelParameters
<ImmutableArray<double>>;
258
var
floatAffineModel = ((NormalizingTransformer)transformers[0]).Columns[0].ModelParameters as NormalizingTransformer.
AffineNormalizerModelParameters
<float>;
262
var
floatAffineModelVec = ((NormalizingTransformer)transformers[0]).Columns[1].ModelParameters as NormalizingTransformer.
AffineNormalizerModelParameters
<ImmutableArray<float>>;
266
var
doubleAffineModel = ((NormalizingTransformer)transformers[0]).Columns[2].ModelParameters as NormalizingTransformer.
AffineNormalizerModelParameters
<double>;
270
var
doubleAffineModelVector = ((NormalizingTransformer)transformers[0]).Columns[3].ModelParameters as NormalizingTransformer.
AffineNormalizerModelParameters
<ImmutableArray<double>>;
309
var
floatCdfMeanModel = ((NormalizingTransformer)transformers[2]).Columns[0].ModelParameters as NormalizingTransformer.
AffineNormalizerModelParameters
<float>;
313
var
floatCdfMeanModelVector = ((NormalizingTransformer)transformers[2]).Columns[1].ModelParameters as NormalizingTransformer.
AffineNormalizerModelParameters
<ImmutableArray<float>>;
319
var
doubleCdfMeanModel = ((NormalizingTransformer)transformers[2]).Columns[2].ModelParameters as NormalizingTransformer.
AffineNormalizerModelParameters
<double>;
323
var
doubleCdfMeanModelVector = ((NormalizingTransformer)transformers[2]).Columns[3].ModelParameters as NormalizingTransformer.
AffineNormalizerModelParameters
<ImmutableArray<double>>;
397
floatAffineModel = ((NormalizingTransformer)robustScalerTransformer).Columns[0].ModelParameters as NormalizingTransformer.
AffineNormalizerModelParameters
<float>;
401
floatAffineModelVec = ((NormalizingTransformer)robustScalerTransformer).Columns[1].ModelParameters as NormalizingTransformer.
AffineNormalizerModelParameters
<ImmutableArray<float>>;
413
doubleAffineModel = ((NormalizingTransformer)robustScalerTransformer).Columns[2].ModelParameters as NormalizingTransformer.
AffineNormalizerModelParameters
<double>;
417
doubleAffineModelVector = ((NormalizingTransformer)robustScalerTransformer).Columns[3].ModelParameters as NormalizingTransformer.
AffineNormalizerModelParameters
<ImmutableArray<double>>;
437
floatAffineModel = ((NormalizingTransformer)robustScalerTransformer).Columns[0].ModelParameters as NormalizingTransformer.
AffineNormalizerModelParameters
<float>;
441
floatAffineModelVec = ((NormalizingTransformer)robustScalerTransformer).Columns[1].ModelParameters as NormalizingTransformer.
AffineNormalizerModelParameters
<ImmutableArray<float>>;
450
doubleAffineModel = ((NormalizingTransformer)robustScalerTransformer).Columns[2].ModelParameters as NormalizingTransformer.
AffineNormalizerModelParameters
<double>;
454
doubleAffineModelVector = ((NormalizingTransformer)robustScalerTransformer).Columns[3].ModelParameters as NormalizingTransformer.
AffineNormalizerModelParameters
<ImmutableArray<double>>;
920
var
noCdfParams = normalizeNoCdfTransform.GetNormalizerModelParameters(0) as
AffineNormalizerModelParameters
<float>;
961
var
noCdfParams = normalizeNoCdfTransform.GetNormalizerModelParameters(0) as
AffineNormalizerModelParameters
<ImmutableArray<float>>;