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.7.tar.gz
(17.4 kB
view details)
Built Distribution
File details
Details for the file fca-algorithms-0.0.7.tar.gz
.
File metadata
- Download URL: fca-algorithms-0.0.7.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 | c056c350090abdacfa448344c15cb63af809ffb3d528f3514bfb7fbcedd224a4 |
|
MD5 | 205293d666f091b91feddc0a0b1b1a3d |
|
BLAKE2b-256 | c6d45cb0e87e571cbbee0ca07ae87e521a1802edd74f8383fcd9b028006af339 |
File details
Details for the file fca_algorithms-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: fca_algorithms-0.0.7-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 | 43c734b5581e50e3e3981a00ce5f44471741142649d4f9541413fe0725982aaa |
|
MD5 | c73703cfbe97d2de6c1c5c537789ef53 |
|
BLAKE2b-256 | 31e554b7995f5e5edfb5a7af64dc76de5926fea53f10e16515b325deffea2e92 |