Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
index
int32
0
999
u
list
u0
list
0
[[0.8728299140930176,0.8767939209938049,0.8813123106956482,0.8847385048866272,0.8876649141311646,0.8(...TRUNCATED)
[0.8728299140930176,0.8767939209938049,0.8813123106956482,0.8847385048866272,0.8876649141311646,0.89(...TRUNCATED)
1
[[0.7501033544540405,0.7488618493080139,0.7472191452980042,0.7455654144287109,0.743387758731842,0.74(...TRUNCATED)
[0.7501033544540405,0.7488618493080139,0.7472191452980042,0.7455654144287109,0.743387758731842,0.740(...TRUNCATED)
2
[[-0.5563327074050903,-0.5639133453369141,-0.5708149075508118,-0.576984703540802,-0.5834724307060242(...TRUNCATED)
[-0.5563327074050903,-0.5639133453369141,-0.5708149075508118,-0.576984703540802,-0.5834724307060242,(...TRUNCATED)
3
[[1.2548202276229858,1.2530122995376587,1.2517069578170776,1.2508827447891235,1.2496342658996582,1.2(...TRUNCATED)
[1.2548202276229858,1.2530122995376587,1.2517069578170776,1.2508827447891235,1.2496342658996582,1.24(...TRUNCATED)
4
[[0.002066505840048194,-0.008879627101123333,-0.019112488254904747,-0.02881871908903122,-0.038139317(...TRUNCATED)
[0.002066505840048194,-0.008879627101123333,-0.019112488254904747,-0.02881871908903122,-0.0381393171(...TRUNCATED)
5
[[0.9912806749343872,0.9949294328689575,0.9985451698303223,1.001692771911621,1.004164457321167,1.005(...TRUNCATED)
[0.9912806749343872,0.9949294328689575,0.9985451698303223,1.001692771911621,1.004164457321167,1.0058(...TRUNCATED)
6
[[0.24107158184051514,0.23509305715560913,0.22907230257987976,0.2235548496246338,0.21858234703540802(...TRUNCATED)
[0.24107158184051514,0.23509305715560913,0.22907230257987976,0.2235548496246338,0.21858234703540802,(...TRUNCATED)
7
[[0.07715136557817459,0.08459346741437912,0.09095872938632965,0.09758199006319046,0.1048823595046997(...TRUNCATED)
[0.07715136557817459,0.08459346741437912,0.09095872938632965,0.09758199006319046,0.10488235950469971(...TRUNCATED)
8
[[0.33759310841560364,0.3314480483531952,0.32474029064178467,0.3179844915866852,0.31109291315078735,(...TRUNCATED)
[0.33759310841560364,0.3314480483531952,0.32474029064178467,0.3179844915866852,0.31109291315078735,0(...TRUNCATED)
9
[[-0.38307541608810425,-0.38348254561424255,-0.38352540135383606,-0.38301265239715576,-0.38311782479(...TRUNCATED)
[-0.38307541608810425,-0.38348254561424255,-0.38352540135383606,-0.38301265239715576,-0.383117824792(...TRUNCATED)
End of preview. Expand in Data Studio

1-D viscous Burgers, Li et al. (2021) operator-learning benchmark (1200 trajectories, 1024 points)

u_t + (u^2/2)_x = nu u_xx on the periodic interval [0, 1), nu = 0.1, t in [0, 1]. Initial conditions u0 ~ N(0, 625 (-Laplacian + 25 I)^-2), the input distribution stated in Li et al. (2021), section 5.1 (their released generator used alpha 2.5, tau 7, sigma 49 instead; this dataset follows the paper's text). The standard task maps u0 to u(., 1); the 11 snapshots t = 0, 0.1, ..., 1 are stored for time-dependent models. Grid x_j = j / 1024, j = 0..1023; u[:, 0] equals u0.

burgers_1d_li2021 v1.0.0 (revision v1.0.0.post1) · licence cc-by-4.0 · part of the PINNeAPPle zoo

Configs and splits

Config Split Samples Parquet rows Parquet files Content
default train 1000 1000 1 1000 trajectories
default test 200 200 1 200 trajectories (held out)

Split rule: rows 0-999 are train, 1000-1199 test; inputs are i.i.d. draws, so the contiguous split is a random split

Columns

Column Unit Type Description
index - int32 sample index (row of the generated set)
u - float32[11, 1024] solution u(x, t) at t = 0, 0.1, ..., 1 (11 snapshots x 1024 points)
u0 - float32[1024] initial condition u(x, 0) on the 1024-point grid

Load

With the library (the npz files, SHA-256 checked; arrays with their full shape):

pip install "pinneapple @ git+https://github.com/PINNeAPPle-Labs/PINNeAPPle"
import pinneapple as pp

d = pp.datasets.load("burgers_1d_li2021", split="test")
print(d.n_rows, d.columns)
print(d["u"].shape)

With datasets (the Parquet files of this repo):

from datasets import load_dataset

ds = load_dataset("PINNeAPPle-Labs/burgers-1d-li2021", split="test", revision="v1.0.0.post1")
print(ds)
ds = ds.with_format("numpy")
print(ds[0]["u"].shape)

Provenance

python scripts/zoo/operator_data.py generate --out DIR (inputs drawn from fixed seeds in the parent process, so the data do not depend on the number of workers); solvers in pinneapple_simulation.numerical_solvers.operator_benchmarks, written from the equations; seed 20211

Verification

Solver (Fourier pseudo-spectral, 2/3 dealiasing, ETDRK4) checked in tests/test_operator_benchmarks.py against the Cole-Hopf exact solution (max error < 1e-8) and for exact mean conservation. Resolution and time-step study on 4 held-aside inputs against a reference with 4096 points and dt 2.5e-5, all 10 saved times: the dataset setting (1024 points, dt 1e-4) has max rel. L2 error 4.4e-12; halving dt gives 6.3e-13, doubling the points 4.4e-12 (time-step limited, spectrally converged in space). Mean conserved to 8e-17. Stored in float32 (rounding ~6e-8 relative), far below the 1e-3 to 1e-2 errors operator-learning methods reach on this task (scripts/zoo/operator_data.py convergence).

Files

The npz files are the library's format and the source of truth: pp.datasets.load downloads them from this repo at the tagged revision and refuses any file whose SHA-256 differs from the manifest of the package. The Parquet files under data/ are derived from them by pinneapple_hub.zoo.parquet.write_dataset and hold the same numbers (a test round-trips npz -> Parquet -> arrays bit for bit); they are what the dataset viewer and load_dataset read.

File Size SHA-256
train.npz 45.5 MB 0c7c22fd0faededc5447776d938566c328f091cdf588c62110927da656ebff62
test.npz 9.1 MB 9e4b470ec59c7079846d326e937c3388212426605349a731323466a0b8e68966

Total 54.7 MB of npz.

Citation

Li Z., Kovachki N., Azizzadenesheli K., Liu B., Bhattacharya K., Stuart A., Anandkumar A. (2021). Fourier Neural Operator for Parametric Partial Differential Equations. ICLR 2021, arXiv:2010.08895. Data generated with PINNeAPPle's reference solvers (pinneapple_simulation.numerical_solvers.operator_benchmarks); PINNeAPPle, Zenodo DOI 10.5281/zenodo.23343062.

Cite

If you use this dataset, please cite PINNeAPPle (software, Zenodo DOI 10.5281/zenodo.23343062; see CITATION.cff):

@software{pinneapple,
  author = {Barros, Yan and Schiassi, Enrico},
  title  = {PINNeAPPle},
  doi    = {10.5281/zenodo.23343062},
  url    = {https://github.com/PINNeAPPle-Labs/PINNeAPPle}
}
Downloads last month
345

Paper for PINNeAPPle-Labs/burgers-1d-li2021