From ec526d9b2e95bcbc7ed9c144b83233aa55e6c0f1 Mon Sep 17 00:00:00 2001 From: Agrimagsrl Date: Wed, 21 Oct 2020 14:53:43 +0200 Subject: [PATCH] fix typo --- micromlgen/xgboost.py | 1 - publish | 2 +- setup.py | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/micromlgen/xgboost.py b/micromlgen/xgboost.py index 529664f..63cc38d 100644 --- a/micromlgen/xgboost.py +++ b/micromlgen/xgboost.py @@ -33,7 +33,6 @@ def port_xgboost(clf, **kwargs): tmp.seek(0) decoded = json.load(tmp) trees = [format_tree(tree) for tree in decoded['learner']['gradient_booster']['model']['trees']] - print(trees) return jinja('xgboost/xgboost.jinja', { 'n_classes': int(decoded['learner']['learner_model_param']['num_class']), 'trees': trees, diff --git a/publish b/publish index 61a4270..b745c14 100755 --- a/publish +++ b/publish @@ -1,6 +1,6 @@ #!/bin/bash -#git push origin master -f +git push origin master -f rm -rf dist/* python setup.py sdist twine upload dist/* \ No newline at end of file diff --git a/setup.py b/setup.py index cff8f2d..32c2d3a 100644 --- a/setup.py +++ b/setup.py @@ -7,13 +7,13 @@ setup( name = 'micromlgen', packages = ['micromlgen'], - version = '1.1.11', + version = '1.1.12', license='MIT', description = 'Generate C code for microcontrollers from Python\'s sklearn classifiers', author = 'Simone Salerno', author_email = 'eloquentarduino@gmail.com', url = 'https://github.com/eloquentarduino/micromlgen', - download_url = 'https://github.com/eloquentarduino/micromlgen/archive/v_1111.tar.gz', + download_url = 'https://github.com/eloquentarduino/micromlgen/archive/v_1112.tar.gz', keywords = [ 'ML', 'microcontrollers',