Skip to main content

Opoca

Opoca library aims to drastically speed up producing proof of concepts (PoC) for machine learning projects.

We define proof of concept as a small, quick and (not) dirty projects that results in:

  • exploratory data analysis
  • log of experiments along with models
  • deployable best model
  • demo (jupyter notebook/streamlit app etc.)
  • short report including results analysis

There are several challenges that ML Engineer faces given a task to build new PoC project:

  • it's not easy to track and reproduce experiments
  • it's not easy to version and share data
  • it's not easy to schedule jobs and not burn much money on training
  • there's a lot of code that can be reused between different PoCs such as:
    • training logic for similar problems
    • evaluation logic
    • plotting
    • hyperparameters search
    • generic feature engineering transformations

Those are just few and a list is not complete without a doubt.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • You have installed the latest version of poetry

Installing Opoca

Opoca is installable from PyPi by executing:

pip install opoca

One may also use docker to build image:

docker build -t opoca -f Dockerfile .

And run bash session interactively by executing:

docker run -it --rm -v $PWD:/home -w /home opoca bash

Contributing to Opoca

To contribute to Opoca, follow these steps:

  1. Fork this repository.
  2. Create a branch: git checkout -b <branch_name>.
  3. Make your changes and commit them: git commit -m '<commit_message>'
  4. Push to the original branch: git push origin <project_name>/<location>
  5. Create the pull request.

Alternatively see the GitHub documentation on creating a pull request.

Contributors

Thanks to the following people who have contributed to this project:

Contact

If you want to contact me you can reach me at ml-team@netguru.com.

License

This project uses the following license: Apache License, Version 2.0.

Metadata

Release files for opoca 0.1.1

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

Source distribution (sdist)

Source distribution for opoca 0.1.1
File Size Uploaded
opoca-0.1.1.tar.gz 48.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for opoca 0.1.1
File Interpreter ABI Platform
opoca-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 115.7 kB

Release files / opoca-0.1.1.tar.gz

Download URL opoca-0.1.1.tar.gz
Size 48.9 kB
Tags Source
SHA-256 checksum
How to use checksums
108bcd3cd7e0fc6790d9d1f5bdb456ae03f4a34b9405875e8988f5920bb9d5c4
BLAKE2b-256 checksum
How to use checksums
14adb61d8cc4e6c620d61b2c54dd827dcbec5e3841d119fc546bcb0394d28504
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.8.5 Darwin/18.7.0

Release files / opoca-0.1.1-py3-none-any.whl

Download URL opoca-0.1.1-py3-none-any.whl
Size 66.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ad630c6da558700f993f40f26083fd5342220b3bb0c4dc4f06e089c5e1eae78
BLAKE2b-256 checksum
How to use checksums
956563b34eb09211fe8f98c117015eeac5e9223521aa2d96b93c2962965b23fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.8.5 Darwin/18.7.0

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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