API Reference

Context

context.FormalContext([data, object_names, …])

A class used to represent Formal Context object from FCA theory.

context.BinTable([data])

A class to encapsulate the work with binary tables in an efficient way

context.converters

This module provides a number of functions to read/write FormalContext object from/to a file

MVContext

mvcontext.MVContext([data, pattern_types, …])

A class used to represent Many Valued Context object from FCA theory.

mvcontext.pattern_structure

This module contains classes of basic Pattern Structures which allow FCA to work with data of any complex description

Lattice

lattice.ConceptLattice(concepts, **kwargs)

A class used to represent Concept Lattice object from FCA theory

lattice.formal_concept

This module provides a class FormalConcept which represents the Formal Concept object from FCA theory

lattice.pattern_concept

This module provides a class PatternConcept which represents the Pattern Concept object from FCA theory

lattice.concept_measures

This module provides a set of functions to compute interestingness measures of concepts

Visualizer

Machine Learning

ml.decision_lattice

This module provides ‘DecisionLatticeClassifier’ and ‘DecisionLatticeRegressor’ classes to use ‘ConceptLattice’ in a DecisionTree-like manner

Algorithms

algorithms.concept_construction

This module contains functions that take a FormalContext (or MVContext) and return a set of formal (or pattern) concepts.

algorithms.lattice_construction

This module contains a number of function which take a set of formal (or pattern) concepts and return its subconcepts_dict i.e. the order of given concepts in the form {parent_concept_index: child_concept_index}.

Utils

utils.utils

This module provides a set of functions which can be useful in any subpackage of fcapy package