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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fca-algorithms-0.0.22.tar.gz
  • Upload date:
  • Size: 18.7 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.22.tar.gz
Algorithm Hash digest
SHA256 ddc3c790398088790e8959409517f6c70aa89b8c6195ed2b30e0ddfb6abd3003
MD5 bb03228bf4193d55cf2764a1d432892c
BLAKE2b-256 9a504c2aecf80c0bd7d29827d84f12c2a45e0dcb3bc32071999311d5e7fe31af

See more details on using hashes here.

File details

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

File metadata

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

Hashes for fca_algorithms-0.0.22-py3-none-any.whl
Algorithm Hash digest
SHA256 8a5335a1e9300b25d451e960794321305ba23bd97e8c01ea64629b6bb39e5f59
MD5 fd64083b851ae369475446c6d8554e98
BLAKE2b-256 e6838329181b6b22e3c430789a811c2a89682627605e469a46af2969b4117050

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