managementai


Namemanagementai JSON
Version 1.0.0 PyPI version JSON
download
home_pagehttps://github.com/adeo/aim
SummaryThis is a toolbox to help AI & ML teams to have a better management of their metrics.
upload_time2023-11-17 13:45:08
maintainer
docs_urlNone
authorLeroy Merlin Brazil
requires_python
licenseMIT
keywords management toolbox lmbr ai
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Artificial Intelligence Management

> This is a toolbox to help AI & ML teams to have a better management of their metrics and processes.

Our desire is to enable the company with data related to AI solution, in a easy way to read and use. Some new goals are going to be included later

[Confluence Documentation Link]()

[Tangram Link](https://tangram.adeo.com/products/1d6f6abb-63ba-4663-bd1e-18007bffde36/overview)

## Table of Contents

- [Project Structure](#project-structure)
- [Features](#features)
- [Installation/Usage](#Installation/Usage)
- [Contact](#Contact)

## Project Structure

Describe the structure of the `project` folder, including the organization of modules, directories, and any important files.

```
ai_management/
├── __init__.py
├── main.py
├── constants.py
├── examples/
│ ├── usage_examples.ipynb
```

Explain the purpose of each module or significant files.

## ModelEvaluation

Historize the technical model evaluation results.

## Installation

## Usage

### Binary classification
```python
# binary classification
y_true = [1, 0, 0, 1, 1]
y_pred = [1, 0, 0, 0, 1]

y_test_a_lst = y_true
y_pred_a_lst = y_pred

y_test_a_arr = np.array(y_true)
y_pred_a_arr = np.array(y_pred)
```

### Multi class classification
```python
y_true = [0, 1, 2, 1, 2]
y_pred = [[0.9, 0.1, 0.0], [0.3, 0.2, 0.5], [0.2, 0.3, 0.5], [0.1, 0.8, 0.1], [0.1, 0.2, 0.7]]

y_test_b_lst = y_true
y_pred_b_lst = y_pred

y_test_b_arr = np.array(y_true)
y_pred_b_arr = np.array(y_pred)
```

### Multi label classification
```python
y_true = [[0, 1, 2], [3, 4, 5], [6, 7, 8]]
y_pred = [[0, 1, 2], [3, 4, 5], [6, 7, 9]]

y_test_c_lst = y_test
y_pred_c_lst = y_pred

y_test_c_arr = np.array(y_true)
y_pred_c_arr = np.array(y_pred)
```



### Solution Evaluation
```python
pip install ai_management
import ai_management as aim 
me = aim.ModelEvaluation()
me.historize_model_evaluation(
    soltn_nm = 'Solution X', 
    lst_mdls = [
        {
            'mdl_nm' : 'Model A',
            'algrthm_typ' : 'binary_classification',
            'data' : [y_test_a_lst, y_pred_a_lst]}, 
        {
            'mdl_nm' : 'Model B',
            'algrthm_typ' : 'multi_class_classification',
            'data' : [y_test_b_lst, y_pred_b_lst]},
        {
            'mdl_nm' : 'Model C',
            'algrthm_typ' : 'multi_label_classification',
            'data' : [y_test_c_lst, y_pred_c_lst]},
    ], 
    destination='bi-dev-brlm.ods.FT_ARTFCL_INTLGNC_MDL_MTRC'
)
```


## Contact

* Leroy Merlin Brazil AI developers: chapter_inteligencia_artificia@leroymerlin.com.br
* Rafael Fernandes de Proença Cordeiro (Tech Lead) : rfcordeiro@leroymerlin.com.br




            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/adeo/aim",
    "name": "managementai",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "management,toolbox,lmbr,ai",
    "author": "Leroy Merlin Brazil",
    "author_email": "chapter_inteligencia_artificia@leroymerlin.com.br",
    "download_url": "https://files.pythonhosted.org/packages/2a/34/a7b97baeca10cac58742b9d7198329587e05c1fba33772302132c8871495/managementai-1.0.0.tar.gz",
    "platform": null,
    "description": "# Artificial Intelligence Management\n\n> This is a toolbox to help AI & ML teams to have a better management of their metrics and processes.\n\nOur desire is to enable the company with data related to AI solution, in a easy way to read and use. Some new goals are going to be included later\n\n[Confluence Documentation Link]()\n\n[Tangram Link](https://tangram.adeo.com/products/1d6f6abb-63ba-4663-bd1e-18007bffde36/overview)\n\n## Table of Contents\n\n- [Project Structure](#project-structure)\n- [Features](#features)\n- [Installation/Usage](#Installation/Usage)\n- [Contact](#Contact)\n\n## Project Structure\n\nDescribe the structure of the `project` folder, including the organization of modules, directories, and any important files.\n\n```\nai_management/\n\u251c\u2500\u2500 __init__.py\n\u251c\u2500\u2500 main.py\n\u251c\u2500\u2500 constants.py\n\u251c\u2500\u2500 examples/\n\u2502 \u251c\u2500\u2500 usage_examples.ipynb\n```\n\nExplain the purpose of each module or significant files.\n\n## ModelEvaluation\n\nHistorize the technical model evaluation results.\n\n## Installation\n\n## Usage\n\n### Binary classification\n```python\n# binary classification\ny_true = [1, 0, 0, 1, 1]\ny_pred = [1, 0, 0, 0, 1]\n\ny_test_a_lst = y_true\ny_pred_a_lst = y_pred\n\ny_test_a_arr = np.array(y_true)\ny_pred_a_arr = np.array(y_pred)\n```\n\n### Multi class classification\n```python\ny_true = [0, 1, 2, 1, 2]\ny_pred = [[0.9, 0.1, 0.0], [0.3, 0.2, 0.5], [0.2, 0.3, 0.5], [0.1, 0.8, 0.1], [0.1, 0.2, 0.7]]\n\ny_test_b_lst = y_true\ny_pred_b_lst = y_pred\n\ny_test_b_arr = np.array(y_true)\ny_pred_b_arr = np.array(y_pred)\n```\n\n### Multi label classification\n```python\ny_true = [[0, 1, 2], [3, 4, 5], [6, 7, 8]]\ny_pred = [[0, 1, 2], [3, 4, 5], [6, 7, 9]]\n\ny_test_c_lst = y_test\ny_pred_c_lst = y_pred\n\ny_test_c_arr = np.array(y_true)\ny_pred_c_arr = np.array(y_pred)\n```\n\n\n\n### Solution Evaluation\n```python\npip install ai_management\nimport ai_management as aim \nme = aim.ModelEvaluation()\nme.historize_model_evaluation(\n    soltn_nm = 'Solution X', \n    lst_mdls = [\n        {\n            'mdl_nm' : 'Model A',\n            'algrthm_typ' : 'binary_classification',\n            'data' : [y_test_a_lst, y_pred_a_lst]}, \n        {\n            'mdl_nm' : 'Model B',\n            'algrthm_typ' : 'multi_class_classification',\n            'data' : [y_test_b_lst, y_pred_b_lst]},\n        {\n            'mdl_nm' : 'Model C',\n            'algrthm_typ' : 'multi_label_classification',\n            'data' : [y_test_c_lst, y_pred_c_lst]},\n    ], \n    destination='bi-dev-brlm.ods.FT_ARTFCL_INTLGNC_MDL_MTRC'\n)\n```\n\n\n## Contact\n\n* Leroy Merlin Brazil AI developers: chapter_inteligencia_artificia@leroymerlin.com.br\n* Rafael Fernandes de Proen\u00e7a Cordeiro (Tech Lead) : rfcordeiro@leroymerlin.com.br\n\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "This is a toolbox to help AI & ML teams to have a better management of their metrics.",
    "version": "1.0.0",
    "project_urls": {
        "Bug Tracker": "https://github.com/adeo/aim/issues",
        "Homepage": "https://github.com/adeo/aim"
    },
    "split_keywords": [
        "management",
        "toolbox",
        "lmbr",
        "ai"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0f8a3b38c34998f5ac5b050b94134ebb5d40a32211b583b72c83095a7949859e",
                "md5": "12113571f77b5216d6df220f59003147",
                "sha256": "4e8eb1b0ac982099b86a747da1dcd155a47a0ca5e5ef202f2044a9752e09fc12"
            },
            "downloads": -1,
            "filename": "managementai-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "12113571f77b5216d6df220f59003147",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 3292,
            "upload_time": "2023-11-17T13:45:06",
            "upload_time_iso_8601": "2023-11-17T13:45:06.645231Z",
            "url": "https://files.pythonhosted.org/packages/0f/8a/3b38c34998f5ac5b050b94134ebb5d40a32211b583b72c83095a7949859e/managementai-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2a34a7b97baeca10cac58742b9d7198329587e05c1fba33772302132c8871495",
                "md5": "8f897a972e38264fd0cf9eb217438a37",
                "sha256": "804211a0aff3c49c0b272f05f78c4455b447b5d2840f3a38179c4c35cb095c45"
            },
            "downloads": -1,
            "filename": "managementai-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "8f897a972e38264fd0cf9eb217438a37",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3758,
            "upload_time": "2023-11-17T13:45:08",
            "upload_time_iso_8601": "2023-11-17T13:45:08.299459Z",
            "url": "https://files.pythonhosted.org/packages/2a/34/a7b97baeca10cac58742b9d7198329587e05c1fba33772302132c8871495/managementai-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-17 13:45:08",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "adeo",
    "github_project": "aim",
    "github_not_found": true,
    "lcname": "managementai"
}
        
Elapsed time: 0.18631s