1 interface inheriting from IParameterValue
Microsoft.ML.Sweeper (1)
ISweeper.cs (1)
98
public interface IParameterValue<out TValue> :
IParameterValue
60 references to IParameterValue
Microsoft.ML.Sweeper (47)
Algorithms\Grid.cs (2)
191
var pset = new List<
IParameterValue
>();
197
var
pv = sweepParameter[combination / div];
Algorithms\NelderMead.cs (2)
341
var
param = _sweepParameters[i].CreateFromNormalized(point[i]);
449
var parameters = new List<
IParameterValue
>();
Algorithms\SmacSweeper.cs (5)
279
IParameterValue
pset = parent[sweepParam.Name];
421
private ParameterSet UpdateParameterSet(ParameterSet original,
IParameterValue
newParam)
423
List<
IParameterValue
> parameters = new List<
IParameterValue
>();
443
var
pset = parameterSet[sweepParam.Name];
Algorithms\SweeperProbabilityUtils.cs (3)
172
var
pset = ps[sweepParam.Name];
216
List<
IParameterValue
> parameters = new List<
IParameterValue
>();
ConfigRunner.cs (1)
155
foreach (
var
parameterValue in sweep)
ISweeper.cs (14)
51
IParameterValue
CreateFromNormalized(Double normalizedValue);
56
IParameterValue
this[int i] { get; }
89
public interface IParameterValue : IEquatable<
IParameterValue
>
107
public sealed class ParameterSet : IEquatable<ParameterSet>, IEnumerable<
IParameterValue
>
109
private readonly Dictionary<string,
IParameterValue
> _parameterValues;
112
public ParameterSet(IEnumerable<
IParameterValue
> parameters)
114
_parameterValues = new Dictionary<string,
IParameterValue
>();
115
foreach (
var
parameter in parameters)
129
public ParameterSet(Dictionary<string,
IParameterValue
> paramValues, int hash)
135
public IEnumerator<
IParameterValue
> GetEnumerator()
150
public
IParameterValue
this[string name]
155
private bool ContainsParamValue(
IParameterValue
parameterValue)
157
IParameterValue
value;
170
new ParameterSet(new Dictionary<string,
IParameterValue
>(_parameterValues), _hash);
Parameters.cs (19)
97
public bool Equals(
IParameterValue
other)
143
public bool Equals(
IParameterValue
other)
186
public bool Equals(
IParameterValue
other)
205
float NormalizeValue(
IParameterValue
value);
206
bool InRange(
IParameterValue
value);
215
private
IParameterValue
[] _gridValues;
230
public
IParameterValue
CreateFromNormalized(Double normalizedValue)
254
var result = new List<
IParameterValue
>();
295
public
IParameterValue
this[int i]
313
public float NormalizeValue(
IParameterValue
value)
328
public bool InRange(
IParameterValue
value)
347
private
IParameterValue
[] _gridValues;
362
public
IParameterValue
CreateFromNormalized(Double normalizedValue)
386
var result = new List<
IParameterValue
>();
419
public
IParameterValue
this[int i]
437
public float NormalizeValue(
IParameterValue
value)
452
public bool InRange(
IParameterValue
value)
481
public
IParameterValue
CreateFromNormalized(Double normalizedValue)
486
public
IParameterValue
this[int i]
SynthConfigRunner.cs (1)
87
foreach (
var
param in ps)
Microsoft.ML.Sweeper.Tests (13)
TestSweeper.cs (13)
33
IParameterValue
value = paramSweep.CreateFromNormalized(0.5);
44
IParameterValue
unNormalizedValue = paramSweep.CreateFromNormalized(normalizedValue);
47
IParameterValue
param = paramSweep.CreateFromNormalized(0.345);
60
IParameterValue
value = paramSweep.CreateFromNormalized(0.5);
85
var
value = paramSweep.CreateFromNormalized(normalizedValue);
109
foreach (
var
parameterValue in parameterSet)
408
foreach (
var
parameterValue in paramSet)
453
foreach (
var
parameterValue in parameterSet)
480
foreach (
var
parameterValue in parameterSet)
512
foreach (
var
parameterValue in parameterSet)
568
foreach (
var
parameterValue in parameterSet)
616
foreach (
var
parameterValue in parameterSet)
667
foreach (
var
parameterValue in parameterSet)