Dataset Viewer
Auto-converted to Parquet Duplicate
id
int32
64
49.9k
points
list
pressure
list
wss
list
alpha
float64
-0.2
0.2
gammaY0
float64
-0.25
0.25
gammaY1
float64
-0.25
0.25
gammaY2
float64
-0.25
0.25
gammaY3
float64
-0.25
0.25
gammaZ0
float64
-0.25
0.25
gammaZ1
float64
-0.25
0.25
gammaZ2
float64
-0.25
0.25
gammaZ3
float64
-0.25
0.25
beta0
float64
-1
1
beta1
float64
-1
1
beta2
float64
-1
1
beta3
float64
-1
1
noise
float64
0
0.4
iseed
int64
1
50k
reynolds
float64
100
500
taylor
float64
0
500
alpha_split
stringclasses
0 values
reynold_split
stringclasses
0 values
64
[0.0,0.28069326281547546,0.0,0.0029607899487018585,0.2783401310443878,0.036535121500492096,0.0058681(...TRUNCATED)
[938.4989013671875,938.1078491210938,937.7167358398438,937.32568359375,938.6096801757812,938.8398437(...TRUNCATED)
[-16.309396743774414,0.0,-5.2925920486450195,-16.619190216064453,0.8872840404510498,-5.0671710968017(...TRUNCATED)
0.0105
-0.1184
0.1184
-0.25
0.125
0.0658
0.0132
-0.125
-0.125
1
-0.4737
1
-1
0.2
23,685
400
500
null
null
172
[0.0,0.2357577085494995,0.0,-0.002491530030965805,0.23378127813339233,0.030685920268297195,-0.004938(...TRUNCATED)
[1230.925048828125,1224.469482421875,1218.0140380859375,1211.5584716796875,1186.09326171875,1192.383(...TRUNCATED)
[-185.62649536132812,0.0,-35.35776138305664,-184.99151611328125,1.431658387184143,-25.61857032775879(...TRUNCATED)
0.1579
0.0132
0.0921
0
0.25
-0.0658
-0.0921
-0.125
-0.25
0.2632
0.0526
-1
1
0.3
47,368
500
400
null
null
605
[0.0,0.28069326281547546,0.0,0.003562869969755411,0.2783401310443878,0.036481328308582306,0.00706148(...TRUNCATED)
[1262.7950439453125,1262.4278564453125,1262.060546875,1261.693359375,1265.19384765625,1265.322143554(...TRUNCATED)
[-13.301234245300293,0.0,-1.7842110395431519,-13.846686363220215,0.448639452457428,-1.85201370716094(...TRUNCATED)
0.1789
-0.0395
-0.0658
0.25
-0.25
0.1184
0.0132
-0.125
0.125
0.5789
0.1579
-0.5
0
0.2
23,685
300
100
null
null
1,114
[0.0,0.27785101532936096,0.0,-0.021561529487371445,0.27552172541618347,0.029182370752096176,-0.04273(...TRUNCATED)
[2681.77880859375,2681.46630859375,2681.15380859375,2680.84130859375,2681.129150390625,2681.15063476(...TRUNCATED)
[-4.808271884918213,0.0,-6.7443413734436035,-4.824788570404053,0.4033793807029724,-7.171094417572021(...TRUNCATED)
-0.1789
-0.1447
-0.0658
0
-0.25
0.1711
-0.1447
0.25
0.125
0.3684
0.5789
1
-0.5
0.3
13,159
300
100
null
null
548
[0.0,0.3923279941082001,0.0,0.03038628026843071,0.38903898000717163,0.0412491112947464,0.06022457033(...TRUNCATED)
[3424.275390625,3424.121337890625,3423.96728515625,3423.8134765625,3422.505126953125,3422.5185546875(...TRUNCATED)
[-2.0703353881835938,0.0,-0.6924734711647034,-2.1213889122009277,0.24640777707099915,-0.663726747035(...TRUNCATED)
0.0105
-0.1447
0.2237
-0.25
-0.125
0.0395
-0.1974
0.25
-0.125
-0.3684
-0.7895
0.5
-1
0.4
50,000
300
400
null
null
1,040
[0.0,0.3170766830444336,0.0,0.020461829379200935,0.3144185543060303,0.0359969288110733,0.04055463895(...TRUNCATED)
[1874.70166015625,1874.42041015625,1874.13916015625,1873.8580322265625,1873.3250732421875,1873.41259(...TRUNCATED)
[-6.339417934417725,0.0,1.184757947921753,-6.46375036239624,0.29098063707351685,1.262076497077942,-6(...TRUNCATED)
-0.1368
0.0658
-0.0658
-0.125
0.25
0.0395
-0.0395
-0.25
0.25
0.3684
0.8947
-1
-1
0.4
7,896
300
100
null
null
430
[0.0,0.18466879427433014,0.0,0.011853019706904888,0.18312065303325653,0.021001340821385384,0.0234922(...TRUNCATED)
[3823.904052734375,3823.50146484375,3823.09912109375,3822.696533203125,3825.362548828125,3825.649414(...TRUNCATED)
[-40.09367370605469,0.0,10.347393035888672,-40.55485916137695,1.453797459602356,10.92075252532959,-4(...TRUNCATED)
-0.0737
-0.0395
-0.1974
0.125
-0.25
0.0658
-0.25
-0.25
-0.25
1
-0.3684
0
-1
0.4
5,264
300
100
null
null
1,451
[0.0,0.261386513710022,0.0,0.008510059677064419,0.2591952383518219,0.033055830746889114,0.0168666597(...TRUNCATED)
[1555.03662109375,1554.785888671875,1554.53515625,1554.284423828125,1556.8031005859375,1556.93298339(...TRUNCATED)
[-14.70938491821289,0.0,3.551567316055298,-15.013647079467773,0.05208558589220047,3.5413544178009033(...TRUNCATED)
-0.0526
0.0395
-0.0395
0.25
-0.25
-0.2237
0.0921
-0.25
0
-0.3684
-0.3684
0.5
-0.5
0.4
23,685
300
0
null
null
552
[0.0,0.3107219934463501,0.0,-0.0346250906586647,0.3081171214580536,0.021155040711164474,-0.068625748(...TRUNCATED)
[250.9858856201172,250.97323608398438,250.9605712890625,250.94790649414062,250.96572875976562,251.00(...TRUNCATED)
[1.5264813899993896,0.0,-4.63460636138916,1.4279197454452515,0.4951460063457489,-4.5565056800842285,(...TRUNCATED)
0.2
0.1184
-0.2237
0
0.125
0.0658
0.0921
0
-0.25
-0.1579
0.5789
1
1
0.1
1
100
300
null
null
538
[0.0,0.30000001192092896,0.0,0.006652620155364275,0.29748502373695374,0.03860713168978691,0.01318527(...TRUNCATED)
[434.17919921875,433.88031005859375,433.5814208984375,433.28253173828125,433.9281921386719,433.94586(...TRUNCATED)
[-4.809385299682617,0.0,-2.4755263328552246,-5.114612102508545,0.4693312346935272,-2.564372777938842(...TRUNCATED)
0.1158
-0.1447
-0.0395
-0.25
0
0.0921
0.1711
0.25
0
-0.4737
-0.1579
1
-1
0
26,316
200
200
null
null
End of preview. Expand in Data Studio

Hemolab Bench — Toy

A small (1000 samples) subset of the full Hemolab Bench dataset, intended for quick-start examples and pipeline testing.

For the complete ~50 000-sample dataset see ibm-research/hemolab-bench.

How the toy was sampled

Samples were chosen as a uniform random subset of the full CSV id list:

import torch

all_ids = sorted(full_csv_ids)          # all ~50 000 ids, sorted
g = torch.Generator().manual_seed(1234) # independent seed for subsampling
perm = torch.randperm(len(all_ids), generator=g).tolist()
toy_ids = {all_ids[perm[i]] for i in range(500)}

Each selected id keeps its global train / validation / test label, which is assigned with the same rule as the full dataset (seed 42 — see below). This means the toy distribution across splits reflects the full dataset: roughly 80 % train, 10 % validation, 10 % test.

Because the subset is small, some alpha / reynolds bands may have very few (or zero) test rows. The toy is intended for code verification only.

Train / Validation / Test split

Both the toy and the full dataset share the same deterministic shuffle rule:

import torch

all_ids = sorted(full_csv_ids)
g = torch.Generator().manual_seed(42)
perm = torch.randperm(len(all_ids), generator=g).tolist()
shuffled = [all_ids[i] for i in perm]

n = len(shuffled)
train_ids      = shuffled[:int(n * 0.8)]
validation_ids = shuffled[int(n * 0.8):int(n * 0.9)]
test_ids       = shuffled[int(n * 0.9):]

The split is applied to the full CSV id list, so each id's label is stable whether you work with the full dataset or the toy.

Usage

from datasets import load_dataset

ds = load_dataset("nicolaaaaa/hemolab-bench-toy")
ds_train = ds["train"]
ds_test  = ds["test"]

sample = ds_test[0]
print(sample["alpha_split"], sample["reynold_split"])  # e.g. "ID", "IR"

Access a sample:

import numpy as np

points   = np.array(sample["points"]).reshape(25600, 3)
pressure = np.array(sample["pressure"])
wss      = np.array(sample["wss"]).reshape(25600, 3)

The shared mesh topology is stored in topology.parquet:

import pandas as pd

topology = pd.read_parquet(
    "hf://datasets/nicolaaaaa/hemolab-bench-toy/topology.parquet"
)
cells = topology["cells"].to_numpy().reshape(-1, 4)  # (9600, 4) quad indices

Dataset schema

Column Type Shape Description
id int32 Sample identifier
points float32 76800 (= 25600×3, flattened) Vertex coordinates
pressure float32 25600 Per-vertex pressure
wss float32 76800 (= 25600×3, flattened) Per-vertex wall shear stress vector
alpha float64 Geometry parameter
gammaY0..gammaY3 float64 Y-curvature parameters
gammaZ0..gammaZ3 float64 Z-curvature parameters
beta0..beta3 float64 Taper parameters
noise float64 Geometry noise level
iseed int64 Random seed used for geometry generation
reynolds float64 Reynolds number
taylor float64 Taylor number
alpha_split string Alpha band label (test rows only; null elsewhere)
reynold_split string Reynolds band label (test rows only; null elsewhere)

License

CDLA Permissive 2.0

Downloads last month
22