- Topic:
Generic implementations of weakly supervision algorithms developped in [CAB20], [CAB21a], [CAB21b].
- Version:
- 1.0.0 of 2021/06/07
Installation
To install our package, run the setup file
$ python <path to code folder>/setup.py install
You can also install it in develop mode, eventually with pip
$ cd <path to code folder>
$ pip install -e .
Usage
- See files:
problems/classification/libsvm_experiments.py
problems/classification/semi_supervision_experiments.py
and more generally *_experiements.py
Package Requirements
- Most of the code is based on the following python libraries:
numpy
numba
matplotlib
- Some testing done with notebook are based on:
jupyter-notebook
ipywidgets
- For ranking, we used the following lp solver library:
cplex
- To load LIBSVM files, more precisely to read libsvm files format we used:
scikit-learn
- To load MULAN files, more precisely to read mulan files format we used:
arff
skmultilearn
Datasets links
- Datasets can be download at:
Change path in config file dataloader/config.py to specify path to your data.
References
Structured Prediction with Partial Labelling through the Infimum Loss, Cabannes et al., ICML, 2020
Disambiguation of weak supervision with exponential convergence rates, Cabannes et al., ICML, 2021
Overcoming the curse of dimensionality with Laplacian regularization in semi-supervised learning, Cabannes et al., Preprint, 2021
Release files for plasp 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| plasp-1.0.0.tar.gz | 28.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| plasp-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 74.6 kB
Release files / plasp-1.0.0.tar.gz
| Download URL | plasp-1.0.0.tar.gz |
|---|---|
| Size | 28.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1c1feab47c6216c50dc26feec7ffd486463db2757af265687b8005e9758ad63a
|
|
BLAKE2b-256 checksum How to use checksums |
fe9eb5af3aa71637e209498629402bcca80b97d74f731405fc789397a2a13b60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.5.0.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.9
|
Release files / plasp-1.0.0-py3-none-any.whl
| Download URL | plasp-1.0.0-py3-none-any.whl |
|---|---|
| Size | 45.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a7522dad9db01131c7a6814889ffcff81453be08569865aa36b1465833dd6fb2
|
|
BLAKE2b-256 checksum How to use checksums |
c29afa2666d8b9ae513d09857b31806a63929b4aa370a4801713f1202662b3ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.5.0.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.9
|