1 write to TestSets
Microsoft.ML.FastTree (1)
FastTree.cs (1)
199
TestSets
= new[] { instanceConverter.GetCompatibleDataset(TestData, PredictionKind, CategoricalFeatures, FastTreeTrainerOptions.CategoricalSplit) };
32 references to TestSets
Microsoft.ML.FastTree (32)
FastTree.cs (10)
72
/// In the training process, <see cref="TrainSet"/>, <see cref="ValidSet"/>, <see cref="
TestSets
"/> would be
443
if (
TestSets
!= null)
445
for (int i = 0; i <
TestSets
.Length; ++i)
447
GetDatasetStatistics(
TestSets
[i]), i);
833
for (int t = 0; t <
TestSets
.Length; ++t)
835
if (set ==
TestSets
[t])
838
st = OptimizationAlgorithm.GetScoreTracker(string.Format("test[{0}]", t),
TestSets
[t], initTestScores);
881
for (int i = 0;
TestSets
!= null && i <
TestSets
.Length; i++)
883
if (set ==
TestSets
[i])
FastTreeClassification.cs (4)
277
if (
TestSets
!= null)
279
for (int t = 0; t <
TestSets
.Length; ++t)
281
bool[] labels = GetClassificationLabelsFromRatings(
TestSets
[t]).ToArray();
282
Tests.Add(new BinaryClassificationTest(ConstructScoreTracker(
TestSets
[t]), labels, _sigmoidParameter));
FastTreeRanking.cs (4)
290
for (int t = 0;
TestSets
!= null && t <
TestSets
.Length; ++t)
292
Test test = CreateStandardTest(
TestSets
[t]);
453
return CreateStandardTest(
TestSets
[0]);
FastTreeRegression.cs (7)
222
if (
TestSets
!= null)
224
for (int t = 0; t <
TestSets
.Length; ++t)
225
Tests.Add(new RegressionTest(ConstructScoreTracker(
TestSets
[t])));
269
var firstTestSetTest = new RegressionTest(ConstructScoreTracker(
TestSets
[0]));
280
if (FastTreeTrainerOptions.PrintTrainValidGraph && _testRegressionTest == null &&
TestSets
!= null &&
TestSets
.Length > 0)
281
_testRegressionTest = new RegressionTest(ConstructScoreTracker(
TestSets
[0]));
FastTreeTweedie.cs (7)
228
if (
TestSets
!= null)
230
for (int t = 0; t <
TestSets
.Length; ++t)
231
Tests.Add(new RegressionTest(ConstructScoreTracker(
TestSets
[t])));
248
var firstTestSetTest = new RegressionTest(ConstructScoreTracker(
TestSets
[0]));
259
if (FastTreeTrainerOptions.PrintTrainValidGraph && _testRegressionTest == null &&
TestSets
!= null &&
TestSets
.Length > 0)
260
_testRegressionTest = new RegressionTest(ConstructScoreTracker(
TestSets
[0]));