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

Uploaded Source

Built Distribution

fca_algorithms-0.0.6-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fca-algorithms-0.0.6.tar.gz
  • Upload date:
  • Size: 17.3 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.6.tar.gz
Algorithm Hash digest
SHA256 cdfdf3dc7e86618efae1a22a7a66a2eab01aece63eb91921de8edda1d26b61b8
MD5 bc10d99fbec4a1010841b082f662eefe
BLAKE2b-256 878a62754659c27c3201c1a428cc663e3b2a1e1e6e179f07418b15267e3c1a58

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fca_algorithms-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 21.1 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 b09cab20ebe01e5967ebca7a34dbdf7ec96856e178854c8b5477148fb4f64939
MD5 3e0c6eb163909f6c54735b6e10d36bd8
BLAKE2b-256 e5e3f7bb6cbc1455705b8fc5995c3300a4d5134fc1d814cb324c916c0d2f493c

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