2 instantiations of SweeperProbabilityUtils
Microsoft.ML.Sweeper (2)
Algorithms\KdoSweeper.cs (1)
104
_spu = new
SweeperProbabilityUtils
(_host);
Algorithms\SmacSweeper.cs (1)
271
SweeperProbabilityUtils spu = new
SweeperProbabilityUtils
(_host);
23 references to SweeperProbabilityUtils
Microsoft.ML.Sweeper (23)
Algorithms\KdoSweeper.cs (14)
84
private readonly
SweeperProbabilityUtils
_spu;
204
float[] child =
SweeperProbabilityUtils
.ParameterSetAsFloatArray(_host, _sweepParameters, parent, false);
248
? 1.0 -
SweeperProbabilityUtils
.NormalCdf(fitness, rMean, rVar)
249
: 1.0 -
SweeperProbabilityUtils
.NormalCdf(2 * rMean - fitness, rMean, rVar);
279
return
SweeperProbabilityUtils
.FloatArrayAsParameterSet(_host, _sweepParameters, child, false);
330
double currentMaxPerf = isMinimizing ?
SweeperProbabilityUtils
.NormalCdf(2 * rMean - weights.Min(), rMean, rVar) :
SweeperProbabilityUtils
.NormalCdf(weights.Max(), rMean, rVar);
333
weights = isMinimizing ?
SweeperProbabilityUtils
.InverseNormalize(weights) :
SweeperProbabilityUtils
.Normalize(weights);
339
weights =
SweeperProbabilityUtils
.Normalize(weights);
385
return isMaximizing ?
SweeperProbabilityUtils
.Normalize(weights) :
SweeperProbabilityUtils
.InverseNormalize(weights);
418
return isMaximizing ?
SweeperProbabilityUtils
.Normalize(weights) :
SweeperProbabilityUtils
.InverseNormalize(weights);
Algorithms\SmacSweeper.cs (9)
120
features[i] =
SweeperProbabilityUtils
.ParameterSetAsFloatArray(_host, _sweepParameters, r.ParameterSet, true);
271
SweeperProbabilityUtils
spu = new SweeperProbabilityUtils(_host);
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);
408
return centered *
SweeperProbabilityUtils
.StdNormalCdf(ztrans) + empStdDev *
SweeperProbabilityUtils
.StdNormalPdf(ztrans);