This repository provides the official implementation for the paper "Machine learning modularity". The project explores the application of machine learning architectures to identify and simplify complex mathematical structures, specifically focusing on Möbius transformations,
The codebase is organized into three primary modules, each corresponding to a specific section of the research:
Focus: Machine Learning Möbius Transformations.
- Objective: Given a complex point located outside the fundamental domain, the model predicts a matrix such that the modular action maps the point back into the fundamental domain.
- Location:
/domain_reduction
Focus: Machine Learning for
- Objective: The model identifies patterns within symbolic expressions of - products and reduces them to their minimal, simplified forms.
- Location:
/q_theta_simplify
Focus: Machine Learning the Elliptic Gamma Function.
- Objective: This module handles elliptic gamma expressions following specific identities, training the model to transform them into a canonical or simplified representation.
- Location:
/elliptic_gamma_simplify
Install the necessary dependencies using pip:
pip install -r requirements.txtTo run the inference or evaluation scripts, you must download the pre-trained model weights:
- Download: Access the weight files via Google Drive.
- Extraction: After downloading, extract the archives.
- Placement: Move the extracted model files into their respective directory structures.
Navigate to the desired module folder to begin:
- quick start: Open and run the
demo.ipynbnotebooks for interactive demonstrations.