Skip to content

Commit c83e984

Browse files
committed
Update test core according to the new reference JSON reports
1 parent 8bc3b96 commit c83e984

1 file changed

Lines changed: 25 additions & 18 deletions

File tree

tests/test_core.py

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ def test_analysis_results(self):
5050
"AnsiGreek",
5151
"AnsiLatin",
5252
"AnsiLatinGreek",
53-
"AnyChar",
5453
"BadTool",
5554
"Deft2017ChallengeNGrams1000",
5655
"EmptyDatabase",
@@ -61,7 +60,6 @@ def test_analysis_results(self):
6160
"IrisR",
6261
"IrisU",
6362
"IrisU2D",
64-
"LargeSpiral",
6563
"Latin",
6664
"LatinGreek",
6765
"MissingDiscretization",
@@ -1163,25 +1161,25 @@ def test_analysis_results_accessors(self):
11631161
],
11641162
"AdultEvaluation": None,
11651163
"Iris2D": [
1164+
"PetalWidth",
11661165
"SPetalLength",
11671166
"PetalLength",
1168-
"PetalWidth",
1169-
"Class2",
11701167
"LowerPetalLength",
11711168
"Class1",
1169+
"Class2",
11721170
"UpperPetalWidth",
11731171
"SepalLength",
11741172
"SepalWidth",
11751173
"Dummy1",
11761174
"Dummy2",
11771175
],
11781176
"IrisC": [
1177+
"PetalWidth",
11791178
"SPetalLength",
11801179
"PetalLength",
1181-
"PetalWidth",
1182-
"Class2",
11831180
"LowerPetalLength",
11841181
"Class1",
1182+
"Class2",
11851183
"UpperPetalWidth",
11861184
"SepalLength",
11871185
"SepalWidth",
@@ -1194,9 +1192,9 @@ def test_analysis_results_accessors(self):
11941192
"PetalWidth",
11951193
"LowerPetalLength",
11961194
"Class1",
1195+
"UpperPetalWidth",
11971196
"SepalLength",
11981197
"Class2",
1199-
"UpperPetalWidth",
12001198
"SepalWidth",
12011199
"Dummy1",
12021200
"Dummy2",
@@ -1216,11 +1214,11 @@ def test_analysis_results_accessors(self):
12161214
("Dummy2", "SepalWidth"),
12171215
("Dummy2", "UpperPetalWidth"),
12181216
("SepalWidth", "UpperPetalWidth"),
1219-
("Class2", "SepalLength"),
1220-
("SepalLength", "SepalWidth"),
1221-
("Class2", "SepalWidth"),
12221217
("Class2", "UpperPetalWidth"),
1218+
("SepalLength", "SepalWidth"),
1219+
("Class2", "SepalLength"),
12231220
("Class1", "SepalWidth"),
1221+
("Class2", "SepalWidth"),
12241222
("LowerPetalLength", "SepalWidth"),
12251223
("PetalWidth", "SepalWidth"),
12261224
("SPetalLength", "SepalWidth"),
@@ -1256,21 +1254,30 @@ def test_analysis_results_accessors(self):
12561254
},
12571255
"ModelingReport": {
12581256
"get_predictor_names": {
1259-
"Adult": ["Selective Naive Bayes"],
1260-
"Iris2D": ["Selective Naive Bayes"],
1261-
"IrisC": ["Selective Naive Bayes"],
1262-
"IrisR": ["Selective Naive Bayes"]
1257+
"Adult": ["Selective Naive Bayes", "Univariate relationship"],
1258+
"Iris2D": ["Selective Naive Bayes", "Univariate PetalWidth"],
1259+
"IrisC": ["Selective Naive Bayes", "Univariate PetalWidth"],
1260+
"IrisR": [
1261+
"Baseline",
1262+
"Selective Naive Bayes",
1263+
"Univariate SPetalLength",
1264+
],
12631265
}
12641266
},
12651267
"EvaluationReport": {
12661268
"get_predictor_names": {
1267-
"Adult": ["Selective Naive Bayes"],
1269+
"Adult": ["Selective Naive Bayes", "Univariate relationship"],
12681270
"AdultEvaluation": [
12691271
"Selective Naive Bayes",
1272+
"Univariate relationship",
1273+
],
1274+
"Iris2D": ["Selective Naive Bayes", "Univariate PetalWidth"],
1275+
"IrisC": ["Selective Naive Bayes", "Univariate PetalWidth"],
1276+
"IrisR": [
1277+
"Baseline",
1278+
"Selective Naive Bayes",
1279+
"Univariate SPetalLength",
12701280
],
1271-
"Iris2D": ["Selective Naive Bayes"],
1272-
"IrisC": ["Selective Naive Bayes"],
1273-
"IrisR": ["Selective Naive Bayes"],
12741281
}
12751282
},
12761283
"PredictorPerformance": {

0 commit comments

Comments
 (0)