Sklearn-porter

Latest version: v0.7.3

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.7.3

Fixed

- Fix argument name in generated method name ([49](https://github.com/nok/sklearn-porter/commit/c8e7dbbf1d0ab660f4c3587d50111adf6a18b4e9))
- Fix parameter initialization of MLPClassifier/MLPRegressor ([33](https://github.com/nok/sklearn-porter/commit/672e0188b47e3b7624c6b9cba2e66ef3dc9145a1))

0.7.2

0.7.1

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

Fixed

- Fix indices format in RandomForestClassifier ([41](https://github.com/nok/sklearn-porter/pull/41), thanks [apasanen](https://github.com/apasanen))

Added

- Add Python 3.7 with Xenial to CI for testing
- Add [PyTest](https://docs.pytest.org) for extended testing (see [pytest.ini](pytest.ini))
- Add useful Makefile tasks with dependency handling (see [Makefile](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](tests)
- `make lint` to run pylint over [sklearn_porter](sklearn_porter)
- `make jupytext` to generate the notebooks from Python sources

Changed

- Core:
- Merge all meta information to `sklearn_porter/pypi.json`
- CI and requirements:
- Remove `conda` from CI
- Clear and split `pip` requirements into three parts:
- [requirements.txt](requirements.txt) for library requirements
- [requirements.examples.txt](requirements.examples.txt) for examples requirements
- [requirements.development.txt](requirements.development.txt) for development requirements
- Update extended requriements (e.g. GCC, PHP, ...)
- Utils:
- Refactor class [sklearn_porter.utils.Shell](sklearn_porter.utils.Shell) to remove redundancy
- Refactor CLI with a bunch of improvements (grouped arguments, use of console scripts)
- Testing:
- Change web server port for testing from `8080` to `8713` (because of collusion with the default port of Jenkins)
- Remove class [tests.utils.DependencyChecker](https://github.com/nok/sklearn-porter/blob/release/0.6.2/tests/utils/DependencyChecker.py), instead use [sklearn_porter.utils.Environment](https://github.com/nok/sklearn-porter/blob/release/0.7.0/sklearn_porter/utils/Environment.py)
- Remove class [tests.utils.Timer](https://github.com/nok/sklearn-porter/blob/release/0.6.2/tests/utils/Timer.py), instead use `--durations=0` of PyTest

0.6.2

Fixed

- Fix getter of transpiled estimator and remove filename manipulations ([b5efe78](https://github.com/nok/sklearn-porter/commit/b5efe78de9dd721f9135f65c525a3e8ab8b06f79))
- Fix and add binary to string conversion in Python 3.x ([bdcfb1f](https://github.com/nok/sklearn-porter/commit/bdcfb1ff4c076485a5fc3b00beaf81becec0717b))
- Fix and close open template file(s) ([b5efe78](https://github.com/nok/sklearn-porter/commit/b5efe78de9dd721f9135f65c525a3e8ab8b06f79))

0.6.1

Added

- Add new estimator:
- Go:
- `ensemble.RandomForestClassifier` ([PR 24](https://github.com/nok/sklearn-porter/pull/24) by [tpotega](https://github.com/tpotega))

Fixed

- Fix wrong method signature of the DecisionTreeClassifier in C ([Issue 23](https://github.com/nok/sklearn-porter/issues/23) by [sanjivsoni17](https://github.com/sanjivsoni17))

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.