Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ grad
Method
grad
rl/approx_prediction.py:59–61 ·
view source on GitHub ↗
(self, s)
Source
from the content-addressed store, hash-verified
57
return
x @ self.w
58
59
def
grad(self, s):
60
x = self.featurizer.transform([s])[0]
61
return
x
62
63
64
if
__name__ ==
'__main__'
:
Callers
1
approx_prediction.py
File · 0.45
Calls
1
transform
Method · 0.45
Tested by
no test coverage detected