Sklearn Porter Versions Save

Transpile trained scikit-learn estimators to C, Java, JavaScript and others.

v0.7.2

5 years ago

0.7.1 and 0.7.2

These patches solve build problems in version 0.7.0.

Fixed

  • Fix installation issues with the centralised meta information and the build process
  • Fix missed package and add six to the requirements.txt file

0.7.0

This is a minor update before the next major release 1.0.0.

Fixed

  • Fix indices format in RandomForestClassifier (#41, thanks @apasanen)

Added

  • Add Python 3.7 with Xenial to CI for testing
  • Add PyTest for extended testing (see pytest.ini)
  • Add useful Makefile tasks with dependency handling (see Makefile):
    • install.environment to install a conda environment
    • install.requirements to install all pip requirements
    • make link to install porter (cli) to the command line
    • make open.examples to start a local jupyter server
    • make stop.examples to stop the started jupyter server
    • make test to run all unittests in tests
    • make lint to run pylint over sklearn_porter
    • make jupytext to generate the notebooks from Python sources

Changed

v0.6.2

6 years ago

Fixed

  • Fix getter of transpiled estimator and remove filename manipulations (#b5efe78)
  • Fix and add binary to string conversion in Python 3.x (#bdcfb1f)
  • Fix and close open template file(s) (#b5efe78)

v0.6.1

6 years ago

Added

  • Add new estimator:

Fixed

v0.6.0

6 years ago

Added

Changed

Removed

  • Hide the command-line argument --language and -l for the choice of the target programming language (#fc14a3b).

Fixed

  • Fix inaccuracies in neural_network.MLPRegressor and neural_network.MLPClassifier occurred by the transpiled tanh and identity activation functions (#6696410).
  • Fix installation problems with pip and Python 3 (#2935828, issue: #17)
  • Fix dynamic class name in the MLPClassifier template (#b988f57)

v0.5.2

6 years ago

Bugfix:

v0.5.1

6 years ago

v0.5.0

6 years ago

Bugfix:

Algorithms:

Changes:

  • Refactor tests and add new generic tests
  • Add breast_cancer, digits and iris dataset to all classifier tests
  • Add new environment variables N_RANDOM_FEATURE_SETS and N_EXISTING_FEATURE_SETS

v0.4.1

7 years ago

New features:

  • Add parameter 'use_repr' in the method export to control the output of pointing-float values.

v0.4.0

7 years ago

New features:

  • Prediction in the target programming language from Python
  • Computation of the accuracy between the ported and original estimator

v0.3.2

7 years ago

Add changes:

Package

  • Extend backwards compatibility (scikit-learn>=0.14.1) by refactoring the dependency handling, tests and examples

Fixed bugs:

AdaBoostClassifier, DecisionTreeClassifier & RandomForestClassifier