Spaces:
Running
Running
yml
Browse files
.github/workflows/air-quality-daily.yml
CHANGED
@@ -19,6 +19,8 @@ jobs:
|
|
19 |
- name: Update dummy file
|
20 |
run: echo "$(date)" >> dummy.txt
|
21 |
|
|
|
|
|
22 |
- name: pushing changes
|
23 |
uses: stefanzweifel/git-auto-commit-action@v5
|
24 |
with:
|
|
|
19 |
- name: Update dummy file
|
20 |
run: echo "$(date)" >> dummy.txt
|
21 |
|
22 |
+
|
23 |
+
|
24 |
- name: pushing changes
|
25 |
uses: stefanzweifel/git-auto-commit-action@v5
|
26 |
with:
|
.github/workflows/{update-df.yml → feature.yml}
RENAMED
@@ -1,4 +1,4 @@
|
|
1 |
-
name:
|
2 |
|
3 |
on:
|
4 |
workflow_dispatch:
|
@@ -31,4 +31,4 @@ jobs:
|
|
31 |
env:
|
32 |
HOPSWORKS_API_KEY: ${{ secrets.HOPSWORKS_API_KEY }}
|
33 |
run: |
|
34 |
-
python
|
|
|
1 |
+
name: feature
|
2 |
|
3 |
on:
|
4 |
workflow_dispatch:
|
|
|
31 |
env:
|
32 |
HOPSWORKS_API_KEY: ${{ secrets.HOPSWORKS_API_KEY }}
|
33 |
run: |
|
34 |
+
python feature_pipeline.py
|
.github/workflows/inference.yml
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: inference
|
2 |
+
|
3 |
+
on:
|
4 |
+
workflow_dispatch:
|
5 |
+
schedule:
|
6 |
+
- cron: '*/5 * * * *'
|
7 |
+
|
8 |
+
jobs:
|
9 |
+
schedule_pipelines:
|
10 |
+
runs-on: ubuntu-latest
|
11 |
+
|
12 |
+
permissions:
|
13 |
+
pages: write
|
14 |
+
contents: write
|
15 |
+
|
16 |
+
steps:
|
17 |
+
- name: checkout repo content
|
18 |
+
uses: actions/checkout@v4
|
19 |
+
|
20 |
+
- name: setup python
|
21 |
+
uses: actions/setup-python@v5
|
22 |
+
with:
|
23 |
+
python-version: '3.10'
|
24 |
+
cache: 'pip'
|
25 |
+
- name: install python packages
|
26 |
+
run: |
|
27 |
+
python -m pip install --upgrade pip
|
28 |
+
pip install -r requirements.txt
|
29 |
+
|
30 |
+
- name: execute python workflows from bash script
|
31 |
+
env:
|
32 |
+
HOPSWORKS_API_KEY: ${{ secrets.HOPSWORKS_API_KEY }}
|
33 |
+
run: |
|
34 |
+
python feature_pipeline.py
|
merge_df.py
CHANGED
@@ -74,4 +74,4 @@ def get_merged_dataframe():
|
|
74 |
# Drop the individual columns after merging
|
75 |
combined_df = combined_df.drop(columns=['predicted_pm25_x', 'predicted_pm25_y'])
|
76 |
|
77 |
-
|
|
|
74 |
# Drop the individual columns after merging
|
75 |
combined_df = combined_df.drop(columns=['predicted_pm25_x', 'predicted_pm25_y'])
|
76 |
|
77 |
+
return combined_df
|