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.8.tar.gz
(17.4 kB
view details)
Built Distribution
File details
Details for the file fca-algorithms-0.0.8.tar.gz
.
File metadata
- Download URL: fca-algorithms-0.0.8.tar.gz
- Upload date:
- Size: 17.4 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 | 8548f28645dd3de6dfbf640d71c774366c2c146310e4556ff0676bab5aa5db7a |
|
MD5 | c59b5cc8b79e28dfa495c45b7f04155f |
|
BLAKE2b-256 | 731059b3c6b8e725755fecae0936506ba9476bbcf37b75c8a073ce70a8906140 |
File details
Details for the file fca_algorithms-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: fca_algorithms-0.0.8-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 | 7f3ab095d3ce7ba68c28340ca9f626ebe53298b255c716bff8876ccfc69b19a4 |
|
MD5 | e08eb94638800337f31305c30529e3f2 |
|
BLAKE2b-256 | 9c6629165c8743b72e62dacb9925ae57d164526faea0377f73188c687b7f375c |