Separate dependencies and lightweight test env for Python

This commit is contained in:
terrytangyuan
2016-02-28 20:09:09 -06:00
parent 5f70b4df7a
commit 803a6fe474
11 changed files with 301 additions and 286 deletions

View File

@@ -29,9 +29,6 @@ class TestEarlyStopping(unittest.TestCase):
eval_set=[(X_test, y_test)])
assert clf3.best_score == 1
# TODO: parallel test for early stopping
# TODO: comment out for now. Will re-visit later
def evalerror(self, preds, dtrain):
labels = dtrain.get_label()
return 'rmse', mean_squared_error(labels, preds)