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.6.tar.gz
(17.3 kB
view details)
Built Distribution
File details
Details for the file fca-algorithms-0.0.6.tar.gz
.
File metadata
- Download URL: fca-algorithms-0.0.6.tar.gz
- Upload date:
- Size: 17.3 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 | cdfdf3dc7e86618efae1a22a7a66a2eab01aece63eb91921de8edda1d26b61b8 |
|
MD5 | bc10d99fbec4a1010841b082f662eefe |
|
BLAKE2b-256 | 878a62754659c27c3201c1a428cc663e3b2a1e1e6e179f07418b15267e3c1a58 |
File details
Details for the file fca_algorithms-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: fca_algorithms-0.0.6-py3-none-any.whl
- Upload date:
- Size: 21.1 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 | b09cab20ebe01e5967ebca7a34dbdf7ec96856e178854c8b5477148fb4f64939 |
|
MD5 | 3e0c6eb163909f6c54735b6e10d36bd8 |
|
BLAKE2b-256 | e5e3f7bb6cbc1455705b8fc5995c3300a4d5134fc1d814cb324c916c0d2f493c |