Recent Releases of sklearn-porter
sklearn-porter - v0.7.0-v0.7.2
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
sixto therequirements.txtfile
0.7.0
This is a minor update before the next major release 1.0.0.
Fixed
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.environmentto install acondaenvironmentinstall.requirementsto install allpiprequirementsmake linkto installporter(cli) to the command linemake open.examplesto start a local jupyter servermake stop.examplesto stop the started jupyter servermake testto run all unittests in testsmake lintto run pylint over sklearn_portermake jupytextto generate the notebooks from Python sources
Changed
- Core:
- Merge all meta information to
sklearn_porter/package.json
- Merge all meta information to
- CI and requirements:
- Remove
condafrom CI - Clear and split
piprequirements into three parts:- requirements.txt for library requirements
- requirements.examples.txt for examples requirements
- requirements.development.txt for development requirements
- Update extended requriements (e.g. GCC, PHP, ...)
- Remove
- Utils:
- Refactor class 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
8080to8713(because of collusion with the default port of Jenkins) - Remove class tests.utils.DependencyChecker, instead use sklearn_porter.utils.Environment
- Remove class tests.utils.Timer, instead use
--durations=0of PyTest
- Change web server port for testing from
- Python
Published by nok over 7 years ago
sklearn-porter - v0.6.2
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)
- Python
Published by nok over 8 years ago
sklearn-porter - v0.6.1
Added
Fixed
- Fix wrong method signature of the DecisionTreeClassifier in C (Issue #23 by sanjivsoni17)
- Python
Published by nok over 8 years ago
sklearn-porter - v0.6.0
Added
- Add changelog.md for the next releases (#ee44ac9).
- Add changelog.md and readme.md to each build of a release (#ee44ac9).
- Add for each target programming language a new new command-line argument (e.g.
--java,--cor--go) (#41b93a0). - Add argument
--class_nameand--method_nameto define the class and method name in the final output directly (#6f2a1d9). - Add pipe functionality and the related command-line argument (
--pipeor-p) (#8a57746). - Add
--exportargument to dump the model data and use the specific templates (#0669645). - Add
--checksumargument to append the computed md5 checksum at the end of the dumped model data file (#cd12827). - Add
--dataargument to kust export the model data (#fad499a). - Add test class
Gointests/language/Go.pyto test all implementations for the target programming language Go (#1d0b5d6). - Add Go compiling (
go build -o brain brain.go) and execution (./brain) command (#5d24f57). - Add initial Web Workers features in JavaScript templates (#87d3236) and a create seperate example (#187efac).
- Add the feature to read the estimator from a used Pipeline (#b92edff, issue: #18).
- Add a new class argument (
num_format=lambda x: str(x)) to change the default representation of floating-point values (#7f9fac8). - Use estimator name as default class name (e.g.
MLPClasifier,KNeighborsClassifier,SVC, ...) (#710a854). - Add new estimator:
- Add support to export and import model data:
- Java:
svm.SVCnotebook (#e753252)svm.NuSVCnotebook (#e753252)svm.LinearSVCnotebook (#562ed8c)ensemble.AdaBoostClassifiernotebook (#79d846f)ensemble.RandomForestClassifiernotebook (#9979a94)ensemble.ExtraTreesClassifiernotebook (#9979a94)tree.DecisionTreeClassifiernotebook (#9979a94)neighbors.KNeighborsClassifiernotebook (#1b81d3f)naive_bayes.GaussianNBnotebook (#b68c5df)naive_bayes.BernoulliNBnotebook (#7eae57d)neural_network.MLPClassifiernotebook (#b988f57, #d8ff774)
- JavaScript:
- Java:
- Add new recipes:
- JavaScript:
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
--helptext (#54d9973). - Change the default representation of floating-point values from
repr(x)tostr(x)(#7f9fac8). - Use the method name
integrity_score(X)instead ofpredict_test(X)to avoid misconceptions for the integrity test (#715ec7d). - Separate the model data from the algorithm:
tree.DecisionTreeClassifier(#f669aab, #bba6296, #b727186, #e2740fd, #5c9da8a)neighbors.KNeighborsClassifier(#59a0e91, #1ac5d8a)neural_network.MLPClassifier(#635da46, #7d31668, #78296e2, #4cdcfde, #7820508, #7820508)neural_network.MLPRegressor(#60d9d42, #e4a8169)naive_bayes.GaussianNB(#1ac5d8a)naive_bayes.BernoulliNB(#ff82bb8, #3c57a06)svm.SVCandsvm.NuSVC(#4745d8b, #5f77e4d, #59831da, #cd8f52e, #c483d25)svm.LinearSVC(#bb617c7)
Removed
- Hide the command-line argument
--languageand-lfor the choice of the target programming language (#fc14a3b).
Fixed
- Fix inaccuracies in
neural_network.MLPRegressorandneural_network.MLPClassifieroccurred 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
MLPClassifiertemplate (#b988f57)
- Python
Published by nok over 8 years ago
sklearn-porter - v0.5.2
Bugfix:
- Add possibility using the best estimators of optimizers automatically https://github.com/nok/sklearn-porter/issues/18
- Python
Published by nok almost 9 years ago
sklearn-porter - v0.5.1
Bugfix:
- Fix installation bug https://github.com/nok/sklearn-porter/issues/17
- Python
Published by nok almost 9 years ago
sklearn-porter - v0.5.0
Bugfix:
- Fix voting mechanism in sklearn.svm.SVC (commit)
Algorithms:
- Add first regressor: sklearn.neural_network.MLPRegressor ✨
- Add binary classification to:
- Add JavaScript syntax for sklearn.naive_bayes.GaussianNB
Changes:
- Refactor tests and add new generic tests
- Add
breast_cancer,digitsandirisdataset to all classifier tests - Add new environment variables
N_RANDOM_FEATURE_SETSandN_EXISTING_FEATURE_SETS
- Python
Published by nok about 9 years ago
sklearn-porter - v0.4.1
New features:
- Add parameter 'use_repr' in the method export to control the output of pointing-float values.
- Python
Published by nok about 9 years ago
sklearn-porter - v0.4.0
New features:
- Prediction in the target programming language from Python
- Computation of the accuracy between the ported and original estimator
- Python
Published by nok over 9 years ago
sklearn-porter - v0.3.2
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 (https://github.com/nok/sklearn-porter/issues/5)
- Python
Published by nok over 9 years ago
sklearn-porter - v0.3.1
Fixed bugs:
SVC & NuSVC
- The size of the initialized arrays was too small (https://github.com/nok/sklearn-porter/issues/7)
- Python
Published by nok over 9 years ago
sklearn-porter - v0.3.0
New algorithm support:
Java
- sklearn.neighbors.KNeighborsClassifier
- sklearn.naive_bayes.GaussianNB
- sklearn.naive_bayes.BernoulliNB
JavaScript
- sklearn.svm.SVC
- sklearn.neighbors.KNeighborsClassifier
PHP
- sklearn.svm.SVC
- sklearn.svm.LinearSVC
- sklearn.tree.DecisionTreeClassifier
Ruby
- sklearn.svm.LinearSVC
- Python
Published by nok over 9 years ago
sklearn-porter - v0.2.1
Fix:
- Imports on the CLI by using Python (>= v3.3) #3
- Python
Published by nok over 9 years ago
sklearn-porter - v0.2.0
New algorithm support:
C
- sklearn.svm.SVC
- sklearn.tree.DecisionTreeClassifier
- sklearn.ensemble.RandomForestClassifier
- sklearn.ensemble.ExtraTreesClassifier
- sklearn.ensemble.AdaBoostClassifier
- Python
Published by nok over 9 years ago
sklearn-porter - v0.1.0
Description:
Release first stable version.
New algorithm support:
C
- sklearn.svm.LinearSVC
Java
- sklearn.svm.SVC
- sklearn.svm.LinearSVC
- sklearn.tree.DecisionTreeClassifier
- sklearn.ensemble.RandomForestClassifier
- sklearn.ensemble.ExtraTreesClassifier
- sklearn.ensemble.AdaBoostClassifier
- sklearn.neural_network.MLPClassifier
JavaScript
- sklearn.svm.LinearSVC
- sklearn.tree.DecisionTreeClassifier
- sklearn.ensemble.RandomForestClassifier
- sklearn.ensemble.ExtraTreesClassifier
- sklearn.ensemble.AdaBoostClassifier
- sklearn.neural_network.MLPClassifier
Go
- sklearn.svm.LinearSVC
- Python
Published by nok over 9 years ago