Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 7bc6f52

Browse files
committed
Removing empty multiclass test as the case is tested by rnn test
1 parent 4b5929e commit 7bc6f52

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

skflow/tests/test_multioutput.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,6 @@ def testMultiRegression(self):
3535
score = mean_squared_error(regressor.predict(X), y)
3636
self.assertLess(score, 10, "Failed with score = {0}".format(score))
3737

38-
def testMultiClassification(self):
39-
"""TODO(ilblackdragon): Implement multi-output classification.
40-
"""
41-
random.seed(42)
42-
n_classes = 5
43-
X, y = datasets.make_multilabel_classification(n_classes=n_classes,
44-
random_state=42)
45-
#classifier = skflow.TensorFlowLinearClassifier(n_classes=n_classes)
46-
#classifier.fit(X, y)
47-
#score = accuracy_score(y, classifier.predict(X))
48-
#self.assertGreater(score, 0.5, "Failed with score = {0}".format(score))
49-
5038

5139
if __name__ == "__main__":
5240
tf.test.main()

0 commit comments

Comments
 (0)