2 writes to _parameterValues
Microsoft.ML.Sweeper (2)
ISweeper.cs (2)
114
_parameterValues
= new Dictionary<string, IParameterValue>();
131
_parameterValues
= paramValues;
12 references to _parameterValues
Microsoft.ML.Sweeper (12)
ISweeper.cs (12)
117
_parameterValues
.Add(parameter.Name, parameter);
120
var parameterNames =
_parameterValues
.Keys.ToList();
125
_hash = Hashing.CombineHash(_hash,
_parameterValues
[parameterName].GetHashCode());
137
return
_parameterValues
.Values.GetEnumerator();
147
get { return
_parameterValues
.Count; }
152
get { return
_parameterValues
[name]; }
158
return
_parameterValues
.TryGetValue(parameterValue.Name, out value) &&
164
if (other == null || other._hash != _hash || other.
_parameterValues
.Count !=
_parameterValues
.Count)
166
return other.
_parameterValues
.Values.All(pv => ContainsParamValue(pv));
170
new ParameterSet(new Dictionary<string, IParameterValue>(
_parameterValues
), _hash);
174
return string.Join(" ",
_parameterValues
.Select(kvp => string.Format("{0}={1}", kvp.Value.Name, kvp.Value.ValueText)).ToArray());