Skip to main content

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


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.16.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

fca_algorithms-0.0.16-py3-none-any.whl (22.6 kB view details)

Uploaded Python 3

File details

Details for the file fca-algorithms-0.0.16.tar.gz.

File metadata

  • Download URL: fca-algorithms-0.0.16.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

Hashes for fca-algorithms-0.0.16.tar.gz
Algorithm Hash digest
SHA256 62f6fb84e3ca334dc8d4b8301d7605288cbea6c3d7c9b449f171b24fce5035e9
MD5 2b7c5c6d159e358164d35e45a13d441a
BLAKE2b-256 c8e4e27f449a2d75ea94460323066e320040a07caa99cfb8289b4de0dfe959c5

See more details on using hashes here.

File details

Details for the file fca_algorithms-0.0.16-py3-none-any.whl.

File metadata

  • Download URL: fca_algorithms-0.0.16-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

Hashes for fca_algorithms-0.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 1e71cfdbfa076d5fb21318f2df96ba6f1ebe8b020d5e925d619de03a3a6870f6
MD5 33de8f5341c65eb0f83ff61fc09c9914
BLAKE2b-256 7e92e72f020dfe0cff59e7f9c8feb207be94a6b629bc3a70162aa95693ba294d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page