1 write to Density
Microsoft.ML.Data (1)
Transforms\Normalizer.cs (1)
964Density = density;
19 references to Density
Microsoft.ML.Data (1)
Transforms\Normalizer.cs (1)
937/// The <see cref="BinNormalizerModelParameters{TData}.Density"/> value is constant from bin to bin, for most cases.
Microsoft.ML.Samples (5)
Dynamic\Transforms\NormalizeBinning.cs (2)
78var density = transformParams.Density[0]; 99density = fixZeroParams.Density[1];
Dynamic\Transforms\NormalizeSupervisedBinning.cs (2)
98Console.WriteLine("y = (Index(x) / " + transformParams.Density[0] + 120Console.WriteLine(" y = (Index(x) / " + fixZeroParams.Density[1] +
Dynamic\WithOnFitDelegate.cs (1)
70$"Bin {i}: Density = {binningParam.Density[i]}, " +
Microsoft.ML.Tests (13)
Scenarios\Api\CookbookSamples\CookbookSamplesDynamicApi.cs (1)
128$"Bin {i}: Density = {binningParam.Density[i]}, " +
Transformers\NormalizerTests.cs (12)
159Assert.True(34 == floatBinData.Density); 165Assert.True(4 == floatBinDataVec.Density.Length); 170Assert.Equal(34, doubleBinData.Density); 175Assert.Equal(4, doubleBinDataVec.Density.Length); 280Assert.True(34 == floatBinModel.Density); 290Assert.True(4 == floatBinModelVector.Density.Length); 297Assert.Equal(34, doubleBinModel.Density); 306Assert.Equal(4, doubleBinModelVector.Density.Length); 361Assert.True(3 == floatBinModel.Density); 371Assert.True(4 == floatBinModelVector.Density.Length); 378Assert.Equal(3, doubleBinModel.Density); 387Assert.Equal(4, doubleBinModelVector.Density.Length);