Python implementation of algorithms from Formal Concept Analysis (FCA), including concept lattice construction, attribute reduction, reduct computation and implication analysis.
The workflow is:
- Define an object–attribute relation in ConExp.
- Export the relation as
.txt. - Parse the file in Python and convert it into a structured dataframe.
- Build the concept table.
- Classify attributes according to reduction theory.
- Compute consistent sets (reducts).
- Validate implications between sets of attributes.
- Construction of concept tables from object–attribute relations.
- Analysis of concept relationships.
The project classifies attributes into:
- Infimum irreducibles (M_f)
- Infimum reducibles
- Absolutely necessary attributes (C_f)
- Relatively necessary attributes (K_f)
- Absolutely unnecessary attributes (I_f)
Generation of:
- Consistent attribute sets
- Reducts
Implementation of:
implicacion_valida(atr1, atr2, df)Checks whether one attribute set implies another over the given relation.
- Python
- Pandas
- ConExp (for relation generation and concept lattices)
(Add screenshots here)
.
├── EXsept2024.txt (example)
├── images/
├── analisis_conceptos.ipynb
└── README.mdThis project combines mathematical theory and algorithmic implementation, focusing on formal concept analysis, attribute reduction and implication reasoning.





