3 implementations of ValueText
Microsoft.ML.AutoML (3)
Sweepers\Parameters.cs (3)
72public string ValueText 117public string ValueText 162public string ValueText
21 references to ValueText
Microsoft.ML.AutoML (6)
Experiment\SuggestedTrainer.cs (1)
87sp.SetUsingValueText(hp.ValueText);
Sweepers\ISweeper.cs (1)
145return string.Join(" ", _parameterValues.Select(kvp => string.Format("{0}={1}", kvp.Value.Name, kvp.Value.ValueText)).ToArray());
Sweepers\SweeperProbabilityUtils.cs (4)
102var longValue = GetIfIParameterValueOfT<long>(pset) ?? long.Parse(pset.ValueText, CultureInfo.InvariantCulture); 108var floatValue = GetIfIParameterValueOfT<float>(pset) ?? float.Parse(pset.ValueText, CultureInfo.InvariantCulture); 148parameters.Add(new StringParameterValue(sweepParams[i].Name, parameterDiscrete[hotIndex].ValueText)); 153parameters.Add(new StringParameterValue(sweepParams[i].Name, parameterDiscrete[(int)array[currentArrayIndex]].ValueText));
Microsoft.ML.AutoML.Tests (15)
SweeperTests.cs (10)
45Assert.NotNull(floatValueGenerator[0].ValueText); 46Assert.NotNull(floatLogValueGenerator[0].ValueText); 47Assert.NotNull(longValueGenerator[0].ValueText); 48Assert.NotNull(longLogValueGenerator[0].ValueText); 49Assert.NotNull(discreteValueGenerator[0].ValueText); 60float x1 = float.Parse(p["float"].ValueText); 61float x2 = float.Parse(p["floatLog"].ValueText); 62long x3 = long.Parse(p["long"].ValueText); 63long x4 = long.Parse(p["longLog"].ValueText); 64int x5 = int.Parse(p["discrete"].ValueText);
TrainerExtensionsTests.cs (5)
333Assert.Equal("1", paramSet["NumberOfIterations"].ValueText); 334Assert.Equal("1", paramSet["LearningRate"].ValueText); 335Assert.Equal("1", paramSet["L2Regularization"].ValueText); 336Assert.Equal("1", paramSet["L1Regularization"].ValueText); 351Assert.Equal("1", sdcaParams["LearningRate"].ValueText);