Skip to content

Instantly share code, notes, and snippets.

@someshfengde
Created August 18, 2023 05:25
Show Gist options
  • Save someshfengde/fb2d84c84578d4e39fe9f3a6a99bdd89 to your computer and use it in GitHub Desktop.
Save someshfengde/fb2d84c84578d4e39fe9f3a6a99bdd89 to your computer and use it in GitHub Desktop.
# let's take a sample data here we are taking integer in range 1 to 20 and output as 20 multiple this will be
# enough for understanding loss function
X = np.arange(1,20)
y = X * 20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment