pymilo


Namepymilo JSON
Version 0.6 PyPI version JSON
download
home_pagehttps://github.com/openscilab/pymilo
SummaryTransportation of ML models
upload_time2024-03-27 11:16:27
maintainerNone
docs_urlNone
authorPyMilo Development Team
requires_python>=3.6
licenseMIT
keywords python3 python machine_learning ml
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            
<div align="center">
    <img src="https://github.com/openscilab/pymilo/raw/main/otherfiles/logo.png" width="500" height="300">
    <br/>
    <br/>
    <a href="https://codecov.io/gh/openscilab/pymilo">
        <img src="https://codecov.io/gh/openscilab/pymilo/branch/main/graph/badge.svg" alt="Codecov"/>
    </a>
    <a href="https://badge.fury.io/py/pymilo">
        <img src="https://badge.fury.io/py/pymilo.svg" alt="PyPI version" height="18">
    </a>
    <a href="https://www.python.org/">
        <img src="https://img.shields.io/badge/built%20with-Python3-green.svg" alt="built with Python3">
    </a>
    <a href="https://discord.gg/mtuMS8AjDS">
        <img src="https://img.shields.io/discord/1064533716615049236.svg" alt="Discord Channel">
    </a>
</div>

----------

## Table of contents

* [Overview](https://github.com/openscilab/pymilo#overview)
* [Installation](https://github.com/openscilab/pymilo#installation)
* [Usage](https://github.com/openscilab/pymilo#usage)
* [Issues & Bug Reports](https://github.com/openscilab/pymilo#issues--bug-reports)
* [Contribution](https://github.com/openscilab/pymilo/blob/main/.github/CONTRIBUTING.md)
* [Authors](https://github.com/openscilab/pymilo/blob/main/AUTHORS.md)
* [License](https://github.com/openscilab/pymilo/blob/main/LICENSE)
* [Show Your Support](https://github.com/openscilab/pymilo#show-your-support)
* [Changelog](https://github.com/openscilab/pymilo/blob/main/CHANGELOG.md)
* [Code of Conduct](https://github.com/openscilab/pymilo/blob/main/.github/CODE_OF_CONDUCT.md)


## Overview
<p align="justify">
PyMilo is an open source Python package that provides a simple, efficient, and safe way for users to export pre-trained machine learning models in a transparent way. By this, the exported model can be used in other environments, transferred across different platforms, and shared with others. PyMilo allows the users to export the models that are trained using popular Python libraries like scikit-learn, and then use them in deployment environments, or share them without exposing the underlying code or dependencies. The transparency of the exported models ensures reliability and safety for the end users, as it eliminates the risks of binary or pickle formats.
</p>
<table>
    <tr>
        <td align="center">PyPI Counter</td>
        <td align="center">
            <a href="http://pepy.tech/project/pymilo">
                <img src="http://pepy.tech/badge/pymilo">
            </a>
        </td>
    </tr>
    <tr>
        <td align="center">Github Stars</td>
        <td align="center">
            <a href="https://github.com/openscilab/pymilo">
                <img src="https://img.shields.io/github/stars/openscilab/pymilo.svg?style=social&label=Stars">
            </a>
        </td>
    </tr>
</table>
<table>
    <tr> 
        <td align="center">Branch</td>
        <td align="center">main</td>
        <td align="center">dev</td>
    </tr>
    <tr>
        <td align="center">CI</td>
        <td align="center">
            <img src="https://github.com/openscilab/pymilo/actions/workflows/test.yml/badge.svg?branch=main">
        </td>
        <td align="center">
            <img src="https://github.com/openscilab/pymilo/actions/workflows/test.yml/badge.svg?branch=dev">
            </td>
    </tr>
</table>

<table>
	<tr> 
		<td align="center">Code Quality</td>
		<td align="center"><a href="https://www.codefactor.io/repository/github/openscilab/pymilo"><img src="https://www.codefactor.io/repository/github/openscilab/pymilo/badge" alt="CodeFactor" /></a></td>
		<td align="center"><a href="https://app.codacy.com/gh/openscilab/pymilo/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade"><img src="https://app.codacy.com/project/badge/Grade/9eeec99ed11f4d9b86af36dc90f5f753"></a></td>
		<td align="center"><a href="https://codebeat.co/projects/github-com-openscilab-pymilo-dev"><img alt="codebeat badge" src="https://codebeat.co/badges/1259254f-39fc-4491-8469-17d8a43b6697" /></a></td>
	</tr>
</table>


## Installation

### PyPI

- Check [Python Packaging User Guide](https://packaging.python.org/installing/)
- Run `pip install pymilo==0.6`
### Source code
- Download [Version 0.6](https://github.com/openscilab/pymilo/archive/v0.6.zip) or [Latest Source](https://github.com/openscilab/pymilo/archive/dev.zip)
- Run `pip install .`

## Usage
### Model preparation 
```pycon
>>> from sklearn import datasets
>>> from pymilo import Export, Import
>>> from sklearn.linear_model import LinearRegression
>>> import os
>>> X, Y = datasets.load_diabetes(return_X_y=True)
>>> threshold = 20
>>> X_train, X_test = X[:-threshold], X[-threshold:]
>>> Y_train, Y_test = Y[:-threshold], Y[-threshold:]
>>> model = LinearRegression()
>>> #### Train the model using the training sets
>>> model.fit(X_train, Y_train)
```
### Save model 
```pycon
>>> #### Export the fitted model to a transparent json file
>>> exported_model = Export(model)
>>> PATH_TO_JSON_FILE = os.path.join(os.getcwd(),"test.json")
>>> exported_model.save(PATH_TO_JSON_FILE)
```
### Load model
```pycon
>>> #### Import the pymilo-exported model and get a real scikit model
>>> imported_model = Import(PATH_TO_JSON_FILE)
```
### Get the associated model
```pycon 
>>> imported_sklearn_model = imported_model.to_model()
```
#### Note: `imported_sklearn_model` has the **exact same** functionality as the `model` object earlier.

## Supported ML models
| scikit-learn | PyTorch | 
| ---------------- | ---------------- | 
| Linear Models &#x2705; | - | 
| Neural networks &#x2705; | -  | 
| Trees &#x2705; | -  | 
| Clustering &#x2705; | -  | 
| Naïve Bayes &#x2705; | -  | 
| Support vector machines (SVMs) &#x2705; | -  | 
| Nearest Neighbors &#x274C; | -  | 
| Ensemble Models &#x274C; | - | 
Details are available in [Supported Models](https://github.com/openscilab/pymilo/blob/main/SUPPORTED_MODELS.md).

## Issues & bug reports

Just fill an issue and describe it. We'll check it ASAP! or send an email to [pymilo@openscilab.com](mailto:pymilo@openscilab.com "pymilo@openscilab.com"). 

- Please complete the issue template
 
You can also join our discord server

<a href="https://discord.gg/mtuMS8AjDS">
  <img src="https://img.shields.io/discord/1064533716615049236.svg?style=for-the-badge" alt="Discord Channel">
</a>


## Show your support


### Star this repo

Give a ⭐️ if this project helped you!

### Donate to our project
If you do like our project and we hope that you do, can you please support us? Our project is not and is never going to be working for profit. We need the money just so we can continue doing what we do ;-) .			

<a href="https://openscilab.com/#donation" target="_blank"><img src="https://github.com/openscilab/pymilo/raw/main/otherfiles/donation.png" height="90px" width="270px" alt="PyMilo Donation"></a>

# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Added
### Changed

## [0.6] - 2024-03-27
### Added
- `deserialize_primitive_type` function in `GeneralDataStructureTransporter`
- `is_deserialized_ndarray` function in `GeneralDataStructureTransporter`
- `deep_deserialize_ndarray` function in `GeneralDataStructureTransporter`
- `deep_serialize_ndarray`  function in `GeneralDataStructureTransporter`
- `SVR` model
- `SVC` model
- `One Class SVM` model
- `NuSVR` model
- `NuSVC` model
- `Linear SVR` model
- `Linear SVC` model
- SVM models test runner
- SVM chain
### Changed
- `pymilo_param.py` updated
- `pymilo_obj.py` updated to use predefined strings
- `TreeTransporter` updated
- `get_homogeneous_type` function in `util.py` updated
- `GeneralDataStructureTransporter` updated to use deep ndarray serializer & deserializer
- `check_str_in_iterable` updated
- `Label Binarizer` Transporter updated
- `Function` Transporter updated
- `CFNode` Transporter updated
- `Bisecting Tree` Transporter updated
- Tests config modified
- SVM params initialized in `pymilo_param`
- SVM support added to `pymilo_func.py`
- `SUPPORTED_MODELS.md` updated
- `README.md` updated
## [0.5] - 2024-01-31
### Added
- `reset` function in the `Transport` interface
- `reset` function implementation in `AbstractTransporter`
- `Gaussian Naive Bayes` declared as `GaussianNB` model 
- `Multinomial Naive Bayes` model declared as `MultinomialNB` model
- `Complement Naive Bayes` model declared as `ComplementNB` model
- `Bernoulli Naive Bayes` model declared as `BernoulliNB` model
- `Categorical Naive Bayes` model declared as `CategoricalNB` model
- Naive Bayes models test runner
- Naive Bayes chain
### Changed
- `Transport` function of `AbstractTransporter` updated
- fix the order of `CFNode` fields serialization in `CFNodeTransporter`
- `GeneralDataStructureTransporter` support list of ndarray with different shapes
- Tests config modified
- Naive Bayes params initialized in `pymilo_param`
- Naive Bayes support added to `pymilo_func.py`
- `SUPPORTED_MODELS.md` updated
- `README.md` updated
## [0.4] - 2024-01-22
### Added
- `has_named_parameter` method in `util.py`
- `CFSubcluster` Transporter(inside `CFNode` Transporter)
- `CFNode` Transporter
- `Birch` model
- `SpectralBiclustering` model
- `SpectralCoclustering` model
- `MiniBatchKMeans` model
- `feature_request.yml` template
- `config.yml` for issue template
- `BayesianGaussianMixture` model
- `serialize_tuple` method in `GeneralDataStructureTransporter`
- `import_function` method in `util.py`
- `Function` Transporter
- `FeatureAgglomeration` model
- `HDBSCAN` model
- `GaussianMixture` model
- `OPTICS` model
- `DBSCAN` model
- `AgglomerativeClustering` model
- `SpectralClustering` model
- `MeanShift` model 
- `AffinityPropagation` model
- `Kmeans` model
- Clustering models test runner
- Clustering chain 
### Changed
- `LossFunctionTransporter` enhanced to handle scikit 1.4.0 `_loss_function_` field
- Codacy Static Code Analyzer's suggestions applied
- Spectral Clustering test folder refactored
- Bug report template modified
- `GeneralDataStructureTransporter` updated
- Tests config modified
- Clustering data set preparation added to `data_exporter.py`
- Clustering params initialized in `pymilo_param`
- Clustering support added to `pymilo_func.py`
- `Python 3.12` added to `test.yml`
- `dev-requirements.txt` updated
- Code quality badges added to `README.md`
- `SUPPORTED_MODELS.md` updated
- `README.md` updated
## [0.3] - 2023-09-27
### Added
- scikit-learn decision tree models
- `ExtraTreeClassifier` model
- `ExtraTreeRegressor` model
- `DecisionTreeClassifier` model
- `DecisionTreeRegressor` model
- `Tree` Transporter
- Decision Tree chain
### Changed
- Tests config modified
- DecisionTree params initialized in `pymilo_param`
- Decision Tree support added to `pymilo_func.py`
## [0.2] - 2023-08-02
### Added
- scikit-learn neural network models 
- `MLP Regressor` model 
- `MLP Classifier` model
- `BernoulliRBN` model
- `SGDOptimizer` transporter
- `RandomState(MT19937)` transporter
- `Adamoptimizer` transporter
- Neural Network chain
- Neural Network exceptions 
- `ndarray_to_list` method in `GeneralDataStructureTransporter`
- `list_to_ndarray` method in `GeneralDataStructureTransporter` 
- `neural_network_chain.py` chain
### Changed
- `GeneralDataStructure` Transporter updated
- `LabelBinerizer` Transporter updated
- `linear model` chain updated
- GeneralDataStructure transporter enhanced
- LabelBinerizer transporter updated
- transporters' chain router added to `pymilo func`
- NeuralNetwork params initialized in `pymilo_param`
- `pymilo_test` updated to support multiple models
- `linear_model_chain` refactored
## [0.1] - 2023-06-29
### Added
- scikit-learn linear models support
- `Export` class
- `Import` class

[Unreleased]: https://github.com/openscilab/pymilo/compare/v0.6...dev
[0.6]: https://github.com/openscilab/pymilo/compare/v0.5...v0.6
[0.5]: https://github.com/openscilab/pymilo/compare/v0.4...v0.5
[0.4]: https://github.com/openscilab/pymilo/compare/v0.3...v0.4
[0.3]: https://github.com/openscilab/pymilo/compare/v0.2...v0.3
[0.2]: https://github.com/openscilab/pymilo/compare/v0.1...v0.2
[0.1]: https://github.com/openscilab/pymilo/compare/e887108...v0.1

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/openscilab/pymilo",
    "name": "pymilo",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "python3 python machine_learning ML",
    "author": "PyMilo Development Team",
    "author_email": "pymilo@openscilab.com",
    "download_url": "https://files.pythonhosted.org/packages/f1/12/29cc4f02fd3770b98bafdde608325ddc8426a2d3a609ae5d081657f6cd7a/pymilo-0.6.tar.gz",
    "platform": null,
    "description": "\n<div align=\"center\">\n    <img src=\"https://github.com/openscilab/pymilo/raw/main/otherfiles/logo.png\" width=\"500\" height=\"300\">\n    <br/>\n    <br/>\n    <a href=\"https://codecov.io/gh/openscilab/pymilo\">\n        <img src=\"https://codecov.io/gh/openscilab/pymilo/branch/main/graph/badge.svg\" alt=\"Codecov\"/>\n    </a>\n    <a href=\"https://badge.fury.io/py/pymilo\">\n        <img src=\"https://badge.fury.io/py/pymilo.svg\" alt=\"PyPI version\" height=\"18\">\n    </a>\n    <a href=\"https://www.python.org/\">\n        <img src=\"https://img.shields.io/badge/built%20with-Python3-green.svg\" alt=\"built with Python3\">\n    </a>\n    <a href=\"https://discord.gg/mtuMS8AjDS\">\n        <img src=\"https://img.shields.io/discord/1064533716615049236.svg\" alt=\"Discord Channel\">\n    </a>\n</div>\n\n----------\n\n## Table of contents\n\n* [Overview](https://github.com/openscilab/pymilo#overview)\n* [Installation](https://github.com/openscilab/pymilo#installation)\n* [Usage](https://github.com/openscilab/pymilo#usage)\n* [Issues & Bug Reports](https://github.com/openscilab/pymilo#issues--bug-reports)\n* [Contribution](https://github.com/openscilab/pymilo/blob/main/.github/CONTRIBUTING.md)\n* [Authors](https://github.com/openscilab/pymilo/blob/main/AUTHORS.md)\n* [License](https://github.com/openscilab/pymilo/blob/main/LICENSE)\n* [Show Your Support](https://github.com/openscilab/pymilo#show-your-support)\n* [Changelog](https://github.com/openscilab/pymilo/blob/main/CHANGELOG.md)\n* [Code of Conduct](https://github.com/openscilab/pymilo/blob/main/.github/CODE_OF_CONDUCT.md)\n\n\n## Overview\n<p align=\"justify\">\nPyMilo is an open source Python package that provides a simple, efficient, and safe way for users to export pre-trained machine learning models in a transparent way. By this, the exported model can be used in other environments, transferred across different platforms, and shared with others. PyMilo allows the users to export the models that are trained using popular Python libraries like scikit-learn, and then use them in deployment environments, or share them without exposing the underlying code or dependencies. The transparency of the exported models ensures reliability and safety for the end users, as it eliminates the risks of binary or pickle formats.\n</p>\n<table>\n    <tr>\n        <td align=\"center\">PyPI Counter</td>\n        <td align=\"center\">\n            <a href=\"http://pepy.tech/project/pymilo\">\n                <img src=\"http://pepy.tech/badge/pymilo\">\n            </a>\n        </td>\n    </tr>\n    <tr>\n        <td align=\"center\">Github Stars</td>\n        <td align=\"center\">\n            <a href=\"https://github.com/openscilab/pymilo\">\n                <img src=\"https://img.shields.io/github/stars/openscilab/pymilo.svg?style=social&label=Stars\">\n            </a>\n        </td>\n    </tr>\n</table>\n<table>\n    <tr> \n        <td align=\"center\">Branch</td>\n        <td align=\"center\">main</td>\n        <td align=\"center\">dev</td>\n    </tr>\n    <tr>\n        <td align=\"center\">CI</td>\n        <td align=\"center\">\n            <img src=\"https://github.com/openscilab/pymilo/actions/workflows/test.yml/badge.svg?branch=main\">\n        </td>\n        <td align=\"center\">\n            <img src=\"https://github.com/openscilab/pymilo/actions/workflows/test.yml/badge.svg?branch=dev\">\n            </td>\n    </tr>\n</table>\n\n<table>\n\t<tr> \n\t\t<td align=\"center\">Code Quality</td>\n\t\t<td align=\"center\"><a href=\"https://www.codefactor.io/repository/github/openscilab/pymilo\"><img src=\"https://www.codefactor.io/repository/github/openscilab/pymilo/badge\" alt=\"CodeFactor\" /></a></td>\n\t\t<td align=\"center\"><a href=\"https://app.codacy.com/gh/openscilab/pymilo/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade\"><img src=\"https://app.codacy.com/project/badge/Grade/9eeec99ed11f4d9b86af36dc90f5f753\"></a></td>\n\t\t<td align=\"center\"><a href=\"https://codebeat.co/projects/github-com-openscilab-pymilo-dev\"><img alt=\"codebeat badge\" src=\"https://codebeat.co/badges/1259254f-39fc-4491-8469-17d8a43b6697\" /></a></td>\n\t</tr>\n</table>\n\n\n## Installation\n\n### PyPI\n\n- Check [Python Packaging User Guide](https://packaging.python.org/installing/)\n- Run `pip install pymilo==0.6`\n### Source code\n- Download [Version 0.6](https://github.com/openscilab/pymilo/archive/v0.6.zip) or [Latest Source](https://github.com/openscilab/pymilo/archive/dev.zip)\n- Run `pip install .`\n\n## Usage\n### Model preparation \n```pycon\n>>> from sklearn import datasets\n>>> from pymilo import Export, Import\n>>> from sklearn.linear_model import LinearRegression\n>>> import os\n>>> X, Y = datasets.load_diabetes(return_X_y=True)\n>>> threshold = 20\n>>> X_train, X_test = X[:-threshold], X[-threshold:]\n>>> Y_train, Y_test = Y[:-threshold], Y[-threshold:]\n>>> model = LinearRegression()\n>>> #### Train the model using the training sets\n>>> model.fit(X_train, Y_train)\n```\n### Save model \n```pycon\n>>> #### Export the fitted model to a transparent json file\n>>> exported_model = Export(model)\n>>> PATH_TO_JSON_FILE = os.path.join(os.getcwd(),\"test.json\")\n>>> exported_model.save(PATH_TO_JSON_FILE)\n```\n### Load model\n```pycon\n>>> #### Import the pymilo-exported model and get a real scikit model\n>>> imported_model = Import(PATH_TO_JSON_FILE)\n```\n### Get the associated model\n```pycon \n>>> imported_sklearn_model = imported_model.to_model()\n```\n#### Note: `imported_sklearn_model` has the **exact same** functionality as the `model` object earlier.\n\n## Supported ML models\n| scikit-learn | PyTorch | \n| ---------------- | ---------------- | \n| Linear Models &#x2705; | - | \n| Neural networks &#x2705; | -  | \n| Trees &#x2705; | -  | \n| Clustering &#x2705; | -  | \n| Na\u00efve Bayes &#x2705; | -  | \n| Support vector machines (SVMs) &#x2705; | -  | \n| Nearest Neighbors &#x274C; | -  | \n| Ensemble Models &#x274C; | - | \nDetails are available in [Supported Models](https://github.com/openscilab/pymilo/blob/main/SUPPORTED_MODELS.md).\n\n## Issues & bug reports\n\nJust fill an issue and describe it. We'll check it ASAP! or send an email to [pymilo@openscilab.com](mailto:pymilo@openscilab.com \"pymilo@openscilab.com\"). \n\n- Please complete the issue template\n \nYou can also join our discord server\n\n<a href=\"https://discord.gg/mtuMS8AjDS\">\n  <img src=\"https://img.shields.io/discord/1064533716615049236.svg?style=for-the-badge\" alt=\"Discord Channel\">\n</a>\n\n\n## Show your support\n\n\n### Star this repo\n\nGive a \u2b50\ufe0f if this project helped you!\n\n### Donate to our project\nIf you do like our project and we hope that you do, can you please support us? Our project is not and is never going to be working for profit. We need the money just so we can continue doing what we do ;-) .\t\t\t\n\n<a href=\"https://openscilab.com/#donation\" target=\"_blank\"><img src=\"https://github.com/openscilab/pymilo/raw/main/otherfiles/donation.png\" height=\"90px\" width=\"270px\" alt=\"PyMilo Donation\"></a>\n\n# Changelog\nAll notable changes to this project will be documented in this file.\n\nThe format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)\nand this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).\n\n## [Unreleased]\n### Added\n### Changed\n\n## [0.6] - 2024-03-27\n### Added\n- `deserialize_primitive_type` function in `GeneralDataStructureTransporter`\n- `is_deserialized_ndarray` function in `GeneralDataStructureTransporter`\n- `deep_deserialize_ndarray` function in `GeneralDataStructureTransporter`\n- `deep_serialize_ndarray`  function in `GeneralDataStructureTransporter`\n- `SVR` model\n- `SVC` model\n- `One Class SVM` model\n- `NuSVR` model\n- `NuSVC` model\n- `Linear SVR` model\n- `Linear SVC` model\n- SVM models test runner\n- SVM chain\n### Changed\n- `pymilo_param.py` updated\n- `pymilo_obj.py` updated to use predefined strings\n- `TreeTransporter` updated\n- `get_homogeneous_type` function in `util.py` updated\n- `GeneralDataStructureTransporter` updated to use deep ndarray serializer & deserializer\n- `check_str_in_iterable` updated\n- `Label Binarizer` Transporter updated\n- `Function` Transporter updated\n- `CFNode` Transporter updated\n- `Bisecting Tree` Transporter updated\n- Tests config modified\n- SVM params initialized in `pymilo_param`\n- SVM support added to `pymilo_func.py`\n- `SUPPORTED_MODELS.md` updated\n- `README.md` updated\n## [0.5] - 2024-01-31\n### Added\n- `reset` function in the `Transport` interface\n- `reset` function implementation in `AbstractTransporter`\n- `Gaussian Naive Bayes` declared as `GaussianNB` model \n- `Multinomial Naive Bayes` model declared as `MultinomialNB` model\n- `Complement Naive Bayes` model declared as `ComplementNB` model\n- `Bernoulli Naive Bayes` model declared as `BernoulliNB` model\n- `Categorical Naive Bayes` model declared as `CategoricalNB` model\n- Naive Bayes models test runner\n- Naive Bayes chain\n### Changed\n- `Transport` function of `AbstractTransporter` updated\n- fix the order of `CFNode` fields serialization in `CFNodeTransporter`\n- `GeneralDataStructureTransporter` support list of ndarray with different shapes\n- Tests config modified\n- Naive Bayes params initialized in `pymilo_param`\n- Naive Bayes support added to `pymilo_func.py`\n- `SUPPORTED_MODELS.md` updated\n- `README.md` updated\n## [0.4] - 2024-01-22\n### Added\n- `has_named_parameter` method in `util.py`\n- `CFSubcluster` Transporter(inside `CFNode` Transporter)\n- `CFNode` Transporter\n- `Birch` model\n- `SpectralBiclustering` model\n- `SpectralCoclustering` model\n- `MiniBatchKMeans` model\n- `feature_request.yml` template\n- `config.yml` for issue template\n- `BayesianGaussianMixture` model\n- `serialize_tuple` method in `GeneralDataStructureTransporter`\n- `import_function` method in `util.py`\n- `Function` Transporter\n- `FeatureAgglomeration` model\n- `HDBSCAN` model\n- `GaussianMixture` model\n- `OPTICS` model\n- `DBSCAN` model\n- `AgglomerativeClustering` model\n- `SpectralClustering` model\n- `MeanShift` model \n- `AffinityPropagation` model\n- `Kmeans` model\n- Clustering models test runner\n- Clustering chain \n### Changed\n- `LossFunctionTransporter` enhanced to handle scikit 1.4.0 `_loss_function_` field\n- Codacy Static Code Analyzer's suggestions applied\n- Spectral Clustering test folder refactored\n- Bug report template modified\n- `GeneralDataStructureTransporter` updated\n- Tests config modified\n- Clustering data set preparation added to `data_exporter.py`\n- Clustering params initialized in `pymilo_param`\n- Clustering support added to `pymilo_func.py`\n- `Python 3.12` added to `test.yml`\n- `dev-requirements.txt` updated\n- Code quality badges added to `README.md`\n- `SUPPORTED_MODELS.md` updated\n- `README.md` updated\n## [0.3] - 2023-09-27\n### Added\n- scikit-learn decision tree models\n- `ExtraTreeClassifier` model\n- `ExtraTreeRegressor` model\n- `DecisionTreeClassifier` model\n- `DecisionTreeRegressor` model\n- `Tree` Transporter\n- Decision Tree chain\n### Changed\n- Tests config modified\n- DecisionTree params initialized in `pymilo_param`\n- Decision Tree support added to `pymilo_func.py`\n## [0.2] - 2023-08-02\n### Added\n- scikit-learn neural network models \n- `MLP Regressor` model \n- `MLP Classifier` model\n- `BernoulliRBN` model\n- `SGDOptimizer` transporter\n- `RandomState(MT19937)` transporter\n- `Adamoptimizer` transporter\n- Neural Network chain\n- Neural Network exceptions \n- `ndarray_to_list` method in `GeneralDataStructureTransporter`\n- `list_to_ndarray` method in `GeneralDataStructureTransporter` \n- `neural_network_chain.py` chain\n### Changed\n- `GeneralDataStructure` Transporter updated\n- `LabelBinerizer` Transporter updated\n- `linear model` chain updated\n- GeneralDataStructure transporter enhanced\n- LabelBinerizer transporter updated\n- transporters' chain router added to `pymilo func`\n- NeuralNetwork params initialized in `pymilo_param`\n- `pymilo_test` updated to support multiple models\n- `linear_model_chain` refactored\n## [0.1] - 2023-06-29\n### Added\n- scikit-learn linear models support\n- `Export` class\n- `Import` class\n\n[Unreleased]: https://github.com/openscilab/pymilo/compare/v0.6...dev\n[0.6]: https://github.com/openscilab/pymilo/compare/v0.5...v0.6\n[0.5]: https://github.com/openscilab/pymilo/compare/v0.4...v0.5\n[0.4]: https://github.com/openscilab/pymilo/compare/v0.3...v0.4\n[0.3]: https://github.com/openscilab/pymilo/compare/v0.2...v0.3\n[0.2]: https://github.com/openscilab/pymilo/compare/v0.1...v0.2\n[0.1]: https://github.com/openscilab/pymilo/compare/e887108...v0.1\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Transportation of ML models",
    "version": "0.6",
    "project_urls": {
        "Download": "https://github.com/openscilab/pymilo/tarball/v0.6",
        "Homepage": "https://github.com/openscilab/pymilo",
        "Source": "https://github.com/openscilab/pymilo"
    },
    "split_keywords": [
        "python3",
        "python",
        "machine_learning",
        "ml"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "efd9f4d6848d34865e5068ecab6e6c663730f3c125b87bbc7689ef78c7d2755d",
                "md5": "846334e56a6872a3adf5a08779e82831",
                "sha256": "907f64543e07ca809ca3fa9c1a814ddc49af91522f55a0f7baa5079afc9363ed"
            },
            "downloads": -1,
            "filename": "pymilo-0.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "846334e56a6872a3adf5a08779e82831",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 48375,
            "upload_time": "2024-03-27T11:16:29",
            "upload_time_iso_8601": "2024-03-27T11:16:29.586795Z",
            "url": "https://files.pythonhosted.org/packages/ef/d9/f4d6848d34865e5068ecab6e6c663730f3c125b87bbc7689ef78c7d2755d/pymilo-0.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f11229cc4f02fd3770b98bafdde608325ddc8426a2d3a609ae5d081657f6cd7a",
                "md5": "ab1e225225ef44814880552ab1fa0492",
                "sha256": "2c8d04bee680bb9ec3cb67e0f2d9447d566fa68c5fa25ed636dfb01fcec1b688"
            },
            "downloads": -1,
            "filename": "pymilo-0.6.tar.gz",
            "has_sig": false,
            "md5_digest": "ab1e225225ef44814880552ab1fa0492",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 34154,
            "upload_time": "2024-03-27T11:16:27",
            "upload_time_iso_8601": "2024-03-27T11:16:27.784821Z",
            "url": "https://files.pythonhosted.org/packages/f1/12/29cc4f02fd3770b98bafdde608325ddc8426a2d3a609ae5d081657f6cd7a/pymilo-0.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-27 11:16:27",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "openscilab",
    "github_project": "pymilo",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "requirements": [],
    "lcname": "pymilo"
}
        
Elapsed time: 0.25506s