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)); 167if (previousRuns.Any(runResult => runResult.ParameterSet.Equals(_pendingSweeps[0].Key))) 170_pendingSweeps.Clear(); 176return _pendingSweeps.Select(kvp => kvp.Key).ToArray(); 178return new ParameterSet[] { _pendingSweeps[0].Key }; 181Contracts.Assert(_pendingSweeps.Count == 1); 215_pendingSweeps.Clear(); 216_pendingSweeps.Add(new KeyValuePair<ParameterSet, float[]>(FloatArrayAsParameterSet(nextPoint), nextPoint)); 217if (previousRuns.Any(runResult => runResult.ParameterSet.Equals(_pendingSweeps[0].Key))) 220_pendingSweeps.Clear(); 226return _pendingSweeps.Select(kvp => kvp.Key).ToArray(); 228return new ParameterSet[] { _pendingSweeps[0].Key }; 231Contracts.Assert(_pendingSweeps.Count == 1); 236UpdateSimplex(expansionResult, _pendingSweeps[0].Value); 244Contracts.Assert(_pendingSweeps.Count == 1); 249UpdateSimplex(outerContractionResult, _pendingSweeps[0].Value); 254_pendingSweeps.Clear(); 260return _pendingSweeps.Select(kvp => kvp.Key).ToArray(); 263Contracts.Assert(_pendingSweeps.Count == 1); 268UpdateSimplex(innerContractionResult, _pendingSweeps[0].Value); 273_pendingSweeps.Clear(); 279return _pendingSweeps.Select(kvp => kvp.Key).ToArray(); 282Contracts.Assert(_pendingSweeps.Count + _pendingSweepsNotSubmitted.Count == _dim); 283if (_pendingSweeps.Count < _dim) 364foreach (var sweep in _pendingSweeps) 375if (result.Count != _pendingSweeps.Count) 410_pendingSweeps.Add(new KeyValuePair<ParameterSet, float[]>(newParameterSet, newPoint)); 425_pendingSweeps.Add(point);