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.10.tar.gz
(17.5 kB
view details)
Built Distribution
File details
Details for the file fca-algorithms-0.0.10.tar.gz
.
File metadata
- Download URL: fca-algorithms-0.0.10.tar.gz
- Upload date:
- Size: 17.5 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 | 8e898f036a4281b6e08383fbf3fea50c7e466cadc13fefd78c75336fd17f58cd |
|
MD5 | 45fb787d6130bb74042e3d6cac17153e |
|
BLAKE2b-256 | 982ee0079b3beb84619c0ebb5ef29e6e87ec8be86247bc1f0d790352ccbb892f |
File details
Details for the file fca_algorithms-0.0.10-py3-none-any.whl
.
File metadata
- Download URL: fca_algorithms-0.0.10-py3-none-any.whl
- Upload date:
- Size: 21.5 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 | a92dfee0e4fe58adfbc2ec9a6b754d5284e340afca6023488eb7621ed9f4fa39 |
|
MD5 | 8bd72d91caf6a741db12180610288e3a |
|
BLAKE2b-256 | 41e5746d27ad14d0b3d260ce41ae68c303c98dd5e90363b89b0b1358ed1e80ab |