Spaces:
Running
Running
Tschobbi commited on
Commit Β·
6b3d2a4
1
Parent(s): a3703a6
new presets
Browse files- README.md +1 -1
- app.py +6 -3
- data/EEG.npy +0 -0
- data/ETTh1.npy +0 -0
- data/chua.npy +0 -0
- data/cloud_requests.npy +0 -0
- data/fMRI.npy +0 -0
- data/lorenz63.npy +0 -0
- data/selkov.npy +0 -0
- data/sine.npy +0 -0
- data/spikingneuron.npy +0 -0
README.md
CHANGED
|
@@ -29,7 +29,7 @@ This DynaMix demo is an interactive Gradio app for zero-shot dynamical systems r
|
|
| 29 |
You can either upload your own data or choose a preset dataset from the left panel.
|
| 30 |
|
| 31 |
- **Upload**: Accepts `.csv` or `.npy` files
|
| 32 |
-
- **Presets**: `Noisy Sine`, `Lorenz63`, `Chua`, `Selkov`
|
| 33 |
|
| 34 |
Supported data formats:
|
| 35 |
- **NPY files**: Numpy array of shape `(time_steps, dimensions)`. 1D time series arrays are auto-expanded to `(time_steps, 1)`; otherwise must be 2D with at least 2 time steps and β₯1 dimension.
|
|
|
|
| 29 |
You can either upload your own data or choose a preset dataset from the left panel.
|
| 30 |
|
| 31 |
- **Upload**: Accepts `.csv` or `.npy` files
|
| 32 |
+
- **Presets**: `Noisy Sine`, `Lorenz63`, `Chua`, `Selkov`, `ETTh1` (https://github.com/zhouhaoyi/ETDataset), `Cloud Requests` (https://github.com/sir-lab/data-release), `fMRI` (https://fcon_1000.projects.nitrc.org/indi/retro/MPI_LEMON.html), `Spiking Neuron`, `EEG` (https://www.kaggle.com/datasets/amananandrai/complete-eeg-dataset)
|
| 33 |
|
| 34 |
Supported data formats:
|
| 35 |
- **NPY files**: Numpy array of shape `(time_steps, dimensions)`. 1D time series arrays are auto-expanded to `(time_steps, 1)`; otherwise must be 2D with at least 2 time steps and β₯1 dimension.
|
app.py
CHANGED
|
@@ -30,7 +30,7 @@ with gr.Blocks(title="DynaMix π - Forecasting", theme=gr.themes.Soft()) as de
|
|
| 30 |
)
|
| 31 |
|
| 32 |
preset_dropdown = gr.Dropdown(
|
| 33 |
-
choices=["-- No preset selected --", "Noisy Sine", "Lorenz63", "Chua", "Selkov", "ETTh1", "Cloud Requests"],
|
| 34 |
value="-- No preset selected --",
|
| 35 |
label="Or choose a preset",
|
| 36 |
info="Select from predefined datasets"
|
|
@@ -47,7 +47,7 @@ with gr.Blocks(title="DynaMix π - Forecasting", theme=gr.themes.Soft()) as de
|
|
| 47 |
)
|
| 48 |
horizon_slider = gr.Slider(
|
| 49 |
minimum=1,
|
| 50 |
-
maximum=
|
| 51 |
value=512,
|
| 52 |
step=1,
|
| 53 |
label="Forecast Length",
|
|
@@ -113,7 +113,10 @@ with gr.Blocks(title="DynaMix π - Forecasting", theme=gr.themes.Soft()) as de
|
|
| 113 |
"Chua": "data/chua.npy",
|
| 114 |
"Selkov": "data/selkov.npy",
|
| 115 |
"ETTh1": "data/ETTh1.npy",
|
| 116 |
-
"Cloud Requests": "data/cloud_requests.npy"
|
|
|
|
|
|
|
|
|
|
| 117 |
}
|
| 118 |
|
| 119 |
if preset_name in preset_files:
|
|
|
|
| 30 |
)
|
| 31 |
|
| 32 |
preset_dropdown = gr.Dropdown(
|
| 33 |
+
choices=["-- No preset selected --", "Noisy Sine", "Lorenz63", "Chua", "Selkov", "ETTh1", "Cloud Requests", "fMRI", "Spiking Neuron", "EEG"],
|
| 34 |
value="-- No preset selected --",
|
| 35 |
label="Or choose a preset",
|
| 36 |
info="Select from predefined datasets"
|
|
|
|
| 47 |
)
|
| 48 |
horizon_slider = gr.Slider(
|
| 49 |
minimum=1,
|
| 50 |
+
maximum=5000,
|
| 51 |
value=512,
|
| 52 |
step=1,
|
| 53 |
label="Forecast Length",
|
|
|
|
| 113 |
"Chua": "data/chua.npy",
|
| 114 |
"Selkov": "data/selkov.npy",
|
| 115 |
"ETTh1": "data/ETTh1.npy",
|
| 116 |
+
"Cloud Requests": "data/cloud_requests.npy",
|
| 117 |
+
"fMRI": "data/fMRI.npy",
|
| 118 |
+
"Spiking Neuron": "data/spikingneuron.npy",
|
| 119 |
+
"EEG": "data/EEG.npy"
|
| 120 |
}
|
| 121 |
|
| 122 |
if preset_name in preset_files:
|
data/EEG.npy
ADDED
|
Binary file (16.1 kB). View file
|
|
|
data/ETTh1.npy
CHANGED
|
Binary files a/data/ETTh1.npy and b/data/ETTh1.npy differ
|
|
|
data/chua.npy
CHANGED
|
Binary files a/data/chua.npy and b/data/chua.npy differ
|
|
|
data/cloud_requests.npy
CHANGED
|
Binary files a/data/cloud_requests.npy and b/data/cloud_requests.npy differ
|
|
|
data/fMRI.npy
ADDED
|
Binary file (12.4 kB). View file
|
|
|
data/lorenz63.npy
CHANGED
|
Binary files a/data/lorenz63.npy and b/data/lorenz63.npy differ
|
|
|
data/selkov.npy
CHANGED
|
Binary files a/data/selkov.npy and b/data/selkov.npy differ
|
|
|
data/sine.npy
CHANGED
|
Binary files a/data/sine.npy and b/data/sine.npy differ
|
|
|
data/spikingneuron.npy
ADDED
|
Binary file (40.1 kB). View file
|
|
|