1 write to _pendingSweeps
Microsoft.ML.Sweeper (1)
Algorithms\NelderMead.cs (1)
121
_pendingSweeps
= new List<KeyValuePair<ParameterSet, float[]>>();
29 references to _pendingSweeps
Microsoft.ML.Sweeper (29)
Algorithms\NelderMead.cs (29)
156
_pendingSweeps
.Clear();
166
_pendingSweeps
.Add(new KeyValuePair<ParameterSet, float[]>(FloatArrayAsParameterSet(nextPoint), nextPoint));
167
if (previousRuns.Any(runResult => runResult.ParameterSet.Equals(
_pendingSweeps
[0].Key)))
170
_pendingSweeps
.Clear();
176
return
_pendingSweeps
.Select(kvp => kvp.Key).ToArray();
178
return new ParameterSet[] {
_pendingSweeps
[0].Key };
181
Contracts.Assert(
_pendingSweeps
.Count == 1);
215
_pendingSweeps
.Clear();
216
_pendingSweeps
.Add(new KeyValuePair<ParameterSet, float[]>(FloatArrayAsParameterSet(nextPoint), nextPoint));
217
if (previousRuns.Any(runResult => runResult.ParameterSet.Equals(
_pendingSweeps
[0].Key)))
220
_pendingSweeps
.Clear();
226
return
_pendingSweeps
.Select(kvp => kvp.Key).ToArray();
228
return new ParameterSet[] {
_pendingSweeps
[0].Key };
231
Contracts.Assert(
_pendingSweeps
.Count == 1);
236
UpdateSimplex(expansionResult,
_pendingSweeps
[0].Value);
244
Contracts.Assert(
_pendingSweeps
.Count == 1);
249
UpdateSimplex(outerContractionResult,
_pendingSweeps
[0].Value);
254
_pendingSweeps
.Clear();
260
return
_pendingSweeps
.Select(kvp => kvp.Key).ToArray();
263
Contracts.Assert(
_pendingSweeps
.Count == 1);
268
UpdateSimplex(innerContractionResult,
_pendingSweeps
[0].Value);
273
_pendingSweeps
.Clear();
279
return
_pendingSweeps
.Select(kvp => kvp.Key).ToArray();
282
Contracts.Assert(
_pendingSweeps
.Count + _pendingSweepsNotSubmitted.Count == _dim);
283
if (
_pendingSweeps
.Count < _dim)
364
foreach (var sweep in
_pendingSweeps
)
375
if (result.Count !=
_pendingSweeps
.Count)
410
_pendingSweeps
.Add(new KeyValuePair<ParameterSet, float[]>(newParameterSet, newPoint));
425
_pendingSweeps
.Add(point);