Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ _get_val
Method
_get_val
tf2.0/mlp_trader.py:200–201 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
198
199
200
def
_get_val(self):
201
return
self.stock_owned.dot(self.stock_price) + self.cash_in_hand
202
203
204
def
_trade(self, action):
Callers
1
step
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected