-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update experiments * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add 400 experiment * update plot * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
1e769c5
commit ca9dd7c
Showing
5 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
""" Small script to make MAE vs number of batches plot""" | ||
|
||
import pandas as df | ||
import plotly.graph_objects as go | ||
|
||
data = [[100, 7.779], [300, 7.441], [1000, 7.181], [3000, 7.180], [6711, 7.151]] | ||
df = df.DataFrame(data, columns=["n_samples", "MAE [%]"]) | ||
|
||
fig = go.Figure() | ||
fig.add_trace(go.Scatter(x=df["n_samples"], y=df["MAE [%]"], mode="lines+markers")) | ||
fig.update_layout(title="MAE % for N samples", xaxis_title="N Samples", yaxis_title="MAE %") | ||
# change to log log | ||
fig.update_xaxes(type="log") | ||
fig.show(renderer="browser") |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# N samples experiments | ||
|
||
Kicked off an experiment that uses N samples | ||
This is done by adding `limit_train_batches` to the `trainer/default.yaml`. | ||
|
||
I checked that when limiting the batches, the same batches are shown to model for each epoch. | ||
|
||
## Experiments | ||
|
||
Original is 6711 batches | ||
|
||
- 100: 3p6scx2r | ||
- 300: am46tno1 | ||
- 1000: u04xlb6p | ||
- 3000: p11lhreo | ||
|
||
## Results | ||
|
||
Overall | ||
|
||
| Experiment | MAE % | | ||
|------------|-------| | ||
| 100 | 7.779 | | ||
| 300 | 7.441 | | ||
| 1000 | 7.181 | | ||
| 3000 | 7.180 | | ||
| 6711 | 7.151 | | ||
|
||
Results by timestamps | ||
|
||
|
||
| Timestep | 100 MAE % | 300 MAE % | 1000 MAE % | 3000 MAE % | 6711 MAE % | | ||
| --- | --- | --- | --- | --- | --- | | ||
| 0-0 minutes | 7.985 | 7.453 | 7.155 | 5.553 | 5.920 | | ||
| 15-15 minutes | 7.953 | 7.055 | 6.923 | 5.453 | 5.809 | | ||
| 30-45 minutes | 8.043 | 7.172 | 6.907 | 5.764 | 5.742 | | ||
| 45-60 minutes | 7.850 | 7.070 | 6.790 | 5.815 | 5.698 | | ||
| 60-120 minutes | 7.698 | 6.809 | 6.597 | 5.890 | 5.816 | | ||
| 120-240 minutes | 7.355 | 6.629 | 6.495 | 6.221 | 6.080 | | ||
| 240-360 minutes | 7.230 | 6.729 | 6.559 | 6.541 | 6.375 | | ||
| 360-480 minutes | 7.415 | 6.997 | 6.770 | 6.855 | 6.638 | | ||
| 480-720 minutes | 7.258 | 7.037 | 6.668 | 6.876 | 6.747 | | ||
| 720-1440 minutes | 7.659 | 7.362 | 7.038 | 7.142 | 7.207 | | ||
| 1440-2880 minutes | 8.027 | 7.745 | 7.518 | 7.535 | 7.507 | | ||
|
||
![](mae_step.png "mae_steps") | ||
|
||
![](mae_samples.png "mae_samples") |