Created
January 11, 2022 00:16
-
-
Save charlieoneill11/46365b77cd5b45f0830984899a21957e to your computer and use it in GitHub Desktop.
Klay data creation
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
X = [x for x in range(11)] | |
y = [1.6*x + 4 + np.random.normal(10, 1) for x in X] | |
X, y | |
([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], | |
[8.059610387807004, | |
11.05288064074008, | |
11.353963162111054, | |
13.816355592580631, | |
14.13887152857681, | |
15.694474605527, | |
15.684278885945714, | |
15.532815595076784, | |
18.247200671926283, | |
20.520472619447048, | |
20.127253834627]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment