mtzeve commited on
Commit
bbf79c3
β€’
1 Parent(s): 1e4196e

updated_18

Browse files
Files changed (29) hide show
  1. .DS_Store +0 -0
  2. .github/workflows/inference_pipeline.yml +2 -2
  3. {Notebooks/Notebooks β†’ notebooks}/1_historical_news.ipynb +0 -0
  4. {Notebooks/Notebooks β†’ notebooks}/2_historical_stock.ipynb +0 -0
  5. {Notebooks/Notebooks β†’ notebooks}/3_news_preprocessing.ipynb +0 -0
  6. {Notebooks/Notebooks β†’ notebooks}/4_stock_preprocessing.ipynb +0 -0
  7. {Notebooks/Notebooks β†’ notebooks}/5_feature_pipeline.ipynb +0 -0
  8. {Notebooks/Notebooks β†’ notebooks}/6_feature_view.ipynb +0 -0
  9. {Notebooks/Notebooks β†’ notebooks}/7_training_pipeline.ipynb +0 -0
  10. {Notebooks/Notebooks β†’ notebooks}/8_inference_pipeline.ipynb +1 -1
  11. {Notebooks/Notebooks β†’ notebooks}/SML/__pycache__/feature_pipeline.cpython-311.pyc +0 -0
  12. {Notebooks/Notebooks β†’ notebooks}/SML/__pycache__/news_preprocessing.cpython-311.pyc +0 -0
  13. {Notebooks/Notebooks β†’ notebooks}/SML/__pycache__/training_pipeline.cpython-311.pyc +0 -0
  14. {Notebooks/Notebooks β†’ notebooks}/SML/__pycache__/training_pipeline_new.cpython-311.pyc +0 -0
  15. {Notebooks/Notebooks β†’ notebooks}/SML/app.py +0 -0
  16. {Notebooks/Notebooks β†’ notebooks}/SML/feature_pipeline.py +0 -0
  17. {Notebooks/Notebooks β†’ notebooks}/SML/feature_view.py +0 -0
  18. {Notebooks/Notebooks β†’ notebooks}/SML/historical_news.py +0 -0
  19. {Notebooks/Notebooks β†’ notebooks}/SML/historical_stock.py +0 -0
  20. {Notebooks/Notebooks β†’ notebooks}/SML/inference_pipeline.py +1 -1
  21. {Notebooks/Notebooks β†’ notebooks}/SML/news_preprocessing.py +0 -0
  22. {Notebooks/Notebooks β†’ notebooks}/SML/stock_preprocessing.py +0 -0
  23. {Notebooks/Notebooks β†’ notebooks}/SML/training_pipeline.py +0 -0
  24. {Notebooks/Notebooks β†’ notebooks}/TSLA_stock_price.csv +0 -0
  25. {Notebooks/Notebooks β†’ notebooks}/news_articles.csv +0 -0
  26. {Notebooks/Notebooks β†’ notebooks}/news_articles_ema.csv +0 -0
  27. {Notebooks/Notebooks β†’ notebooks}/scripts/run_feature_pipeline.sh +0 -0
  28. {Notebooks/Notebooks β†’ notebooks}/scripts/run_inference_pipeline.sh +1 -1
  29. {Notebooks/Notebooks β†’ notebooks}/stock_prediction_model/stock_prediction_model.pkl +0 -0
.DS_Store CHANGED
Binary files a/.DS_Store and b/.DS_Store differ
 
.github/workflows/inference_pipeline.yml CHANGED
@@ -23,9 +23,9 @@ jobs:
23
  pip install -r requirements.txt
24
 
25
  - name: make script executable
26
- run: chmod +x Stocks_news_prediction/Notebooks/run_inference_pipeline.sh
27
 
28
  - name: execute python workflows from bash script
29
  env:
30
  HOPSWORKS_API_KEY: ${{ secrets.HOPSWORKS_API_KEY }}
31
- run: ./Stocks_news_prediction/Notebooks/run_inference_pipeline.sh
 
23
  pip install -r requirements.txt
24
 
25
  - name: make script executable
26
+ run: chmod +x ./notebooks/run_inference_pipeline.sh
27
 
28
  - name: execute python workflows from bash script
29
  env:
30
  HOPSWORKS_API_KEY: ${{ secrets.HOPSWORKS_API_KEY }}
31
+ run: ./notebooks/run_inference_pipeline.sh
{Notebooks/Notebooks β†’ notebooks}/1_historical_news.ipynb RENAMED
File without changes
{Notebooks/Notebooks β†’ notebooks}/2_historical_stock.ipynb RENAMED
File without changes
{Notebooks/Notebooks β†’ notebooks}/3_news_preprocessing.ipynb RENAMED
File without changes
{Notebooks/Notebooks β†’ notebooks}/4_stock_preprocessing.ipynb RENAMED
File without changes
{Notebooks/Notebooks β†’ notebooks}/5_feature_pipeline.ipynb RENAMED
File without changes
{Notebooks/Notebooks β†’ notebooks}/6_feature_view.ipynb RENAMED
File without changes
{Notebooks/Notebooks β†’ notebooks}/7_training_pipeline.ipynb RENAMED
File without changes
{Notebooks/Notebooks β†’ notebooks}/8_inference_pipeline.ipynb RENAMED
@@ -20,7 +20,7 @@
20
  "import pandas as pd \n",
21
  "import hopsworks \n",
22
  "from datetime import datetime, timedelta\n",
23
- "from SML.training_pipeline_new import model_dir\n",
24
  "import numpy as np\n",
25
  "\n",
26
  "\n",
 
20
  "import pandas as pd \n",
21
  "import hopsworks \n",
22
  "from datetime import datetime, timedelta\n",
23
+ "from SML.training_pipeline import model_dir\n",
24
  "import numpy as np\n",
25
  "\n",
26
  "\n",
{Notebooks/Notebooks β†’ notebooks}/SML/__pycache__/feature_pipeline.cpython-311.pyc RENAMED
File without changes
{Notebooks/Notebooks β†’ notebooks}/SML/__pycache__/news_preprocessing.cpython-311.pyc RENAMED
File without changes
{Notebooks/Notebooks β†’ notebooks}/SML/__pycache__/training_pipeline.cpython-311.pyc RENAMED
File without changes
{Notebooks/Notebooks β†’ notebooks}/SML/__pycache__/training_pipeline_new.cpython-311.pyc RENAMED
File without changes
{Notebooks/Notebooks β†’ notebooks}/SML/app.py RENAMED
File without changes
{Notebooks/Notebooks β†’ notebooks}/SML/feature_pipeline.py RENAMED
File without changes
{Notebooks/Notebooks β†’ notebooks}/SML/feature_view.py RENAMED
File without changes
{Notebooks/Notebooks β†’ notebooks}/SML/historical_news.py RENAMED
File without changes
{Notebooks/Notebooks β†’ notebooks}/SML/historical_stock.py RENAMED
File without changes
{Notebooks/Notebooks β†’ notebooks}/SML/inference_pipeline.py RENAMED
@@ -2,7 +2,7 @@
2
  import pandas as pd
3
  import hopsworks
4
  from datetime import datetime, timedelta
5
- from Notebooks.Notebooks.SML.training_pipeline import model_dir
6
  import numpy as np
7
 
8
 
 
2
  import pandas as pd
3
  import hopsworks
4
  from datetime import datetime, timedelta
5
+ from training_pipeline import model_dir
6
  import numpy as np
7
 
8
 
{Notebooks/Notebooks β†’ notebooks}/SML/news_preprocessing.py RENAMED
File without changes
{Notebooks/Notebooks β†’ notebooks}/SML/stock_preprocessing.py RENAMED
File without changes
{Notebooks/Notebooks β†’ notebooks}/SML/training_pipeline.py RENAMED
File without changes
{Notebooks/Notebooks β†’ notebooks}/TSLA_stock_price.csv RENAMED
File without changes
{Notebooks/Notebooks β†’ notebooks}/news_articles.csv RENAMED
File without changes
{Notebooks/Notebooks β†’ notebooks}/news_articles_ema.csv RENAMED
File without changes
{Notebooks/Notebooks β†’ notebooks}/scripts/run_feature_pipeline.sh RENAMED
File without changes
{Notebooks/Notebooks β†’ notebooks}/scripts/run_inference_pipeline.sh RENAMED
@@ -2,7 +2,7 @@
2
 
3
  set -e
4
 
5
- cd Stocks_news_prediction/Notebooks/SML
6
 
7
  #python feature_pipeline.py
8
 
 
2
 
3
  set -e
4
 
5
+ cd ./notebooks/SML
6
 
7
  #python feature_pipeline.py
8
 
{Notebooks/Notebooks β†’ notebooks}/stock_prediction_model/stock_prediction_model.pkl RENAMED
File without changes