Base:
method
SampleFromFeatureSpace
Microsoft.ML.SearchSpace.Option.OptionBase.SampleFromFeatureSpace(System.Double[])
22 references to SampleFromFeatureSpace
Microsoft.ML.AutoML (10)
AutoMLExperiment\ITrialResultManager.cs (1)
179
Parameter = _searchSpace.
SampleFromFeatureSpace
(feature),
SweepableEstimator\SweepableEstimator.cs (1)
26
Parameter = ss.
SampleFromFeatureSpace
(ss.Default);
Tuner\AutoZeroTuner.cs (1)
97
var parameter = pipeline.SearchSpace.
SampleFromFeatureSpace
(pipeline.SearchSpace.Default);
Tuner\CostFrugalTuner.cs (2)
27
: this(settings.SearchSpace, settings.SearchSpace.
SampleFromFeatureSpace
(settings.SearchSpace.Default), trialResultManager?.GetAllTrialResults(), settings.Seed)
65
param = _searchSpace.
SampleFromFeatureSpace
(CreateInitConfigFromAdmissibleRegion());
Tuner\EciCfoTuner.cs (2)
30
_defaultParameter = settings.SearchSpace.
SampleFromFeatureSpace
(settings.SearchSpace.Default)[AutoMLExperiment.PipelineSearchspaceName];
37
return new CostFrugalTuner(aggregateSearchSpace, aggregateSearchSpace.
SampleFromFeatureSpace
(aggregateSearchSpace.Default), seed: settings.Seed) as ITuner;
Tuner\Flow2.cs (1)
96
var config = _searchSpace.
SampleFromFeatureSpace
(move);
Tuner\SmacTuner.cs (2)
275
neighborhood.Add(_searchSpace.
SampleFromFeatureSpace
(newFeatures));
298
neighborhood.Add(_searchSpace.
SampleFromFeatureSpace
(newFeatures));
Microsoft.ML.SearchSpace (5)
SearchSpace.cs (2)
156
var parameter =
SampleFromFeatureSpace
(featureSpace);
433
var param = base.
SampleFromFeatureSpace
(feature);
Tuner\DefaultValueTuner.cs (1)
22
return _searchSpace.
SampleFromFeatureSpace
(defaultFeatureVec);
Tuner\GridSearchTuner.cs (1)
27
yield return _searchSpace.
SampleFromFeatureSpace
(featureVec);
Tuner\RandomTuner.cs (1)
35
return searchSpace.
SampleFromFeatureSpace
(featureVec);
Microsoft.ML.SearchSpace.Tests (7)
ChoiceOptionTest.cs (1)
69
var parameter = searchSpace.
SampleFromFeatureSpace
(new[] { 0.5 });
ParameterTest.cs (1)
131
var parameter = ss.
SampleFromFeatureSpace
(new[] { 0.5 });
SearchSpaceTest.cs (5)
137
var param = ss.
SampleFromFeatureSpace
(new[] { 0.5 });
264
var parameter = searchSpace.
SampleFromFeatureSpace
(new double[] { 0, 0.5, 0.5 });
266
parameter = searchSpace.
SampleFromFeatureSpace
(new double[] { 1, 0.5, 0.5 });
272
parameter = searchSpace.
SampleFromFeatureSpace
(new double[] { 0, 0.5 });
274
parameter = searchSpace.
SampleFromFeatureSpace
(new double[] { 1, 0.5 });