Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
Base_2_2/Zone
listlengths
1
1
Base_2_2/Zone/Elements_TRI_3/ElementConnectivity
listlengths
35.4k
69.5k
Base_2_2/Zone/Elements_TRI_3/ElementRange
listlengths
2
2
Base_2_2/Zone/GridCoordinates/CoordinateX
listlengths
6.14k
11.8k
Base_2_2/Zone/GridCoordinates/CoordinateY
listlengths
6.14k
11.8k
Base_2_2/Zone/PointData/U1
listlengths
6.14k
11.8k
Base_2_2/Zone/PointData/U2
listlengths
6.14k
11.8k
Base_2_2/Zone/PointData/q
listlengths
6.14k
11.8k
Base_2_2/Zone/PointData/sig11
listlengths
6.14k
11.8k
Base_2_2/Zone/PointData/sig12
listlengths
6.14k
11.8k
Base_2_2/Zone/PointData/sig22
listlengths
6.14k
11.8k
Base_2_2/Zone/ZoneBC/Bottom/PointList
listlengths
1
1
Base_2_2/Zone/ZoneBC/BottomLeft/PointList
listlengths
1
1
Base_2_2/Zone/ZoneBC/Top/PointList
listlengths
1
1
Global/P
listlengths
1
1
Global/max_U2_top
listlengths
1
1
Global/max_q
listlengths
1
1
Global/max_sig22_top
listlengths
1
1
Global/max_von_mises
listlengths
1
1
Global/p1
listlengths
1
1
Global/p2
listlengths
1
1
Global/p3
listlengths
1
1
Global/p4
listlengths
1
1
Global/p5
listlengths
1
1
[ [ 6143, 11788, 0 ] ]
[2807,3872,5841,573,3642,3986,4513,2674,5633,2711,3603,4316,3675,658,3677,3659,517,3661,3574,599,361(...TRUNCATED)
[ 1, 11788 ]
[-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-0.9800704049693192,-0.960153198906799,-0.9402607630441839,-0.9(...TRUNCATED)
[-0.7994,0.7994,0.7994,-0.7994,1.0,1.0,-1.0,-1.0,-0.7991515320900743,-0.7984062828176134,-0.79716471(...TRUNCATED)
[-4.0281224755744915e-6,-0.00022390064259525388,-0.0004670241614803672,-0.0006870641373097897,0.0021(...TRUNCATED)
[-3.3519686439831275e-6,0.0100364089012146,0.010033956728875637,-3.364403710293118e-6,0.010092590004(...TRUNCATED)
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0(...TRUNCATED)
[-0.0002293698489665985,-0.20706288516521454,-0.2097306251525879,-0.0008027884177863598,0.1697577238(...TRUNCATED)
[0.0003899872535839677,0.3719032108783722,-0.33144426345825195,0.00011261529289186001,0.269927769899(...TRUNCATED)
[-0.0018393052741885185,-0.05770549178123474,-0.06115218997001648,-0.00225676316767931,43.9143905639(...TRUNCATED)
[[7,8,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,41(...TRUNCATED)
[ [ 8 ] ]
[[5,6,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,29(...TRUNCATED)
[ -43.83 ]
[ 0.010092590004205704 ]
[ 0.00019302661530673504 ]
[ 43.963741302490234 ]
[ 323.5508647785171 ]
[ 11.09 ]
[ 421.5 ]
[ 1677 ]
[ 1845 ]
[ 73150 ]
[ [ 6171, 11844, 0 ] ]
[647,3500,3885,573,3590,4312,2244,2476,3877,2754,2668,3680,517,3657,4550,3150,4561,5643,76,75,3726,1(...TRUNCATED)
[ 1, 11844 ]
[-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-0.9801003218153765,-0.9602130139994614,-0.9403504391936391,-0.(...TRUNCATED)
[-0.7982,0.7982,0.7982,-0.7982,1.0,1.0,-1.0,-1.0,-0.7979519050720717,-0.7972077745136414,-0.79596807(...TRUNCATED)
[-5.402576789492741e-6,-0.00028939382173120975,-0.0005983253358863294,-0.0008823676616884768,0.00277(...TRUNCATED)
[-4.449912012205459e-6,0.012761980295181274,0.012760772369801998,-4.464676749194041e-6,0.01283458247(...TRUNCATED)
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0(...TRUNCATED)
[-0.00019158702343702316,-0.037046581506729126,-0.13450033962726593,0.0016935504972934723,0.10604991(...TRUNCATED)
[0.00038964522536844015,0.3598829507827759,-0.30192840099334717,-0.010314246639609337,0.246766120195(...TRUNCATED)
[-0.00173975620418787,-0.011625140905380249,-0.07781174778938293,-0.006594708189368248,42.0863723754(...TRUNCATED)
[[7,8,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,41(...TRUNCATED)
[ [ 8 ] ]
[[5,6,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,29(...TRUNCATED)
[ -41.99 ]
[ 0.012834582477807999 ]
[ 4.198213048312027e-7 ]
[ 42.66949462890625 ]
[ 317.4215280050641 ]
[ 13.75 ]
[ 564.3 ]
[ 1617 ]
[ 1503 ]
[ 54550 ]
[ [ 6201, 11904, 0 ] ]
[3555,3554,3861,4552,4550,4553,4551,4550,4552,2691,2693,4525,699,3588,3663,408,407,3701,3885,2469,58(...TRUNCATED)
[ 1, 11904 ]
[-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-0.9801302386336523,-0.9602728290413725,-0.9404401152967337,-0.(...TRUNCATED)
[-0.7969999999999999,0.7969999999999999,0.7969999999999999,-0.7969999999999999,1.0,1.0,-1.0,-1.0,-0.(...TRUNCATED)
[-3.4870333820435917e-6,-0.00018261319200973958,-0.0003658845089375973,-0.0005447420990094543,0.0017(...TRUNCATED)
[-2.8443141673051286e-6,0.007853707298636436,0.00785355269908905,-2.8429919893824263e-6,0.0078987749(...TRUNCATED)
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0(...TRUNCATED)
[0.00022415537387132645,-0.1124139130115509,-0.12842370569705963,-0.001609940081834793,0.09798558056(...TRUNCATED)
[0.0010967282578349113,0.32625094056129456,-0.33298951387405396,-0.012046078220009804,0.277663707733(...TRUNCATED)
[-0.002149956300854683,-0.06752488017082214,-0.08503055572509766,-0.0005669929087162018,40.930885314(...TRUNCATED)
[[7,8,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,41(...TRUNCATED)
[ [ 8 ] ]
[[5,6,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,29(...TRUNCATED)
[ -40.81 ]
[ 0.007898774929344654 ]
[ 0.00037040942697785795 ]
[ 41.006343841552734 ]
[ 287.3720600705515 ]
[ 16.77 ]
[ 348.3 ]
[ 1887 ]
[ 1283 ]
[ 85850 ]
[ [ 6161, 11826, 0 ] ]
[3846,3541,4571,3657,478,6115,696,5705,5747,4529,5107,5740,5705,3584,5747,3797,3944,5463,3621,690,36(...TRUNCATED)
[ 1, 11826 ]
[-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-0.9800014699867419,-0.9600155714855224,-0.9400549280123647,-0.(...TRUNCATED)
[-0.7958,0.7958,0.7958,-0.7958,1.0,1.0,-1.0,-1.0,-0.7955486778301556,-0.7947948700616848,-0.79353905(...TRUNCATED)
[-6.910151114425389e-6,-0.00034670214517973363,-0.0006970075774006546,-0.0010371594689786434,0.00320(...TRUNCATED)
[-5.580166998697678e-6,0.014756103046238422,0.014753994531929493,-5.594771664618747e-6,0.01484257914(...TRUNCATED)
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0(...TRUNCATED)
[-0.0006118644960224628,-0.19791746139526367,-0.14057543873786926,0.0007463283836841583,0.1712498962(...TRUNCATED)
[0.0011011837050318718,0.44826120138168335,-0.3670823574066162,-0.009205587208271027,0.3411416411399(...TRUNCATED)
[-0.004180580377578735,-0.14413189888000488,-0.07489964365959167,-0.008176561444997787,48.1471710205(...TRUNCATED)
[[7,8,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,40(...TRUNCATED)
[ [ 8 ] ]
[[5,6,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,29(...TRUNCATED)
[ -48.03 ]
[ 0.014842579141259193 ]
[ 0.000006210491392266704 ]
[ 48.937530517578125 ]
[ 359.3656196874625 ]
[ 17.73 ]
[ 553.5 ]
[ 1429 ]
[ 1741 ]
[ 53050 ]
[ [ 6184, 11872, 0 ] ]
[3261,3957,5801,3595,562,3724,3639,651,3641,5657,3186,5755,516,4561,5931,302,301,3708,216,3703,6104,(...TRUNCATED)
[ 1, 11872 ]
[-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-0.9800316261272405,-0.960075864695224,-0.9401453201955151,-0.9(...TRUNCATED)
[-0.7946,0.7946,0.7946,-0.7946,1.0,1.0,-1.0,-1.0,-0.7943490568036684,-0.7935963857151606,-0.79234246(...TRUNCATED)
[-4.32536353400792e-6,-0.00021107868815306574,-0.00041393135325051844,-0.000620250531937927,0.002048(...TRUNCATED)
[-3.454624902587966e-6,0.009204335510730743,0.009204952046275139,-3.4519971450208686e-6,0.0092562576(...TRUNCATED)
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0(...TRUNCATED)
[-0.0008400753140449524,-0.2164594680070877,-0.14256086945533752,-0.0035787541419267654,0.1137971729(...TRUNCATED)
[0.011220598593354225,0.25192877650260925,-0.3966699242591858,-0.007674240507185459,0.33292594552040(...TRUNCATED)
[-0.005966067314147949,-0.15556810796260834,-0.07126855850219727,-0.010818080976605415,47.9395294189(...TRUNCATED)
[[7,8,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,40(...TRUNCATED)
[ [ 8 ] ]
[[5,6,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,29(...TRUNCATED)
[ -47.79 ]
[ 0.009256921708583832 ]
[ 0.0015838021645322442 ]
[ 48.0648078918457 ]
[ 289.4584280862841 ]
[ 10.85 ]
[ 330.3 ]
[ 1193 ]
[ 1165 ]
[ 88250 ]
[ [ 6209, 11922, 0 ] ]
[5655,3960,5970,2487,3933,4067,3720,666,4336,3621,694,5652,2237,2674,4692,1999,4319,5693,3933,2487,4(...TRUNCATED)
[ 1, 11922 ]
[-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-0.9800617822328836,-0.9601361578562648,-0.9402357123478249,-0.(...TRUNCATED)
[-0.7934,0.7934,0.7934,-0.7934,1.0,1.0,-1.0,-1.0,-0.7931494357763048,-0.7923979013661879,-0.79114587(...TRUNCATED)
[-5.7158595154760405e-6,-0.00027218993636779487,-0.0005217936122789979,-0.0007872348069213331,0.0024(...TRUNCATED)
[-4.521636128629325e-6,0.011088627390563488,0.011091161519289017,-4.51588311989326e-6,0.011155021376(...TRUNCATED)
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0(...TRUNCATED)
[-0.0008825119584798813,-0.215964674949646,-0.28061553835868835,-0.001387116964906454,0.143501594662(...TRUNCATED)
[0.01154544111341238,0.25355711579322815,-0.4599904417991638,-0.010946889407932758,0.361846387386322(...TRUNCATED)
[-0.006297636777162552,-0.159318208694458,-0.14508011937141418,-0.010681664571166039,48.666084289550(...TRUNCATED)
[[7,8,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,40(...TRUNCATED)
[ [ 8 ] ]
[[5,6,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,29(...TRUNCATED)
[ -48.51 ]
[ 0.011157558299601078 ]
[ 0.0005899121169932187 ]
[ 49.10335159301758 ]
[ 331.3745298913041 ]
[ 16.87 ]
[ 395.7 ]
[ 1321 ]
[ 1233 ]
[ 70550 ]
[ [ 6253, 12010, 0 ] ]
[3940,3963,3965,3647,3742,4381,9,1,6070,3044,4724,6199,3865,2761,4206,4074,693,5572,3652,589,4160,36(...TRUNCATED)
[ 1, 12010 ]
[-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-0.980091938340338,-0.9601964510257142,-0.9403261044911693,-0.9(...TRUNCATED)
[-0.7922,0.7922,0.7922,-0.7922,1.0,1.0,-1.0,-1.0,-0.7919498147489872,-0.7911994170176389,-0.78994928(...TRUNCATED)
[-4.487571914069122e-6,-0.00020451958698686212,-0.00039495000964961946,-0.0005957001121714711,0.0018(...TRUNCATED)
[-3.5250798191555077e-6,0.008271070197224617,0.008269437588751316,-3.525844931573374e-6,0.0083215544(...TRUNCATED)
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0(...TRUNCATED)
[0.0012923753820359707,-0.1392487734556198,-0.17287464439868927,0.0015893904492259026,0.170034408569(...TRUNCATED)
[0.008007263764739037,0.39388927817344666,-0.3499816954135895,-0.014623679220676422,0.27330118417739(...TRUNCATED)
[-0.013800954446196556,-0.11816000938415527,-0.08031696081161499,-0.0009933765977621078,42.908824920(...TRUNCATED)
[[7,8,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,40(...TRUNCATED)
[ [ 8 ] ]
[[5,6,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,29(...TRUNCATED)
[ -42.81 ]
[ 0.008321554400026798 ]
[ 3.1179763482214184e-7 ]
[ 43.31785202026367 ]
[ 315.2013402872238 ]
[ 16.810000000000002 ]
[ 562.5 ]
[ 1687 ]
[ 1999 ]
[ 82250 ]
[ [ 6277, 12058, 0 ] ]
[3717,577,5842,3639,563,5743,3059,2765,3991,5649,4545,6093,737,1404,4397,3973,429,6161,3701,3044,520(...TRUNCATED)
[ 1, 12058 ]
[-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-0.9801220944272306,-0.9602567441819643,-0.9404164966481146,-0.(...TRUNCATED)
[-0.7909999999999999,0.7909999999999999,0.7909999999999999,-0.7909999999999999,1.0,1.0,-1.0,-1.0,-0.(...TRUNCATED)
[-3.969723366026301e-6,-0.00017600915452931076,-0.0003349955368321389,-0.000507068180013448,0.001522(...TRUNCATED)
[-3.089428219027468e-6,0.006984182167798281,0.006982921157032251,-3.0942946978029795e-6,0.0070275464(...TRUNCATED)
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0(...TRUNCATED)
[0.0011773558799177408,-0.2138970047235489,-0.10747255384922028,-0.007375537417829037,0.138827890157(...TRUNCATED)
[0.007908148691058159,0.22838063538074493,-0.28918492794036865,-0.010783884674310684,0.2941823005676(...TRUNCATED)
[-0.01291947066783905,-0.19753225147724152,-0.04647991061210632,-0.005950021557509899,40.22965240478(...TRUNCATED)
[[7,8,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,40(...TRUNCATED)
[ [ 8 ] ]
[[5,6,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,29(...TRUNCATED)
[ -40.13 ]
[ 0.007027546409517527 ]
[ 0.0000075367656791058835 ]
[ 41.09390640258789 ]
[ 292.8535892825247 ]
[ 10.21 ]
[ 454.5 ]
[ 1537 ]
[ 1585 ]
[ 90550 ]
[ [ 6293, 12090, 0 ] ]
[471,470,3833,556,3743,3983,478,585,4076,679,3704,3728,3717,569,6139,3679,547,3974,3289,4647,5161,32(...TRUNCATED)
[ 1, 12090 ]
[-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-0.9801522505715113,-0.9603170374139904,-0.9405068888688334,-0.(...TRUNCATED)
[-0.7898,0.7898,0.7898,-0.7898,1.0,1.0,-1.0,-1.0,-0.7895505726947603,-0.7888024483230243,-0.78755609(...TRUNCATED)
[-6.242666131583974e-6,-0.000268664414761588,-0.0005028877058066428,-0.0007654513465240598,0.0022822(...TRUNCATED)
[-4.808144240087131e-6,0.01046923827379942,0.010469763539731503,-4.79280015497352e-6,0.0105350287631(...TRUNCATED)
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0(...TRUNCATED)
[0.0011021113023161888,-0.24036866426467896,-0.15111206471920013,-0.0014877142384648323,0.1574145257(...TRUNCATED)
[0.011279251426458359,0.26804643869400024,-0.4752439260482788,0.0005706611555069685,0.35778480768203(...TRUNCATED)
[-0.011116951704025269,-0.2002638727426529,-0.0768873393535614,-0.007206244394183159,50.071823120117(...TRUNCATED)
[[7,8,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,40(...TRUNCATED)
[ [ 8 ] ]
[[5,6,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,29(...TRUNCATED)
[ -49.89 ]
[ 0.010535485111176968 ]
[ 0.00018533300317358226 ]
[ 50.28134536743164 ]
[ 355.7881089964726 ]
[ 17.33 ]
[ 457.5 ]
[ 1781 ]
[ 1365 ]
[ 74550 ]
[ [ 6263, 12032, 0 ] ]
[3292,3938,5995,617,3658,3844,633,3667,3892,3695,693,5847,3891,3874,5825,255,2,6105,4570,4571,5912,3(...TRUNCATED)
[ 1, 12032 ]
[-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-0.9800226214507869,-0.9600580653609604,-0.9401191459854693,-0.(...TRUNCATED)
[-0.7886,0.7886,0.7886,-0.7886,1.0,1.0,-1.0,-1.0,-0.788346918777705,-0.7875878375503844,-0.786323243(...TRUNCATED)
[-5.452631739899516e-6,-0.00022715672093909234,-0.000421927630668506,-0.0006432028021663427,0.001900(...TRUNCATED)
[-4.160728167335037e-6,0.008716813288629055,0.008718209341168404,-4.145456841797568e-6,0.00877251476(...TRUNCATED)
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0(...TRUNCATED)
[0.0005619758740067482,-0.07909433543682098,-0.263534277677536,-0.004982909187674522,0.1395698189735(...TRUNCATED)
[0.008368068374693394,0.4191426932811737,-0.45697733759880066,-0.011275076307356358,0.37283110618591(...TRUNCATED)
[-0.01651940494775772,-0.01838916540145874,-0.1580582559108734,-0.005004234611988068,47.631855010986(...TRUNCATED)
[[7,8,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,40(...TRUNCATED)
[ [ 8 ] ]
[[5,6,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,28(...TRUNCATED)
[ -47.45 ]
[ 0.008773813024163246 ]
[ 5.528257247533475e-7 ]
[ 48.276947021484375 ]
[ 342.8686411741625 ]
[ 19.29 ]
[ 592.5 ]
[ 1973 ]
[ 1609 ]
[ 84350 ]
End of preview. Expand in Data Studio

https://i.ibb.co/MDqsmb5H/Logo-Tensile2d-2-consolas-100.png https://i.ibb.co/Js062hF/preview.png

legal:
  owner: Safran
  license: cc-by-sa-4.0
data_production:
  type: simulation
  physics: 2D quasistatic non-linear structural mechanics, small deformations, plane
    strain
num_samples:
  train: 500
  test: 200
  OOD: 2
storage_backend: hf_datasets
plaid:
  version: 0.1.11.dev21+g94f13b9c8

This dataset was generated with plaid, we refer to this documentation for additional details on how to extract data from plaid_sample objects.

The simplest way to use this dataset is to first download it:

from plaid.storage import download_from_hub

repo_id = "channel/dataset"
local_folder = "downloaded_dataset"

download_from_hub(repo_id, local_folder)

Then, to iterate over the dataset and instantiate samples:

from plaid.storage import init_from_disk

local_folder = "downloaded_dataset"
split_name = "train"

datasetdict, converterdict = init_from_disk(local_folder)

dataset = datasetdict[split]
converter = converterdict[split]

for i in range(len(dataset)):
    plaid_sample = converter.to_plaid(dataset, i)

It is possible to stream the data directly:

from plaid.storage import init_streaming_from_hub

repo_id = "channel/dataset"

datasetdict, converterdict = init_streaming_from_hub(repo_id)

dataset = datasetdict[split]
converter = converterdict[split]

for sample_raw in dataset:
    plaid_sample = converter.sample_to_plaid(sample_raw)

Plaid samples' features can be retrieved like the following:

from plaid.storage import load_problem_definitions_from_disk
local_folder = "downloaded_dataset"
pb_defs = load_problem_definitions_from_disk(local_folder)

# or
from plaid.storage import load_problem_definitions_from_hub
repo_id = "channel/dataset"
pb_defs = load_problem_definitions_from_hub(repo_id)


pb_def = pb_defs[0]

plaid_sample = ... # use a method from above to instantiate a plaid sample

for t in plaid_sample.get_all_time_values():
    for path in pb_def.get_in_features_identifiers():
        plaid_sample.get_feature_by_path(path=path, time=t)
    for path in pb_def.get_out_features_identifiers():
        plaid_sample.get_feature_by_path(path=path, time=t)

For those familiar with HF's datasets library, raw data can be retrieved without using the plaid library:

from datasets import load_dataset

repo_id = "channel/dataset"

datasetdict = load_dataset(repo_id)

for split_name, dataset in datasetdict.items():
    for raw_sample in dataset:
        for feat_name in dataset.column_names:
            feature = raw_sample[feat_name]

Notice that raw data refers to the variable features only, with a specific encoding for time variable features.

Dataset Sources

Downloads last month
263