Skip to content

Commit c8315d8

Browse files
committed
Tests Enabled and Dataset .cs files edited
1 parent 500d703 commit c8315d8

File tree

2 files changed

+25
-25
lines changed

2 files changed

+25
-25
lines changed

test/Microsoft.ML.Predictor.Tests/TestPredictors.cs

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public IList<TestDataset> GetDatasetsForBinaryClassifierMoreTest()
6565
TestDatasets.breastCancerBoolLabel,
6666
TestDatasets.breastCancerPipeMissing,
6767
TestDatasets.breastCancerPipeMissingFilter,
68-
TestDatasets.msm
68+
/*TestDatasets.msm */
6969
};
7070
}
7171

@@ -194,7 +194,7 @@ public void KMeansClusteringTest()
194194
Done();
195195
}
196196

197-
[Fact(Skip = "Need CoreTLC specific baseline update")]
197+
[Fact]
198198
[TestCategory("Binary")]
199199
[TestCategory("SDCA")]
200200
public void LinearClassifierTest()
@@ -225,7 +225,7 @@ public void BinaryClassifierLogisticRegressionTest()
225225
Done();
226226
}
227227

228-
[Fact(Skip = "Need CoreTLC specific baseline update")]
228+
[Fact]
229229
[TestCategory("Binary")]
230230
public void BinaryClassifierTesterThresholdingTest()
231231
{
@@ -333,7 +333,7 @@ public void FastForestClassificationTest()
333333
/// <summary>
334334
///A test for regressors
335335
///</summary>
336-
[Fact(Skip = "Need CoreTLC specific baseline update")]
336+
[Fact]
337337
[TestCategory("Regressor")]
338338
[TestCategory("FastForest")]
339339
public void FastForestRegressionTest()
@@ -350,7 +350,7 @@ public void FastForestRegressionTest()
350350
Done();
351351
}
352352

353-
[Fact(Skip = "Need CoreTLC specific baseline update")]
353+
[Fact]
354354
[TestCategory("Weighting Predictors")]
355355
[TestCategory("FastForest")]
356356
public void WeightingFastForestClassificationPredictorsTest()
@@ -401,7 +401,7 @@ public void FastTreeBinaryClassificationTest()
401401
Done();
402402
}
403403

404-
[Fact(Skip = "Need CoreTLC specific baseline update")]
404+
[Fact]
405405
[TestCategory("Binary")]
406406
[TestCategory("FastTree")]
407407
public void FastTreeBinaryClassificationCategoricalSplitTest()
@@ -421,7 +421,7 @@ public void FastTreeBinaryClassificationCategoricalSplitTest()
421421
Done();
422422
}
423423

424-
[Fact(Skip = "Need CoreTLC specific baseline update")]
424+
[Fact]
425425
[TestCategory("Regression")]
426426
[TestCategory("FastTree")]
427427
public void FastTreeRegressionCategoricalSplitTest()
@@ -440,7 +440,7 @@ public void FastTreeRegressionCategoricalSplitTest()
440440
Done();
441441
}
442442

443-
[Fact(Skip = "Need CoreTLC specific baseline update")]
443+
[Fact]
444444
[TestCategory("Binary")]
445445
[TestCategory("FastTree")]
446446
public void FastTreeBinaryClassificationNoOpGroupIdTest()
@@ -460,7 +460,7 @@ public void FastTreeBinaryClassificationNoOpGroupIdTest()
460460
Done();
461461
}
462462

463-
[Fact(Skip = "Need CoreTLC specific baseline update")]
463+
[Fact]
464464
[TestCategory("Binary")]
465465
[TestCategory("FastTree")]
466466
public void FastTreeHighMinDocsTest()
@@ -495,7 +495,7 @@ public void FastTreeRankingTest()
495495
Done();
496496
}
497497

498-
[Fact(Skip = "Need CoreTLC specific baseline update")]
498+
[Fact]
499499
[TestCategory("FastTree")]
500500
public void FastTreeRegressionTest()
501501
{
@@ -516,7 +516,7 @@ public void FastTreeRegressionTest()
516516
Done();
517517
}
518518

519-
[Fact(Skip = "Need CoreTLC specific baseline update")]
519+
[Fact]
520520
[TestCategory("FastTree")]
521521
public void GamRegressionTest()
522522
{
@@ -535,7 +535,7 @@ public void GamRegressionTest()
535535
Done();
536536
}
537537

538-
[Fact(Skip = "Need CoreTLC specific baseline update")]
538+
[Fact]
539539
[TestCategory("FastTree")]
540540
public void GamBinaryClassificationTest()
541541
{
@@ -555,7 +555,7 @@ public void GamBinaryClassificationTest()
555555
Done();
556556
}
557557

