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.13.tar.gz
(18.6 kB
view details)
Built Distribution
File details
Details for the file fca-algorithms-0.0.13.tar.gz
.
File metadata
- Download URL: fca-algorithms-0.0.13.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 | f4b2582d1b74a939710a988e9974a57c68e577d87d4f77bc054e8f484d6a02e3 |
|
MD5 | b6f4dc56bcfa041506e68abccfb13fd4 |
|
BLAKE2b-256 | 26fa034f2f9b241e1b55b00886f4aaec95a5ead1f61eb34b1036a9500739ef78 |
File details
Details for the file fca_algorithms-0.0.13-py3-none-any.whl
.
File metadata
- Download URL: fca_algorithms-0.0.13-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 | 6b73f10d7743011931455487e023a4756cfa8e9fb17eedfc28ac962b2008d9c3 |
|
MD5 | 978aad9e9de15d189820a04eddca40b8 |
|
BLAKE2b-256 | 6ad9e36587aaced4ea1e04896a70a802bbc4de20ff8bde6c979dbb703a317774 |