- Requirements
- numpy, pytorch
- For overview of code + some plots, check out
main.ipynb
- Generate Ising model data:
- run
python generate_data.py
- Place correlated .npy file in correct temperature directory
- run
- Create uncorrelated samples in
supervised_convnet/generate_uncorrelated_data.py
- Set
data
variable to be path of the Ising model data (of each temperature) - Place uncorrelated .npy file in correct temperature directory
- Set
- Train neural network to distinguish between correlated/uncorrelated samples in temperature directory e.g.
supervised_convnet/t_1/train.py
- Make sure both correlated and uncorrelated .npy file in
supervised_convnet/t_1
- Make sure both correlated and uncorrelated .npy file in
- Neural network architecture in
supervised_convnet/supervised_convnet.py
- Also contains
IsingDataset
class for pytorch data set loading
- Also contains
-
Notifications
You must be signed in to change notification settings - Fork 0
anhhuyalex/renormalization
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published