Base:
method
SampleFromFeatureSpace
Microsoft.ML.SearchSpace.Option.UniformNumericOption.SampleFromFeatureSpace(System.Double[])
4 references to SampleFromFeatureSpace
Microsoft.ML.SearchSpace (1)
Converter\NumericOptionConverter.cs (1)
57
Default = intOption.
SampleFromFeatureSpace
(intOption.Default).AsType<int>(),
Microsoft.ML.SearchSpace.Tests (3)
UniformNumericOptionTests.cs (3)
26
var sampleOutputs = sampleInputs.Select(i => option.
SampleFromFeatureSpace
(new[] { i }));
37
var sampleOutputs = sampleInputs.Select(i => option.
SampleFromFeatureSpace
(new[] { i }));
57
option.
SampleFromFeatureSpace
(new double[] { 0.0 }).AsType<int>().Should().Be(20);