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.23.tar.gz
(18.6 kB
view details)
Built Distribution
File details
Details for the file fca-algorithms-0.0.23.tar.gz
.
File metadata
- Download URL: fca-algorithms-0.0.23.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 | 76553444b84d48f6befac78daa4a3d3d1ae71aa4e8e8cdca19b28da2bdc22d08 |
|
MD5 | b30146c72299251fd4c6d425a8a4712a |
|
BLAKE2b-256 | 5222ee61518104e0195c196be51b26d7a43f9511e5a6ddf59c694da26a1e7f38 |
File details
Details for the file fca_algorithms-0.0.23-py3-none-any.whl
.
File metadata
- Download URL: fca_algorithms-0.0.23-py3-none-any.whl
- Upload date:
- Size: 22.7 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 | 1f1597a337c8e23842ea0aabebb52e8e383e458b9e7eb04df1d945898c4e11ca |
|
MD5 | 8e4acfc5ff40a38ea1cdcd57f13dc706 |
|
BLAKE2b-256 | 59d98740310b28f8cd1971b18bb81415209377d1233bc4c7028d6fc2f3e07b76 |