MCPcopy Create free account
hub / github.com/lazyprogrammer/machine_learning_examples / get_data

Function get_data

tf2.0/mlp_trader.py:16–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14
15# Let's use AAPL (Apple), MSI (Motorola), SBUX (Starbucks)
16def get_data():
17 # returns a T x 3 list of stock prices
18 # each row is a different stock
19 # 0 = AAPL
20 # 1 = MSI
21 # 2 = SBUX
22 df = pd.read_csv('aapl_msi_sbux.csv')
23 return df.values
24
25
26

Callers 1

mlp_trader.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected