-
-
Notifications
You must be signed in to change notification settings - Fork 45
REPLICA: PR #355 #382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
REPLICA: PR #355 #382
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lectures/lake_model.md
Outdated
new_x = self.A_hat @ x | ||
error = np.max(np.abs(new_x - x)) | ||
x = new_x | ||
x = np.array([self.A_hat[1, 0], self.A_hat[0, 1]]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
x = np.array([self.A_hat[1, 0], self.A_hat[0, 1]]) | |
x = np.array([self.A_hat[0, 1], self.A_hat[1, 0]]) |
Please find experiment:
https://gist.github.com/shlff/02f5aac35f8793cdf08935e13174b131
where method with x = np.array([self.A_hat[0, 1], self.A_hat[1, 0]])
generates the same result as the original iterative method.
lectures/lake_model.md
Outdated
new_x = self.A_hat @ x | ||
error = np.max(np.abs(new_x - x)) | ||
x = new_x | ||
x = np.array([self.A_hat[1, 0], self.A_hat[0, 1]]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
x = np.array([self.A_hat[1, 0], self.A_hat[0, 1]]) | |
x = np.array([self.A_hat[0, 1], self.A_hat[1, 0]]) |
Same here.
Closing as no longer required |
This is a replicate of #355