1 write to Density
Microsoft.ML.Data (1)
Transforms\Normalizer.cs (1)
964
Density
= 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)
78
var density = transformParams.
Density
[0];
99
density = fixZeroParams.
Density
[1];
Dynamic\Transforms\NormalizeSupervisedBinning.cs (2)
98
Console.WriteLine("y = (Index(x) / " + transformParams.
Density
[0] +
120
Console.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)
159
Assert.True(34 == floatBinData.
Density
);
165
Assert.True(4 == floatBinDataVec.
Density
.Length);
170
Assert.Equal(34, doubleBinData.
Density
);
175
Assert.Equal(4, doubleBinDataVec.
Density
.Length);
280
Assert.True(34 == floatBinModel.
Density
);
290
Assert.True(4 == floatBinModelVector.
Density
.Length);
297
Assert.Equal(34, doubleBinModel.
Density
);
306
Assert.Equal(4, doubleBinModelVector.
Density
.Length);
361
Assert.True(3 == floatBinModel.
Density
);
371
Assert.True(4 == floatBinModelVector.
Density
.Length);
378
Assert.Equal(3, doubleBinModel.
Density
);
387
Assert.Equal(4, doubleBinModelVector.
Density
.Length);