Skip to content
This repository has been archived by the owner on May 25, 2024. It is now read-only.

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
agrimagsrl committed Oct 21, 2020
1 parent a9a59c4 commit ec526d9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion micromlgen/xgboost.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion publish
Original file line number Diff line number Diff line change
@@ -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/*
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '[email protected]',
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',
Expand Down

0 comments on commit ec526d9

Please sign in to comment.