Created
October 7, 2018 21:57
-
-
Save Dviejopomata/d6dfa8948f8700e4860e456a83a8363c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.pyplot as plt | |
import numpy as np | |
x = np.arange(100) | |
delta = np.random.uniform(-10, 10, size=(100,)) | |
y = -.3 * x + 3 + delta | |
print(delta) | |
plt.plot(x, y) | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment