Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ g2
Function
g2
linear_regression_class/gd.py:13–14 ·
view source on GitHub ↗
(x2)
Source
from the content-addressed store, hash-verified
11
return
2*x1
12
13
def
g2(x2):
14
return
4*x2**3
15
16
values = []
17
for
i in range(1000):
Callers
1
gd.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected