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