Skip to main content

Python toolbox for Compressive Learning (machine learning from a sketch)

Project description

The pycle toolbox

Pycle stands for PYthon Compressive LEarning; it is a toolbox of methods to perform compressive learning (also known as sketched learning), where the training set is not used directly but first heavily compressed; this allows to learn from large-scale datasets with drastically reduced computational resources.

Pycle is now stable (version 1.0), but still under development, so don't hesitate to report bugs or other difficulties encountered with the toolbox.

Contents of this repo:

For documentation:

  • A "Guide" folder with semi-detailed introductory guide to this toolbox.
  • A series of "DEMO_i" jupyter notebooks, that illustrate some core concepts of the toolbox in practice.

If you're new here, I suggest you start by opening either of those items first to get a hang of what this is all about.

The code itself, located in the "pycle" folder, structured into 3 main files:

  • sketching.py contains everything related to building a feature map and sketching a dataset with it;
  • compressive_learning.py contains the actual learning algorithms from that sketch, for k-means and GMM fitting for example;
  • utils.py contains a diverse set of functions that can be useful, e.g., for generating synthetic datasets, or evaluating the learned models through different metrics and visualization utilities.

Note that if you want to use the core code of pycle direcltly without downloading this entire repository, you can install it directly from PyPI by typing pip install pycle

Citing this toolbox:

If you publish research using this toolbox, please follow this link for to get citation references (e.g., to generate BibTeX export files)

DOI

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycle-1.2.tar.gz (35.6 kB view details)

Uploaded Source

Built Distribution

pycle-1.2-py3-none-any.whl (38.1 kB view details)

Uploaded Python 3

File details

Details for the file pycle-1.2.tar.gz.

File metadata

  • Download URL: pycle-1.2.tar.gz
  • Upload date:
  • Size: 35.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9

File hashes

Hashes for pycle-1.2.tar.gz
Algorithm Hash digest
SHA256 49faf7f2647b8e3be2cf5fd9aa9aa9541ccc04a31c3c94fa596e44ed1323ac09
MD5 9c8d37aafbb99b9486edb395d02307b4
BLAKE2b-256 68868280b6413109123c88db905af2a272f4e7b0845e9680bc08f0c5c31e01d1

See more details on using hashes here.

File details

Details for the file pycle-1.2-py3-none-any.whl.

File metadata

  • Download URL: pycle-1.2-py3-none-any.whl
  • Upload date:
  • Size: 38.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9

File hashes

Hashes for pycle-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 17df63756fe3e9119c152dfcbbf388be10f649eb8dee21cd0c13870fd3fa593e
MD5 b750d74891536ce6e44a15f23706ca15
BLAKE2b-256 8813d6741267056b4f1781d9d0f646db4c5fcdc74f31e0ec7f510f1cf0fff50a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page