3 implementations of ValueText
Microsoft.ML.Sweeper (3)
Parameters.cs (3)
80
public string
ValueText
125
public string
ValueText
170
public string
ValueText
34 references to ValueText
Microsoft.ML.Sweeper (13)
Algorithms\KdoSweeper.cs (5)
361
labelToIndex[param[j].
ValueText
] = j;
367
weights[labelToIndex[r.ParameterSet[param.Name].
ValueText
]] += r.MetricValue;
368
counts[labelToIndex[r.ParameterSet[param.Name].
ValueText
]]++;
403
labelToIndex[param[j].
ValueText
] = j;
413
weights[labelToIndex[r.ParameterSet[param.Name].
ValueText
]] += r.MetricValue;
Algorithms\SweeperProbabilityUtils.cs (4)
198
result.Add(lvg.NormalizeValue(new LongParameterValue(pset.Name, long.Parse(pset.
ValueText
))));
203
result.Add(fvg.NormalizeValue(new FloatParameterValue(pset.Name, float.Parse(pset.
ValueText
))));
235
parameters.Add(new StringParameterValue(sweepParams[i].Name, parameterDiscrete[hotIndex].
ValueText
));
240
parameters.Add(new StringParameterValue(sweepParams[i].Name, parameterDiscrete[(int)array[currentArrayIndex]].
ValueText
));
ConfigRunner.cs (2)
156
options = options.Replace("$" + parameterValue.Name + "$", parameterValue.
ValueText
);
167
ch.Info("Parameter set: {0}", string.Join(", ", sweeps[i].Select(p => string.Format("{0}:{1}", p.Name, p.
ValueText
))));
ISweeper.cs (1)
174
return string.Join(" ", _parameterValues.Select(kvp => string.Format("{0}={1}", kvp.Value.Name, kvp.Value.
ValueText
)).ToArray());
SynthConfigRunner.cs (1)
89
double val = float.Parse(param.
ValueText
);
Microsoft.ML.Sweeper.Tests (21)
TestSweeper.cs (21)
35
Assert.Equal(valueText, value.
ValueText
);
45
Assert.Equal("5", unNormalizedValue.
ValueText
);
49
Assert.Equal("5", param.
ValueText
);
62
Assert.Equal(valueText, value.
ValueText
);
87
Assert.Equal(expected, value.
ValueText
);
113
var val = long.Parse(parameterValue.
ValueText
);
118
var val = long.Parse(parameterValue.
ValueText
);
412
var val = float.Parse(parameterValue.
ValueText
, CultureInfo.InvariantCulture);
417
var val = long.Parse(parameterValue.
ValueText
);
457
var val = long.Parse(parameterValue.
ValueText
);
463
var val = long.Parse(parameterValue.
ValueText
);
484
var val = long.Parse(parameterValue.
ValueText
);
490
var val = long.Parse(parameterValue.
ValueText
);
516
var val = long.Parse(parameterValue.
ValueText
);
522
var val = long.Parse(parameterValue.
ValueText
);
572
var val = float.Parse(parameterValue.
ValueText
, CultureInfo.InvariantCulture);
577
var val = long.Parse(parameterValue.
ValueText
);
620
var val = float.Parse(parameterValue.
ValueText
, CultureInfo.InvariantCulture);
625
var val = long.Parse(parameterValue.
ValueText
);
671
var val = float.Parse(parameterValue.
ValueText
, CultureInfo.InvariantCulture);
676
var val = long.Parse(parameterValue.
ValueText
);