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/keras_trader.py:219–220 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
217
218
219
def
_get_val(self):
220
return
self.stock_owned.dot(self.stock_price) + self.cash_in_hand
221
222
223
def
_trade(self, action):
Callers
1
step
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected