Project 2: Classifying Phases of the 2D Ising Model with Logistic Regression and Deep Neural Networks
This repository contains programs, material and report for project 2 in FYS-STK4155 made in collaboration between Kristian, Tobias and Nicolai.
In this project, we first use linear regression to determine the value of the coupling constant for the energy of the one-dimensional Ising model. Thereafter, we use two-dimensional data, but now computed at different temperatures, in order to classify the phase of the Ising model. Below the critical temperature, the system will be in a so-called ferromagnetic phase. Close to the critical temperature, the final magnetization becomes smaller and smaller in absolute value while above the critical temperature, the net magnetization is zero. This classification case, that is the two-dimensional Ising model, is studied using logistic regression and deep neural networks.
The docs folder contains files for generating source code documentation.
The latex folder contains the LaTeX source for building the report, as well as figures and tables generated in the analyses.
The notebooks folder contains Jupyter notebooks used in the analyses. For details, see the notebooks readme.
The report folder contains the report rendered to PDF from the LaTeX source.
The resources folder contains project resources such as supporting material, raw data to be analysed, etc.
The src folder contains the source code, unit tests and benchmarks. For details, see the src readme.
https://fys-stk4155-project2.readthedocs.io/en/latest/
Execute unit tests of the implementations by cd
into the project root folder and run bash run.sh
in terminal.