Corrected print to verbatim in pdf file
This commit is contained in:
Binary file not shown.
@@ -247,7 +247,7 @@ Here is the Python code you need to generate the training data, see
|
||||
also the \href{{https://physics.bu.edu/~pankajm/ML-Notebooks/HTML/NB_CVI-linreg_ising.html}}{notebook of Mehta et
|
||||
al}.
|
||||
|
||||
\begin{print}
|
||||
\begin{verbatim}
|
||||
import numpy as np
|
||||
import scipy.sparse as sp
|
||||
np.random.seed(12)
|
||||
@@ -276,7 +276,7 @@ def ising_energies(states,L):
|
||||
return E
|
||||
# calculate Ising energies
|
||||
energies=ising_energies(states,L)
|
||||
\end{print}
|
||||
\end{verbatim}
|
||||
|
||||
We can now recast the problem as a linear regression model using our codes from project 1.
|
||||
The way we are going to build our model mimicks the way we could think of finding say the gravitional constant for the graviational force between two planets.
|
||||
|
||||
Reference in New Issue
Block a user