Skip to content

Releases: nok/sklearn-porter

v0.7.0-v0.7.2

20 Jan 13:14
@nok nok
Compare
Choose a tag to compare

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

03 Feb 22:10
@nok nok
Compare
Choose a tag to compare

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

03 Jan 12:10
@nok nok
Compare
Choose a tag to compare

Added

  • Add new estimator:

Fixed

v0.6.0

04 Dec 22:00
@nok nok
Compare
Choose a tag to compare

Added

Changed

  • Use human-readable placeholders (e.g. '{class_name}.{method_name}') instead of index-based placeholders (e.g. '{0}.{1}') in all main templates of all estimators (#de02795).
  • Change the order of optional and required arguments in the --help text (#54d9973).
  • Change the default representation of floating-point values from repr(x) to str(x) (#7f9fac8).
  • Use the method name integrity_score(X) instead of predict_test(X) to avoid misconceptions for the integrity test (#715ec7d).
  • Separate the model data from the algorithm:
Read more

v0.5.2

26 Aug 21:41
@nok nok
Compare
Choose a tag to compare

Bugfix:

  • Add possibility using the best estimators of optimizers automatically #18

v0.5.1

26 Aug 21:33
@nok nok
Compare
Choose a tag to compare

Bugfix:

  • Fix installation bug #17

v0.5.0

26 May 21:55
@nok nok
Compare
Choose a tag to compare

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

16 Apr 21:01
@nok nok
Compare
Choose a tag to compare

New features:

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

v0.4.0

24 Mar 00:01
@nok nok
Compare
Choose a tag to compare

New features:

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

v0.3.2

29 Jan 22:25
@nok nok
Compare
Choose a tag to compare

Add changes:

Package

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

Fixed bugs:

AdaBoostClassifier, DecisionTreeClassifier & RandomForestClassifier

  • Fix error with negative indices (#5)