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.19.tar.gz
(18.6 kB
view details)
Built Distribution
File details
Details for the file fca-algorithms-0.0.19.tar.gz
.
File metadata
- Download URL: fca-algorithms-0.0.19.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 | a680056a36eb52e5efd64fb743e95a0af98f53c22ea308fb8d00004769acda56 |
|
MD5 | 95c287fb505fb773e76c02a5a970eb2c |
|
BLAKE2b-256 | 813b4d3a50f93f6a20c7b0cd4ce24026c8e0083dae57ad873838b455768c8465 |
File details
Details for the file fca_algorithms-0.0.19-py3-none-any.whl
.
File metadata
- Download URL: fca_algorithms-0.0.19-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 | 53477030908067b831c6db83410727144fce6facca9f7044ca1f337d770ff00a |
|
MD5 | a8e8b60c450e8fc63768b69545455692 |
|
BLAKE2b-256 | 729dcea6ea7dc75f5040b295b4d2b00888c593e880857b593a3b7c4cff256591 |