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

Uploaded Source

Built Distribution

fca_algorithms-0.0.20-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fca-algorithms-0.0.20.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.2 keyring/23.2.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for fca-algorithms-0.0.20.tar.gz
Algorithm Hash digest
SHA256 7862e66a786784e3690a18260db1222736bef7d56ef96f80e026e5042b79acde
MD5 0b853d0935a3e19454b32fe49e77f011
BLAKE2b-256 c3adcab9dc702b22819a9a5a3d94e26360486702ff70eec628baa6e52f3548e1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fca_algorithms-0.0.20-py3-none-any.whl
  • Upload date:
  • Size: 22.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.2 keyring/23.2.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for fca_algorithms-0.0.20-py3-none-any.whl
Algorithm Hash digest
SHA256 fb80e142584e6a1e41146b9195ecc6085dd0649ae14264a4633208448f306964
MD5 fea81f3c8fcef225a2d8b2cc0fb77b37
BLAKE2b-256 61adda1d4e6e5822dac48f7f46e3bf863624600aa2af88351799f7ee882413ef

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