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

Uploaded Source

Built Distribution

fca_algorithms-0.0.9-py3-none-any.whl (21.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fca-algorithms-0.0.9.tar.gz
  • Upload date:
  • Size: 17.5 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.9.tar.gz
Algorithm Hash digest
SHA256 0cbb95ef7f8cda6d03745593b126a59065178e9b6f2dcd3d35653597251f3b30
MD5 3f808ec0ac6656814e774e68a3cceb1e
BLAKE2b-256 7c3a979fd03cd36304c5fdac2803358901b4a64bcd92b528fdd7959e4fa51eb6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fca_algorithms-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 21.5 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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 3ad4f83a000c6a884caefd160c93bf8865a8e0f6fca712d908ca1c3416886ecb
MD5 db1d567ad47a178a6933dc7fee5797e7
BLAKE2b-256 871c75c020c9caeb16b781d95b5f5712b7bdf88b18d679294a565ab2838450c8

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