Commit 4e9b589b authored by Guolin Ke's avatar Guolin Ke
Browse files

update tests.

parent 09ac3485
data=../../examples/regression/regression.test data=../data/categorical.data
input_model=LightGBM_model.txt input_model=LightGBM_model.txt
......
data=../../examples/regression/regression.train data=../data/categorical.data
app=binary
num_trees=10 num_trees=10
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -60,6 +60,3 @@ class TestBasic(unittest.TestCase): ...@@ -60,6 +60,3 @@ class TestBasic(unittest.TestCase):
for preds in zip(pred_early_stopping, pred_from_matr): for preds in zip(pred_early_stopping, pred_from_matr):
# scores likely to be different, but prediction should still be the same # scores likely to be different, but prediction should still be the same
self.assertEqual(preds[0] > 0, preds[1] > 0) self.assertEqual(preds[0] > 0, preds[1] > 0)
# check pmml
subprocess.call(['python', os.path.join(os.path.dirname(os.path.realpath(__file__)), '../../pmml/pmml.py'), 'model.txt'])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment