4 instantiations of BinNormalizerModelParameters
Microsoft.ML.Data (4)
Transforms\NormalizeColumnDbl.cs (2)
1227=> new NormalizingTransformer.BinNormalizerModelParameters<TFloat>(ImmutableArray.Create(_binUpperBounds), _den, _offset); 1377=> new NormalizingTransformer.BinNormalizerModelParameters<ImmutableArray<TFloat>>(_binUpperBounds.Select(b => ImmutableArray.Create(b)).ToImmutableArray(),
Transforms\NormalizeColumnSng.cs (2)
1388=> new NormalizingTransformer.BinNormalizerModelParameters<TFloat>(ImmutableArray.Create(_binUpperBounds), _den, _offset); 1539=> new NormalizingTransformer.BinNormalizerModelParameters<ImmutableArray<TFloat>>(
36 references to BinNormalizerModelParameters
Microsoft.ML.Data (4)
Transforms\Normalizer.cs (4)
851/// <see cref="BinNormalizerModelParameters{TData}"/>, <see cref="CdfNormalizerModelParameters{TData}"/>. 936/// increasing <see cref="BinNormalizerModelParameters{TData}.UpperBounds"/>. 937/// The <see cref="BinNormalizerModelParameters{TData}.Density"/> value is constant from bin to bin, for most cases. 959/// Initializes a new instance of <see cref="BinNormalizerModelParameters{TData}"/>
Microsoft.ML.Samples (10)
Dynamic\Transforms\NormalizeBinning.cs (4)
75var transformParams = normalizeTransform.GetNormalizerModelParameters(0) 76as BinNormalizerModelParameters<ImmutableArray<float>>; 95var fixZeroParams = (normalizeFixZeroTransform 96.GetNormalizerModelParameters(0) as BinNormalizerModelParameters<
Dynamic\Transforms\NormalizeSupervisedBinning.cs (4)
92var transformParams = normalizeTransform.GetNormalizerModelParameters(0) 93as BinNormalizerModelParameters<ImmutableArray<float>>; 113var fixZeroParams = normalizeFixZeroTransform 114.GetNormalizerModelParameters(0) as BinNormalizerModelParameters<
Dynamic\WithOnFitDelegate.cs (2)
63var binningParam = binningTransformer.GetNormalizerModelParameters(0) as 64BinNormalizerModelParameters<ImmutableArray<float>>;
Microsoft.ML.Tests (22)
Scenarios\Api\CookbookSamples\CookbookSamplesDynamicApi.cs (2)
121var binningParam = binningTransformer.GetNormalizerModelParameters(0) as 122BinNormalizerModelParameters<ImmutableArray<float>>;
Transformers\NormalizerTests.cs (20)
157var floatBinData = transformer.Columns[4].ModelParameters as NormalizingTransformer.BinNormalizerModelParameters<float>; 162var floatBinDataVec = transformer.Columns[5].ModelParameters as NormalizingTransformer.BinNormalizerModelParameters<ImmutableArray<float>>; 168var doubleBinData = transformer.Columns[6].ModelParameters as NormalizingTransformer.BinNormalizerModelParameters<double>; 173var doubleBinDataVec = transformer.Columns[7].ModelParameters as NormalizingTransformer.BinNormalizerModelParameters<ImmutableArray<double>>; 276var floatBinModel = ((NormalizingTransformer)transformers[1]).Columns[0].ModelParameters as NormalizingTransformer.BinNormalizerModelParameters<float>; 283var floatBinModelVector = ((NormalizingTransformer)transformers[1]).Columns[1].ModelParameters as NormalizingTransformer.BinNormalizerModelParameters<ImmutableArray<float>>; 293var doubleBinModel = ((NormalizingTransformer)transformers[1]).Columns[2].ModelParameters as NormalizingTransformer.BinNormalizerModelParameters<double>; 300var doubleBinModelVector = ((NormalizingTransformer)transformers[1]).Columns[3].ModelParameters as NormalizingTransformer.BinNormalizerModelParameters<ImmutableArray<double>>; 357floatBinModel = ((NormalizingTransformer)transformers[4]).Columns[0].ModelParameters as NormalizingTransformer.BinNormalizerModelParameters<float>; 364floatBinModelVector = ((NormalizingTransformer)transformers[4]).Columns[1].ModelParameters as NormalizingTransformer.BinNormalizerModelParameters<ImmutableArray<float>>; 374doubleBinModel = ((NormalizingTransformer)transformers[4]).Columns[2].ModelParameters as NormalizingTransformer.BinNormalizerModelParameters<double>; 381doubleBinModelVector = ((NormalizingTransformer)transformers[4]).Columns[3].ModelParameters as NormalizingTransformer.BinNormalizerModelParameters<ImmutableArray<double>>;