Skip to main content

# ex4ml

A toolkit for conducting machine learning experiments efficiently.

![image](https://gitlab.com/minds-mines/ex4ml/ex4ml/badges/master/pipeline.svg) ![image](https://gitlab.com/minds-mines/ex4ml/ex4ml/badges/master/coverage.svg)

## Description

The target audience of ex4ml is researchers conducting experiments in machine learning. The goal of ex4ml is to allow you to focus on the machine learning research while minimizing your worrying about designing and managing experiments.

The secondary audience of ex4ml is machine learning practitioners who want a simple way to test and compare machine learning approaches.

### Applications

ex4ml should work for experiments on the following and all combinations of them:

  • Multi-Modal / Multi-View learning

  • Multiple-Instance learning

  • Feature comparisons

  • Feature visualizations

### Development

#### Summary

Here is the summary of what you need to do. Read on for more details.

Install everything:

`bash pipenv install --dev `

Run tests:

`bash pipenv shell python setup.py test `

After you make changes make sure you run autopep8 to fix your code's syntax and pylint to get feedback on what could be improved in your code.

`bash pipenv shell autopep8 --in-place --aggressive --aggressive *.py pylint src/ex4ml/*.py pylint test/*.py `

#### Pipenv

Use [pipenv](http://pipenv.readthedocs.io/en/latest/) to automatically manage isolated, virtual environments for Python projects.

Install/upgrade pipenv via the command line.

`bash pip install --upgrade pipenv `

To install modules or create a Pipfile from a requirements.txt file:

`bash pipenv install `

To install dev-modules:

`bash pipenv install --dev `

To install or uninstall modules respectively to or from your Python project:

`bash pipenv install module_name pipenv install dev_module_name --dev pipenv uninstall module_name `

To manually create a Pipfile.lock file from the installed versions:

`bash pipenv lock `

To load the Python virtual environment into the shell to execute commands or run a single command using the Python virtual environment use the following:

`bash pipenv shell pipenv run command_name `

Use exit to unload the Python virtual environment.

To see your project's dependency graph:

`bash pipenv graph `

#### PyScaffold

This project has been set up using PyScaffold 3.0.3. For details and usage information on PyScaffold see <http://pyscaffold.org/>.

Use [PyScaffold](http://pyscaffold.org/en/latest/features.html) to quickly setup and manage Python projects.

### Installation

You will need [Git](https://git-scm.com) with user.name and user.email setup to get started.

`bash git config --global user.name "John Doe" git config --global user.email "john.doe@email.com" `

Install/upgrade setuptools and pyscaffold via the command line:

`bash pip install --upgrade setuptools pip install --upgrade pyscaffold `

### Testing

To execute unit tests in the tests directory, use:

`bash pipenv shell python setup.py test `

Release files for ex4ml 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ex4ml 0.0.3
File Size Uploaded
ex4ml-0.0.3.tar.gz 116.3 kB Details

Release files / ex4ml-0.0.3.tar.gz

Download URL ex4ml-0.0.3.tar.gz
Size 116.3 kB
Tags Source
SHA-256 checksum
How to use checksums
0270a05b78f62173b73631bd40b1f8470612d1ff15c14ff8e9530cf0c6af4fd9
BLAKE2b-256 checksum
How to use checksums
a567cd01d922cdca608ded026d432de06debc14f3a28a0d0f5c623447b78ff70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/2.7.15

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page