Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions tests/nn_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,6 @@ def test_nn_conf_dict():
clf = TPOTClassifier(config_dict=classifier_config_nn)
assert clf.config_dict == classifier_config_nn

def test_nn_errors_on_multiclass():
"""Assert that TPOT-NN throws an error when you try to pass training data with > 2 classes. (NN)"""
clf = TPOTClassifier(
random_state=42,
population_size=1,
generations=1,
config_dict=classifier_config_nn,
template='PytorchLRClassifier'
)
assert_raises(ValueError, clf.fit, multiclass_X, multiclass_y)

def test_pytorch_lr_classifier():
"""Assert that the PytorchLRClassifier model works. (NN)"""
clf = nn.PytorchLRClassifier(
Expand Down