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