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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fca-algorithms-0.0.17.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.17.tar.gz
Algorithm Hash digest
SHA256 1e7e83ddf3cbc394d4dc89440d5cfe827a89438217ddefd45f4eb3bde39028b4
MD5 117dbc9da95a3adf2b1bcb40ecb33417
BLAKE2b-256 cb126cc4b14d0422083b9580673d509c0fb2d477d341a932dd67b40d51cec909

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fca_algorithms-0.0.17-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.17-py3-none-any.whl
Algorithm Hash digest
SHA256 b46aa8d0ac6dd06d6c0acf2cb623bac3bb8302b59cca09ad0800ed3a360124be
MD5 a2dd7efa2cebc66f00ff7daebffc1053
BLAKE2b-256 839d441e83466cecadf255e8b58906ab2276bbaa8924377bd77bfa076d46f7ea

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