Python Package with quality covers C++ extension
Project description
Quality covers
Quality covers is a pattern mining algorithm.
How to use
pip install --upgrade quality_covers
Transactional file
If your file looks like this
chess.dat:
1 3 5 7 10
1 3 5 7 10
1 3 5 8 9
1 3 6 7 9
1 3 6 8 9
or
P30968
P48551 P17181
P05121 Q03405 P00747 P02671
Q02643
P48551 P17181
use
import quality_covers
quality_covers.run_classic_size("chess.dat", False)
Binary file
If your file looks like this
chess.data:
1 0 1 0 1 0 1 0 0 1
1 0 1 0 1 0 1 0 0 1
1 0 1 0 1 0 0 1 1 0
1 0 1 0 0 1 1 0 1 0
1 0 1 0 0 1 0 1 1 0
use
import quality_covers
quality_covers.run_classic_size("chess.data", True)
Output of the functions
The functions will create two files in current directory:
- chess.data.out: the result file
- chess.data.clock: information about time execution
Extract binary matrices
You can obtain binary matrices by calling extract_binary_matrices
on the output file
quality_covers.extract_binary_matrices('chess.data.out')
More info
Paper associated
To come
Research lab
More tools about association rules
Authors
Amira Mouakher (amira.mouakher@u-bourgogne.fr) Nicolas Gros (nicolas.gros01@u-bourgogne.fr) Sebastien Gerin (sebastien.gerin@sayens.fr)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
Close
Hashes for quality_covers-2.0.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 085d70bea6e15e05de9851989bd1a411dc062fcd722cf3c2d556ccd750bb4757 |
|
MD5 | ba14bc84e3512398ffed15f0dee3579a |
|
BLAKE2b-256 | 9a82841c6ead1dbfbfc56548f22487b5619223472515a9a21bbd0c4433f17c70 |
Close
Hashes for quality_covers-2.0.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cd0ce28bfbab0ee995ee15be6dc405f320f6372c247bf7dba1caef245b09c48 |
|
MD5 | edf17dbdcb2b8c5789455184e804b729 |
|
BLAKE2b-256 | 6b1e6834c726e706a9fb2bddb641299a08ecd264514f8ff192bac18e571305a1 |
Close
Hashes for quality_covers-2.0.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6fa5f425980c49aaa91b73f1258c652c231064994dec213087491659c672bd9 |
|
MD5 | e94d24a5a99a5df002d173b78441b80a |
|
BLAKE2b-256 | 80feb32aeeae1f031c36e20b82c8e74ed3e7e0bf160b1899764709937aef8151 |
Close
Hashes for quality_covers-2.0.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9baa4b1edf8f1f4d21dbed7bae7a83682dfd1f32c1419f6a5ab0f0e99ead52cf |
|
MD5 | 3cff74938e652c5f444eb872f73b6f68 |
|
BLAKE2b-256 | 5e80f0eca9895d8dd16b7505f443603aeaaddd06d7da4e7b8475b8f66de32169 |