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