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.29.tar.gz
(18.7 kB
view details)
Built Distribution
File details
Details for the file fca-algorithms-0.0.29.tar.gz
.
File metadata
- Download URL: fca-algorithms-0.0.29.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 | 07d53533187efd96f34dc22845d282bd29b4ba82b9c0a3ff4bdef89c0120b84f |
|
MD5 | a1a53dfbeba3e78d075864885f3fc0a6 |
|
BLAKE2b-256 | 9b40fdf8178a7453e8a18b4cd227e05ac4dea948fcf1a1fc6daa6eb4d957959a |
File details
Details for the file fca_algorithms-0.0.29-py3-none-any.whl
.
File metadata
- Download URL: fca_algorithms-0.0.29-py3-none-any.whl
- Upload date:
- Size: 22.8 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 | 970f49142f254d298836c09e6afc8104af3b04e5798672f60303088f55f802a5 |
|
MD5 | 7d5442e29edf35f7fa1f16b26dbcd8a8 |
|
BLAKE2b-256 | f7f573b88b80b4e1735c75c3d60452a3e0d31f4763ec1ea309967cf1d1a4fb75 |