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.14.tar.gz
(18.6 kB
view details)
Built Distribution
File details
Details for the file fca-algorithms-0.0.14.tar.gz
.
File metadata
- Download URL: fca-algorithms-0.0.14.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 | e70daa96d34401d9358cd0be863b4c569ac5e95d93417a199d0e1fd1bad5691c |
|
MD5 | 6ac3d3676b7cf7ff85cb616707e8e36a |
|
BLAKE2b-256 | faece29393f7ff7aec95cfc8e833df78d0f072b7ca6c8276973190bad74cebb3 |
File details
Details for the file fca_algorithms-0.0.14-py3-none-any.whl
.
File metadata
- Download URL: fca_algorithms-0.0.14-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 | 7bce55fa2de37ef99aa1d128945c03f2e83736bab3c12c21f622a7aeb6ebf14f |
|
MD5 | 626bcc79c9a81e142d2dc8cf32048acd |
|
BLAKE2b-256 | 3f0de1935f60a5815214ece0059dd0f26de13870e5682a6a8ba044a8787d32fe |