558-
[Fact(Skip = "Need CoreTLC specific baseline update")]
558+
[Fact]
559559
[TestCategory("FastTree")]
560560
public void FastTreeUnderbuiltRegressionTest()
561561
{
@@ -572,7 +572,7 @@ public void FastTreeUnderbuiltRegressionTest()
572572
/// <summary>
573573
///A test for binary classifiers
574574
///</summary>
575-
[Fact(Skip = "Need CoreTLC specific baseline update")]
575+
[Fact]
576576
[TestCategory("Binary")]
577577
public void BinaryClassifierLinearSvmTest()
578578
{
@@ -585,7 +585,7 @@ public void BinaryClassifierLinearSvmTest()
585585
/// <summary>
586586
/// A test for regressors
587587
/// </summary>
588-
[Fact(Skip = "Need CoreTLC specific baseline update")]
588+
[Fact]
589589
[TestCategory("Regressor")]
590590
[TestCategory("FastTree")]
591591
public void RegressorFastRankTest()
@@ -602,7 +602,7 @@ public void RegressorFastRankTest()
602602
/// <summary>
603603
/// A test for regressors.
604604
/// </summary>
605-
[Fact(Skip = "Need CoreTLC specific baseline update")]
605+
[Fact]
606606
[TestCategory("Regressor")]
607607
public void RegressorOgdTest()
608608
{
@@ -639,7 +639,7 @@ public void RegressorOlsTestOne()
639639
/// <summary>
640640
/// Test method for SDCA regression.
641641
/// </summary>
642-
[Fact(Skip = "Need CoreTLC specific baseline update")]
642+
[Fact]
643643
[TestCategory("Regressor")]
644644
[TestCategory("SDCAR")]
645645
public void RegressorSdcaTest()
@@ -1036,7 +1036,7 @@ public IList<TestDataset> GetDatasetsForCalibratorTest()
10361036
/// <summary>
10371037
///A test for calibrators
10381038
///</summary>
1039-
[Fact(Skip = "Need CoreTLC specific baseline update")]
1039+
[Fact]
10401040
[TestCategory("Calibrator")]
10411041
public void CalibratorPerceptronTest()
10421042
{
@@ -1059,7 +1059,7 @@ public void CalibratorPerceptronTest()
10591059
/// <summary>
10601060
///A test for calibrators
10611061
///</summary>
1062-
[Fact(Skip = "Need CoreTLC specific baseline update")]
1062+
[Fact]
10631063
[TestCategory("Calibrator")]
10641064
public void CalibratorLinearSvmTest()
10651065
{

test/Microsoft.ML.TestFramework/Datasets.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ public static class TestDatasets
196196
public static TestDataset adult = new TestDataset
197197
{
198198
name = "Census",
199-
trainFilename = @"..\UCI\adult.train",
200-
testFilename = @"..\UCI\adult.test",
199+
trainFilename = @"adult.train",
200+
testFilename = @"adult.test",
201201
loaderSettings = "loader=Text{sep=, header+ col=Label:14 col=Num:0,2,4,10-12 col=Cat:TX:1,3,5-9,13}",
202202
mamlExtraSettings = new[] { "xf=Cat{col=Cat}", "xf=Concat{col=Features:Num,Cat}" },
203203
extraSettings = @"/inst Text{header+ sep=, label=14 handler=Categorical{cols=5-9,1,13,3}}",
@@ -206,8 +206,8 @@ public static class TestDatasets
206206
public static TestDataset adultOnlyCat = new TestDataset
207207
{
208208
name = "Census-Cat-Only",
209-
trainFilename = @"..\UCI\adult.train",
210-
testFilename = @"..\UCI\adult.test",
209+
trainFilename = @"adult.train",
210+
testFilename = @"adult.test",
211211
loaderSettings = "loader=Text{sep=, header+ col=Label:14 col=Cat:TX:1,3,5-9,13}",
212212
mamlExtraSettings = new[] { "xf=Cat{col=Cat}", "xf=Concat{col=Features:Cat}" },
213213
extraSettings = @"/inst Text{header+ sep=, label=14 handler=Categorical{cols=5-9,1,13,3}}",
@@ -484,8 +484,8 @@ public static class TestDatasets
484484
public static TestDataset breastCancerDifferentlyWeighted = new TestDataset
485485
{
486486
name = "breast-cancer-weighted",
487-
trainFilename = @"ArtificiallyWeighted\breast-cancer-weights-quarter.txt",
488-
testFilename = @"ArtificiallyWeighted\breast-cancer-weights-quarter.txt",
487+
trainFilename =@"breast-cancer-weights-quarter.txt",
488+
testFilename = @"breast-cancer-weights-quarter.txt",
489489
loaderSettings = "loader=Text{col=Label:Num:1 col=Weight:Num:4 col=Features:Num:~}",
490490
};
491491

0 commit comments

Comments
 (0)