1 write to _sweepParameters
Microsoft.ML.Sweeper (1)
Algorithms\SmacSweeper.cs (1)
83
_sweepParameters
= options.SweptParameters.Select(p => p.CreateComponent(_host)).ToArray();
15 references to _sweepParameters
Microsoft.ML.Sweeper (15)
Algorithms\SmacSweeper.cs (15)
84
_randomSweeper = new UniformRandomSweeper(env, new SweeperBase.OptionsBase(),
_sweepParameters
);
120
features[i] = SweeperProbabilityUtils.ParameterSetAsFloatArray(_host,
_sweepParameters
, r.ParameterSet, true);
273
for (int i = 0; i <
_sweepParameters
.Length; i++)
276
IValueGenerator sweepParam =
_sweepParameters
[i];
287
float[] neighbor = SweeperProbabilityUtils.ParameterSetAsFloatArray(_host,
_sweepParameters
, parent, false);
305
neighbors.Add(SweeperProbabilityUtils.FloatArrayAsParameterSet(_host,
_sweepParameters
, neighbor, false));
315
float[] neigh = SweeperProbabilityUtils.ParameterSetAsFloatArray(_host,
_sweepParameters
, parent, false);
320
ParameterSet neighbor = SweeperProbabilityUtils.FloatArrayAsParameterSet(_host,
_sweepParameters
, neigh, false);
343
float[] transformedParams = SweeperProbabilityUtils.ParameterSetAsFloatArray(_host,
_sweepParameters
, config, true);
424
for (int i = 0; i <
_sweepParameters
.Length; i++)
426
if (
_sweepParameters
[i].Name.Equals(newParam.Name))
430
parameters.Add(original[
_sweepParameters
[i].Name]);
439
_host.Assert(parameterSet.Count ==
_sweepParameters
.Length);
440
_host.Assert(index >= 0 && index <=
_sweepParameters
.Length);
442
var sweepParam =
_sweepParameters
[index];