boomsss commited on
Commit
c97158f
1 Parent(s): c4ef28b

update dataset refs for models

Browse files
Files changed (5) hide show
  1. model_1h.py +1 -1
  2. model_30m.py +1 -1
  3. model_90m.py +1 -1
  4. model_day.py +1 -1
  5. research_hod_lod.ipynb +1 -1
model_1h.py CHANGED
@@ -214,7 +214,7 @@ def get_data():
214
 
215
 
216
  # Pull in data
217
- data = load_dataset("boomsss/SPX_full_30min", split='train')
218
 
219
  rows = [d['text'] for d in data]
220
  rows = [x.split(',') for x in rows]
 
214
 
215
 
216
  # Pull in data
217
+ data = load_dataset("boomsss/spx_intra", split='train')
218
 
219
  rows = [d['text'] for d in data]
220
  rows = [x.split(',') for x in rows]
model_30m.py CHANGED
@@ -210,7 +210,7 @@ def get_data():
210
  spx = yf.Ticker('^GSPC')
211
 
212
  # Pull in data
213
- data = load_dataset("boomsss/SPX_full_30min", split='train')
214
 
215
  rows = [d['text'] for d in data]
216
  rows = [x.split(',') for x in rows]
 
210
  spx = yf.Ticker('^GSPC')
211
 
212
  # Pull in data
213
+ data = load_dataset("boomsss/spx_intra", split='train')
214
 
215
  rows = [d['text'] for d in data]
216
  rows = [x.split(',') for x in rows]
model_90m.py CHANGED
@@ -214,7 +214,7 @@ def get_data():
214
 
215
 
216
  # Pull in data
217
- data = load_dataset("boomsss/SPX_full_30min", split='train')
218
 
219
  rows = [d['text'] for d in data]
220
  rows = [x.split(',') for x in rows]
 
214
 
215
 
216
  # Pull in data
217
+ data = load_dataset("boomsss/spx_intra", split='train')
218
 
219
  rows = [d['text'] for d in data]
220
  rows = [x.split(',') for x in rows]
model_day.py CHANGED
@@ -18,7 +18,7 @@ from pandas.tseries.offsets import BDay
18
  from datasets import load_dataset
19
 
20
  # If the dataset is gated/private, make sure you have run huggingface-cli login
21
- dataset = load_dataset("boomsss/SPX_full_30min", split="train")
22
 
23
  def walk_forward_validation(df, target_column, num_training_rows, num_periods):
24
 
 
18
  from datasets import load_dataset
19
 
20
  # If the dataset is gated/private, make sure you have run huggingface-cli login
21
+ dataset = load_dataset("boomsss/spx_intra", split="train")
22
 
23
  def walk_forward_validation(df, target_column, num_training_rows, num_periods):
24
 
research_hod_lod.ipynb CHANGED
@@ -26,7 +26,7 @@
26
  "\n",
27
  "raw_data, df_final, final_date = get_data()\n",
28
  "\n",
29
- "data = load_dataset(\"boomsss/SPX_full_30min\", split='train')\n",
30
  "\n",
31
  "rows = [d['text'] for d in data]\n",
32
  "rows = [x.split(',') for x in rows]\n",
 
26
  "\n",
27
  "raw_data, df_final, final_date = get_data()\n",
28
  "\n",
29
+ "data = load_dataset(\"boomsss/spx_intra\", split='train')\n",
30
  "\n",
31
  "rows = [d['text'] for d in data]\n",
32
  "rows = [x.split(',') for x in rows]\n",