Metadata-Version: 2.1
Name: ml-research
Version: 0.5.1
Summary: Implementation of Machine Learning algorithms, experiments and utilities.
Home-page: https://github.com/joaopfonseca/ml-research
Download-URL: https://github.com/joaopfonseca/ml-research
Maintainer: J. Fonseca
Maintainer-email: jpfonseca@novaims.unl.pt
License: MIT
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development
Classifier: Topic :: Scientific/Engineering
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pandas>=2.1.0
Requires-Dist: numpy>=1.20.0
Requires-Dist: scikit-learn>=1.2.0
Requires-Dist: imbalanced-learn>=0.8.0
Requires-Dist: requests>=2.26.0
Provides-Extra: optional
Requires-Dist: tqdm>=4.46.0; extra == "optional"
Requires-Dist: matplotlib>=2.2.3; extra == "optional"
Provides-Extra: docs
Requires-Dist: sphinx>=4.2.0; extra == "docs"
Requires-Dist: numpydoc>=1.0.0; extra == "docs"
Requires-Dist: sphinx-material>=0.0.35; extra == "docs"
Requires-Dist: nbsphinx>=0.8.7; extra == "docs"
Requires-Dist: recommonmark>=0.7.1; extra == "docs"
Requires-Dist: sphinx-markdown-tables>=0.0.15; extra == "docs"
Requires-Dist: sphinx-copybutton>=0.4.0; extra == "docs"
Provides-Extra: examples
Provides-Extra: tests
Requires-Dist: pytest-cov>=3.0.0; extra == "tests"
Requires-Dist: flake8>=3.8.2; extra == "tests"
Requires-Dist: black>=22.3; extra == "tests"
Requires-Dist: pylint>=2.12.2; extra == "tests"
Requires-Dist: mypy>=1.6.1; extra == "tests"
Requires-Dist: types-requests>=2.31.0.10; extra == "tests"
Requires-Dist: coverage>=6.2; extra == "tests"
Requires-Dist: numpydoc>=1.0.0; extra == "tests"
Provides-Extra: all
Requires-Dist: pandas>=2.1.0; extra == "all"
Requires-Dist: numpy>=1.20.0; extra == "all"
Requires-Dist: scikit-learn>=1.2.0; extra == "all"
Requires-Dist: imbalanced-learn>=0.8.0; extra == "all"
Requires-Dist: requests>=2.26.0; extra == "all"
Requires-Dist: tqdm>=4.46.0; extra == "all"
Requires-Dist: matplotlib>=2.2.3; extra == "all"
Requires-Dist: pytest-cov>=3.0.0; extra == "all"
Requires-Dist: flake8>=3.8.2; extra == "all"
Requires-Dist: black>=22.3; extra == "all"
Requires-Dist: pylint>=2.12.2; extra == "all"
Requires-Dist: mypy>=1.6.1; extra == "all"
Requires-Dist: types-requests>=2.31.0.10; extra == "all"
Requires-Dist: coverage>=6.2; extra == "all"
Requires-Dist: sphinx>=4.2.0; extra == "all"
Requires-Dist: numpydoc>=1.0.0; extra == "all"
Requires-Dist: sphinx-material>=0.0.35; extra == "all"
Requires-Dist: nbsphinx>=0.8.7; extra == "all"
Requires-Dist: recommonmark>=0.7.1; extra == "all"
Requires-Dist: sphinx-markdown-tables>=0.0.15; extra == "all"
Requires-Dist: sphinx-copybutton>=0.4.0; extra == "all"

<div align="center">
<img src="docs/_static/logo.png" width="400px">
</div>

______________________________________________________________________

<p align="center">
<a href="https://github.com/joaopfonseca/ml-research/actions/workflows/ci.yml"><img alt="Github Actions" src="https://github.com/joaopfonseca/ml-research/actions/workflows/ci.yml/badge.svg"></a>
<a href="https://codecov.io/gh/joaopfonseca/ml-research"><img alt="Codecov" src="https://codecov.io/gh/joaopfonseca/ml-research/branch/master/graph/badge.svg?token=J2EBA4YTMN"></a>
<a href="https://mlresearch.readthedocs.io/en/latest/?badge=latest"><img alt="Documentation Status" src="https://readthedocs.org/projects/mlresearch/badge/?version=latest"></a>
<a href="https://github.com/psf/black"><img alt="Black" src="https://img.shields.io/badge/code%20style-black-000000.svg"></a>
<a href="https://img.shields.io/badge/python-3.9%20|%203.10%20|%203.11%20|%203.12-blue"><img alt="Python Versions" src="https://img.shields.io/badge/python-3.9%20|%203.10%20|%203.11%20|%203.12-blue"></a>
<a href="https://doi.org/10.1155/2023/7941878"><img alt="DOI" src="https://zenodo.org/badge/DOI/10.1155/2023/7941878.svg"></a>
</p>
<table align="center">
  <tr>
    <td>
      <b>PyPI</b>
    </td>
    <td>
      <a href="https://badge.fury.io/py/ml-research"><img alt="Pypi Version" src="https://badge.fury.io/py/ml-research.svg"></a>
      <a href="https://pepy.tech/project/ml-research"><img alt="Downloads" src="https://static.pepy.tech/personalized-badge/ml-research?period=total&units=international_system&left_color=grey&right_color=brightgreen&left_text=downloads"></a>
    </td>
  </tr>
  <tr>
    <td>
      <b>Anaconda</b>
    </td>
    <td>
      <a href="https://anaconda.org/conda-forge/ml-research"><img alt="Conda Version" src="https://img.shields.io/conda/vn/conda-forge/ml-research.svg"></a>
      <a href="https://anaconda.org/conda-forge/ml-research"><img alt="Conda Downloads" src="https://img.shields.io/conda/dn/conda-forge/ml-research.svg"></a>
    </td>
  </tr>
</table>

``ML-Research`` is an open source library for machine learning research. It
contains several utilities for Machine Learning research and algorithm
implementations. Specifically, it contains ``scikit-learn`` compatible
implementations for Active Learning and synthetic data generation, as well as
datasets and various utilities to assist in experiment design and results
reporting.

The LaTeX and Python code for generating the paper, experiments' results and
visualizations shown in each paper is available (whenever possible) in the
[publications repo](https://github.com/joaopfonseca/publications).

## Installation

A Python distribution of version >= 3.9 is required to run this
project. Earlier Python versions might work in most cases, but they are not
tested. ``ML-Research`` requires:

- numpy (>= 1.20.0)
- pandas (>= 2.1.0)
- sklearn (>= 1.2.0)
- imblearn (>= 0.8.0)

Some functions in the ``mlresearch.utils`` submodule (the ones in the script
``_visualization.py``) require Matplotlib (>= 2.2.3). The
``mlresearch.datasets`` submodule and ``mlresearch.utils.parallel_apply``
function require tqdm (>= 4.46.0) to display progress bars.

### User Installation

The easiest way to install ml-research is using ``pip`` :

    pip install -U ml-research

Or ``conda`` :

    conda install -c conda-forge ml-research

The documentation includes more detailed [installation
instructions](https://mlresearch.readthedocs.io/en/latest/getting-started.html).

### Installing from source

The following commands should allow you to setup the development version of the
project with minimal effort:

    # Clone the project.
    git clone https://github.com/joaopfonseca/ml-research.git
    cd ml-research

    # Create and activate an environment 
    make environment 
    conda activate mlresearch # Adapt this line accordingly if you're not running conda

    # Install project requirements and the research package. Dependecy group
    # "all" will also install the dependency groups shown below.
    pip install .[optional,tests,docs] 

## Citing ML-Research

If you use ML-Research in a scientific publication, we would appreciate
citations to the following paper:

    @article{fonseca2023improving,
      title={Improving Active Learning Performance through the Use of Data Augmentation},
      author={Fonseca, Joao and Bacao, Fernando and others},
      journal={International Journal of Intelligent Systems},
      volume={2023},
      year={2023},
      publisher={Hindawi}
    }
