Skip to content

Commit

Permalink
Merge pull request #4 from mijanr/correct_woflow_git
Browse files Browse the repository at this point in the history
Correct workflow git
  • Loading branch information
mijanr authored Mar 16, 2024
2 parents f09b623 + b697e5f commit 1ebb79b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 14 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/update_readme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Update README
on:
push:
branches:
- main
- correct_woflow_git

jobs:
update-readme:
Expand All @@ -28,7 +28,13 @@ jobs:

- name: Commit results if it changed
run: |
git diff --exit-code --quiet results/best_runs.md || (git add results/best_runs.md && git commit -m "Update best runs")
# if the results changed then commit the changes
if [[ $(git status --porcelain) ]]; then
git config --global user.email "[email protected]"
git config --global user.name "Md Mijanur Rahman"
git commit -am "Update results" || exit 0
git push
fi
- name: Replace results in README
run: |
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ We use the classification models available in [tsai library](https://timeseriesa
You can find the results in the following table:

<!--START-->
| Dataset | GRU_FCN | LSTM | LSTM_FCN |
|:----------------------|----------:|-----------:|-----------:|
| ECG200 | 0.91 | nan | 0.92 |
| HandMovementDirection | nan | nan | 0.486486 |
| Handwriting | nan | nan | 0.0752941 |
| ItalyPowerDemand | nan | 0.559767 | 0.910593 |
| Dataset | GRU_FCN | LSTM | LSTM_FCN |
|:----------------------|-----------:|------------:|-----------:|
| ECG200 | 0.91 | nan | 0.92 |
| HandMovementDirection | nan | nan | 0.486486 |
| Handwriting | 0.101176 | 0.0541176 | 0.0752941 |
| ItalyPowerDemand | nan | 0.559767 | 0.910593 |
<!--END-->


Expand Down
12 changes: 6 additions & 6 deletions results/best_runs.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
| Dataset | GRU_FCN | LSTM | LSTM_FCN |
|:----------------------|----------:|-----------:|-----------:|
| ECG200 | 0.91 | nan | 0.92 |
| HandMovementDirection | nan | nan | 0.486486 |
| Handwriting | nan | nan | 0.0752941 |
| ItalyPowerDemand | nan | 0.559767 | 0.910593 |
| Dataset | GRU_FCN | LSTM | LSTM_FCN |
|:----------------------|-----------:|------------:|-----------:|
| ECG200 | 0.91 | nan | 0.92 |
| HandMovementDirection | nan | nan | 0.486486 |
| Handwriting | 0.101176 | 0.0541176 | 0.0752941 |
| ItalyPowerDemand | nan | 0.559767 | 0.910593 |

0 comments on commit 1ebb79b

Please sign in to comment.