FCA basic algorithms
Project description
FCA utils
Module for FCA basics such as retrieving concepts, drawing a hasse diagram, etc
Getting formal concepts
from base_models import Context
from get_lattice import Inclose
c = Context(O, A, I)
concepts = Inclose().get_concepts(c)
Getting association rules
from base_models import Context
from get_lattice import Inclose
c = Context(O, A, I)
Inclose().get_association_rules(c, min_support=0.4, min_confidence=1)
Drawing hasse diagram
from get_lattice import Inclose
from plot.plot import plot_from_hasse
from base_models import Context
c = Context(O, A, I)
hasse_lattice, concepts = Inclose().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.3.tar.gz
(17.2 kB
view details)
Built Distribution
File details
Details for the file fca-algorithms-0.0.3.tar.gz
.
File metadata
- Download URL: fca-algorithms-0.0.3.tar.gz
- Upload date:
- Size: 17.2 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 | a7ab287700a445cc58baa1c80ed4e70546d9b019aabf2efb50a1a8e2917dbf97 |
|
MD5 | b61e4b44c09f003ebc1ce689ab1a276b |
|
BLAKE2b-256 | 47433ebbe39377bcbf3346a4dbff60aa49b5bcd59aee8ae7f0ee9bd267520dd0 |
File details
Details for the file fca_algorithms-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: fca_algorithms-0.0.3-py3-none-any.whl
- Upload date:
- Size: 20.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 | 65c8662cb30aafc6f10ee1c8b309fb639fce90ef1f2ebd403ee90d0527379838 |
|
MD5 | ff7f97c1d64690bbdfdf3390f6a8ffb6 |
|
BLAKE2b-256 | e2d9f07ce0b5ef4a400af685d17483afa45c960cd7e3610647d4c8cd55845ed0 |