This repository contains the code for a Master's thesis research project on using Spectral Neural Networks (SNNs) for solving partial differential equations (PDEs). The framework is built on DeepXDE and PyTorch, with experiment tracking managed by MLflow.
-
Clone the repository:
git clone https://github.com/aed6-ua/master2025.git cd master2025 -
Create a Python virtual environment:
python -m venv venv source venv/bin/activate -
Install the required packages:
pip install -r requirements.txt
-
Start the MLflow Server (optional, for local tracking):
mlflow server --host 127.0.0.1 --port 5000
Then, open your browser to
http://127.0.0.1:5000to view the MLflow UI.
Experiments are launched using the run_experiment.py script, which requires a configuration file. To run a single experiment (e.g., the SpectralNN model on the wave equation), use the following command:
python run_experiment.py --config configs/wave_snn.yamlYou can add a random seed for reproducibility:
python run_experiment.py --config configs/wave_snn.yaml --seed 42