Skip to main content

Build Status Binder

potpourri

Table of Contents

Project Requirements

  • apply different algorithms to a dataset as a batch script
  • store evalutations (results, run times) in a database

Folder Structure

  • potpourri -- different model implementations as python module. Each module contains three objects:
    • model -- a sklearn Pipeline to fit and predict
    • hyper -- dictionary with hyperparameters for sklearn's RandomizedSearchCV,
    • meta -- a python dict with further information
  • verto -- Feature Engineering. Each module contain two objects
    • trans -- a sklearn pipeline to transform data
    • meta -- a python dict with further information
  • seasalt -- contains different utility, glue, etc. functions and classes
  • nbs -- notebooks to try, check, profile, etc. each model
  • datasets -- demo datasets

Installation

The potpourri git repo is available as PyPi package

pip install potpourri

Usage

Check the nbs folder for notebooks.

Commands

  • Check syntax: flake8 --ignore=F401,E251
  • Remove .pyc files: find . -type f -name "*.pyc" | xargs rm
  • Remove __pycache__ folders: find . -type d -name "__pycache__" | xargs rm -rf
  • Remove Jupyter checkpoints: find . -type d -name ".ipynb_checkpoints" | xargs rm -rf
  • Upload to PyPi with twine: python setup.py sdist && twine upload -r pypi dist/*

Othe helpful commands

  • Find package folders: python -c 'from setuptools import find_packages; print(find_packages())'

Support

Please open an issue for support.

Contributing

Please contribute using Github Flow. Create a branch, add commits, and open a pull request.

Metadata

Release files for potpourri 0.14.0

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

Source distribution (sdist)

Source distribution for potpourri 0.14.0
File Size Uploaded
potpourri-0.14.0.tar.gz 178.8 kB Details

Release files / potpourri-0.14.0.tar.gz

Download URL potpourri-0.14.0.tar.gz
Size 178.8 kB
Tags Source
SHA-256 checksum
How to use checksums
982b611ba54e4ece844e3fd80310340574299fe9124bb4970fe327d8f1fcb994
BLAKE2b-256 checksum
How to use checksums
211c7cfc27edff8258917f8c5bceeb65d1e02e4d568bcd29b1bcee378597bd32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.2

Release history Release notifications | RSS feed

This release

0.14.0 This release

1 release file

0.13.3

1 release file

0.13.2

1 release file

0.13.1

1 release file

0.13.0

1 release file

0.12.2

1 release file

0.12.1

1 release file

0.12.0

1 release file

0.11.0

1 release file

0.10.1

1 release file

0.10.0

1 release file

0.9.2

1 release file

0.9.1

1 release file

0.9.0

1 release file

0.8.1

1 release file

0.8.0

1 release file

0.7.0

1 release file

0.6.0

1 release file

0.5.0

1 release file

0.4.0

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.1

1 release file

0.1.0

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