FCA basic algorithms
Project description
FCA utils
Module for FCA basics such as retrieving concepts, drawing a hasse diagram, etc
Getting formal concepts
from fca.api_models import Context
c = Context(O, A, I)
concepts = c.get_concepts(c)
Getting association rules
from fca.api_models import Context
c = Context(O, A, I)
c.solver.get_association_rules(c, min_support=0.4, min_confidence=1)
Drawing hasse diagram
from fca.plot.plot import plot_from_hasse
from fca.api_models import Context
c = Context(O, A, I)
hasse_lattice, concepts = c.get_lattice(c)
plot_from_hasse(hasse_lattice, concepts)
TODO
- Make algorithms to be able to work with streams (big files)
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 Distribution
fca-algorithms-0.0.18.tar.gz
(18.6 kB
view details)
Built Distribution
File details
Details for the file fca-algorithms-0.0.18.tar.gz
.
File metadata
- Download URL: fca-algorithms-0.0.18.tar.gz
- Upload date:
- Size: 18.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 407ab5601695eff8ab1276a3898a8ce7cd94d6f57f613aea8b1731c13f780585 |
|
MD5 | b3b243beab8d6f5f172f69ebb5eef002 |
|
BLAKE2b-256 | f3078fde6b698dc4a76dab6cbf39f9742ceac5e3565161fd54cef0fe2564bb39 |
File details
Details for the file fca_algorithms-0.0.18-py3-none-any.whl
.
File metadata
- Download URL: fca_algorithms-0.0.18-py3-none-any.whl
- Upload date:
- Size: 22.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cacd39980f14ce6e2f34567182bbb83c5b662140068bcf1b14708fd0570291ad |
|
MD5 | ace07124dcc7953120ab390427ce1272 |
|
BLAKE2b-256 | ceb526d78a642a8e9e3aeee44a517daa0fe9eb1917915a969c1bdf92cc6a4b1b |