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.24.tar.gz
(18.7 kB
view details)
Built Distribution
File details
Details for the file fca-algorithms-0.0.24.tar.gz
.
File metadata
- Download URL: fca-algorithms-0.0.24.tar.gz
- Upload date:
- Size: 18.7 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 | 569b3a08e271b50946d1e7532548b29d09d69a9a36f8ef81d2c9c2a72f8aa103 |
|
MD5 | 4c534d9fc44d4ba6d83bc0b5cfca51c2 |
|
BLAKE2b-256 | 46d78fe6f29050d4f878d1fd760f5c954b0d81c67ed9bcf52b7cce27b880114a |
File details
Details for the file fca_algorithms-0.0.24-py3-none-any.whl
.
File metadata
- Download URL: fca_algorithms-0.0.24-py3-none-any.whl
- Upload date:
- Size: 22.7 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 | b759e3ad111f3e3ff3b5385c5f49c21abafd1233bb5c544ae1bedff406a5bcb1 |
|
MD5 | 460470cea0d6243b431e64951793fbe1 |
|
BLAKE2b-256 | 119320168acd8f5305ee37ba871fbeee9b53005f73b57575acd6c08f8b811de2 |