semvec/pypi-packages huggingface dataset:
managementai 1.0.0
This is a toolbox to help AI & ML teams to have a better management of their metrics.
License: MIT
Keywords: management,toolbox,lmbr,ai

# 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
wakeonlan 3.1.0
A small python module for wake on lan.
License: MIT
Requires Python: >=3.7,<4.0

#########
wakeonlan
#########

.. image:: https://img.shields.io/pypi/v/wakeonlan.svg
   :target: https://pypi.org/project/wakeonlan/
   :alt: Pypi version

.. image:: https://img.shields.io/pypi/pyversions/wakeonlan.svg
   :target: https://pypi.org/project/wakeonlan/#files
   :alt: Supported Python versions

.. image:: https://github.com/remcohaszing/pywakeonlan/actions/workflows/ci.yaml/badge.svg
   :target: https://github.com/remcohaszing/pywakeonlan/actions/workflows/ci.yaml
   :alt: Build Status

.. image:: https://readthedocs.org/projects/pywakeonlan/badge/?version=latest
   :target: https://pywakeonlan.readthedocs.io/en/latest
   :alt: Documentation Status

.. image:: https://codecov.io/gh/remcohaszing/pywakeonlan/branch/master/graph/badge.svg
   :target: https://codecov.io/gh/remcohaszing/pywakeonlan
   :alt: Code coverage

A small python module for wake on lan.

For more information on the wake on lan protocol please take a look at
`Wikipedia <http://en.wikipedia.org/wiki/Wake-on-LAN>`_.

************
Installation
************

::

    pip install wakeonlan


*****
Usage
*****

To wake up a computer using wake on lan it must first be enabled in the BIOS
settings. Please note the computer you are trying to power on does not have an
ip address, but it does have a mac address. The package needs to be sent as a
broadcast package.


As a python module
==================

Import the module

>>> from wakeonlan import send_magic_packet


Wake up a single computer by its mac address

>>> send_magic_packet('ff.ff.ff.ff.ff.ff')


Wake up multiple computers by their mac addresses.

>>> send_magic_packet('ff.ff.ff.ff.ff.ff',
...                   '00-00-00-00-00-00',
...                   'FFFFFFFFFFFF')


An external host may be specified. Do note that port forwarding on that host is
required. The default ip address is 255.255.255.255 and the default port is 9.

>>> send_magic_packet('ff.ff.ff.ff.ff.ff',
...                   ip_address='example.com',
...                   port=1337)


A network adapter may be specified. The magic packet will be routed through this interface.

>>> send_magic_packet('ff.ff.ff.ff.ff.ff',
...                   interface='192.168.0.2')


As a standalone script
======================

::

    usage: wakeonlan [-h] [-i ip] [-p port] [-n interface] mac address [mac address ...]

    Wake one or more computers using the wake on lan protocol.

    positional arguments:
      mac address  The mac addresses of the computers you are trying to wake.

    optional arguments:
      -h, --help   show this help message and exit
      -i ip        The ip address of the host to send the magic packet to. (default 255.255.255.255)
      -p port      The port of the host to send the magic packet to. (default 9)
      -n interface The ip address of the network adapter to route the magic packet through. (optional)


************
Dependencies
************

- Python 3.x


*******
License
*******

`MIT <https://github.com/remcohaszing/pywakeonlan/blob/main/LICENSE.rst>`_ © `Remco Haszing <https://github.com/remcohaszing>`_