Skip to content

Commit

Permalink
Merge pull request #8 from mijanr/runs
Browse files Browse the repository at this point in the history
Runs
  • Loading branch information
mijanr authored Mar 17, 2024
2 parents 6a4837f + dc78abd commit aa4d540
Show file tree
Hide file tree
Showing 26 changed files with 10 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
*.npy
notebooks/test.ipynb
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,15 @@ python main.py --multirun "dataset_name=[Handwriting]" "models=LSTM_FCN"
Model name can be anything that is available in the `codes/models` directory, given corresponding configs are also available.

Similarly, other parameters can also be specified in the terminal, and passed as arguments.

## Docker
To run the code in a docker container, run the following command in the terminal, in the root directory of the repository:
```bash
docker build -t ts_cl .
docker run -it ts_cl
```
This will build a docker image named `ts_cl`, and run a container with the image. The code can be run in the container as described above.

## Mlruns
All the runs are stored in the `mlruns` directory. To visualize the runs, run the following command in the terminal, in the root directory of the repository:
```bash
Expand All @@ -51,7 +60,7 @@ This repository uses the datasets from the [UEA & UCR Time Series Classification
We use the classification models available in [tsai library](https://timeseriesai.github.io/tsai/). Models can be added to this repository by adding the corresponding config file in the `config` directory, and the corresponding model file in the `codes/models` directory.

## Results
You can find the results in the following table:
You can find the results in the following table. Each cell contains the accuracy of the corresponding model on the corresponding dataset. The results are obtained by running the models with the optimal hyperparameters found by optuna.

<!--START-->
| Dataset | GRU_FCN | LSTM | LSTM_FCN |
Expand Down
Binary file added data/UCR/ECG200/X.npy
Binary file not shown.
Binary file added data/UCR/ECG200/X_train.npy
Binary file not shown.
Binary file added data/UCR/ECG200/X_valid.npy
Binary file not shown.
Binary file added data/UCR/ECG200/y.npy
Binary file not shown.
Binary file added data/UCR/ECG200/y_train.npy
Binary file not shown.
Binary file added data/UCR/ECG200/y_valid.npy
Binary file not shown.
Binary file added data/UCR/HandMovementDirection/X.npy
Binary file not shown.
Binary file added data/UCR/HandMovementDirection/X_train.npy
Binary file not shown.
Binary file added data/UCR/HandMovementDirection/X_valid.npy
Binary file not shown.
Binary file added data/UCR/HandMovementDirection/y.npy
Binary file not shown.
Binary file added data/UCR/HandMovementDirection/y_train.npy
Binary file not shown.
Binary file added data/UCR/HandMovementDirection/y_valid.npy
Binary file not shown.
Binary file added data/UCR/Handwriting/X.npy
Binary file not shown.
Binary file added data/UCR/Handwriting/X_train.npy
Binary file not shown.
Binary file added data/UCR/Handwriting/X_valid.npy
Binary file not shown.
Binary file added data/UCR/Handwriting/y.npy
Binary file not shown.
Binary file added data/UCR/Handwriting/y_train.npy
Binary file not shown.
Binary file added data/UCR/Handwriting/y_valid.npy
Binary file not shown.
Binary file added data/UCR/ItalyPowerDemand/X.npy
Binary file not shown.
Binary file added data/UCR/ItalyPowerDemand/X_train.npy
Binary file not shown.
Binary file added data/UCR/ItalyPowerDemand/X_valid.npy
Binary file not shown.
Binary file added data/UCR/ItalyPowerDemand/y.npy
Binary file not shown.
Binary file added data/UCR/ItalyPowerDemand/y_train.npy
Binary file not shown.
Binary file added data/UCR/ItalyPowerDemand/y_valid.npy
Binary file not shown.

0 comments on commit aa4d540

Please sign in to comment.