diff options
author | David Luevano <55825613+luevano@users.noreply.github.com> | 2019-12-12 23:37:02 -0700 |
---|---|---|
committer | David Luevano <55825613+luevano@users.noreply.github.com> | 2019-12-12 23:37:02 -0700 |
commit | 36a50c3cbb6920b055962e10d75e8fd0939e7f82 (patch) | |
tree | b67458b620608049ea65e19c7f9da0af071aeb8e /do_ml.py | |
parent | 065ac868da9d5ae9cb1da628a953a96a6282b610 (diff) |
Setup for new benchmark and bugfix
Diffstat (limited to 'do_ml.py')
-rw-r--r-- | do_ml.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -68,7 +68,10 @@ def do_ml(desc_data, return None if not test_size: - test_size = d_len - training_size + if d_len - training_size > 1500: + test_size = 1500 + else: + test_size = d_len - training_size tic = time.perf_counter() if show_msgs: |