johnbarton / ACE

Fast and flexible code for solving the inverse Ising/Potts inference problem
MIT License
26 stars 8 forks source link

Speed of the program #1

Closed rxu2 closed 5 years ago

rxu2 commented 5 years ago

How long will it take to fit an Ising model with 2,000 atoms?

Hmm. 10 atoms took much longer than 1 minute.

johnbarton commented 5 years ago

2000 spins is a large system, but the speed depends quite a lot on the properties of the Ising model. If the system is well-sampled and weakly correlated, then the inference will be much faster. If there are few samples or strong correlations/interactions, then it might take much longer.

I would expect that inference for a 10-site system should be fast, because that is small enough that the entire partition function can be evaluated. Are the correlations in your system very strong, or nearly singular? Also, if you have not already done so I would recommend using regularization at least of the order of 1/# samples in the data used to generate the correlations.

If you have questions about analysis of some specific data, I'd be happy to help out here or by email.

rxu2 commented 5 years ago

Thank you for the kind offer. I wrote a program that can work for the hardware at my disposal.