import h2o
import numpy as np
import matplotlib.patches as mpatches
import matplotlib.pyplot as plt
from h2o.estimators.glrm import H2OGeneralizedLowRankEstimator
h2o.init()
H2O cluster uptime: | 7 seconds 288 milliseconds |
H2O cluster version: | 3.7.0.99999 |
H2O cluster name: | spIdea |
H2O cluster total nodes: | 1 |
H2O cluster total free memory: | 12.44 GB |
H2O cluster total cores: | 8 |
H2O cluster allowed cores: | 8 |
H2O cluster healthy: | True |
H2O Connection ip: | 127.0.0.1 |
H2O Connection port: | 54321 |
H2O Connection proxy: | None |
Python Version: | 3.5.0 |
from h2o.utils.shared_utils import _locate # private function. used to find files within h2o git project directory.
# Import walking gait data
gait = h2o.upload_file(path=_locate("smalldata/glrm_test/subject01_walk1.csv"))
gait.describe()
Parse Progress: [##################################################] 100% Rows:151 Cols:124 Chunk compression summary:
chunk_type | chunk_name | count | count_percentage | size | size_percentage |
C2S | 2-Byte Fractions | 1 | 0.8064516 | 386 B | 0.4540642 |
C4S | 4-Byte Fractions | 123 | 99.19355 | 82.6 KB | 99.54594 |
Frame distribution summary:
size | number_of_rows | number_of_chunks_per_column | number_of_chunks | |
172.16.2.84:54321 | 83.0 KB | 151.0 | 1.0 | 124.0 |
mean | 83.0 KB | 151.0 | 1.0 | 124.0 |
min | 83.0 KB | 151.0 | 1.0 | 124.0 |
max | 83.0 KB | 151.0 | 1.0 | 124.0 |
stddev | 0 B | 0.0 | 0.0 | 0.0 |
total | 83.0 KB | 151.0 | 1.0 | 124.0 |
Time | R.ASIS.X | R.ASIS.Y | R.ASIS.Z | L.ASIS.X | L.ASIS.Y | L.ASIS.Z | V.Sacral.X | V.Sacral.Y | V.Sacral.Z | R.Thigh.Upper.X | R.Thigh.Upper.Y | R.Thigh.Upper.Z | R.Thigh.Front.X | R.Thigh.Front.Y | R.Thigh.Front.Z | R.Thigh.Rear.X | R.Thigh.Rear.Y | R.Thigh.Rear.Z | L.Thigh.Upper.X | L.Thigh.Upper.Y | L.Thigh.Upper.Z | L.Thigh.Front.X | L.Thigh.Front.Y | L.Thigh.Front.Z | L.Thigh.Rear.X | L.Thigh.Rear.Y | L.Thigh.Rear.Z | R.Shank.Upper.X | R.Shank.Upper.Y | R.Shank.Upper.Z | R.Shank.Front.X | R.Shank.Front.Y | R.Shank.Front.Z | R.Shank.Rear.X | R.Shank.Rear.Y | R.Shank.Rear.Z | L.Shank.Upper.X | L.Shank.Upper.Y | L.Shank.Upper.Z | L.Shank.Front.X | L.Shank.Front.Y | L.Shank.Front.Z | L.Shank.Rear.X | L.Shank.Rear.Y | L.Shank.Rear.Z | R.Heel.X | R.Heel.Y | R.Heel.Z | R.Midfoot.Sup.X | R.Midfoot.Sup.Y | R.Midfoot.Sup.Z | R.Midfoot.Lat.X | R.Midfoot.Lat.Y | R.Midfoot.Lat.Z | R.Toe.Tip.X | R.Toe.Tip.Y | R.Toe.Tip.Z | L.Heel.X | L.Heel.Y | L.Heel.Z | L.Midfoot.Sup.X | L.Midfoot.Sup.Y | L.Midfoot.Sup.Z | L.Midfoot.Lat.X | L.Midfoot.Lat.Y | L.Midfoot.Lat.Z | L.Toe.Tip.X | L.Toe.Tip.Y | L.Toe.Tip.Z | Sternum.X | Sternum.Y | Sternum.Z | R.Acromium.X | R.Acromium.Y | R.Acromium.Z | L.Acromium.X | L.Acromium.Y | L.Acromium.Z | R.Bicep.X | R.Bicep.Y | R.Bicep.Z | L.Bicep.X | L.Bicep.Y | L.Bicep.Z | R.Elbow.X | R.Elbow.Y | R.Elbow.Z | L.Elbow.X | L.Elbow.Y | L.Elbow.Z | R.Wrist.Med.X | R.Wrist.Med.Y | R.Wrist.Med.Z | R.Wrist.Lat.X | R.Wrist.Lat.Y | R.Wrist.Lat.Z | L.Wrist.Med.X | L.Wrist.Med.Y | L.Wrist.Med.Z | L.Wrist.Lat.X | L.Wrist.Lat.Y | L.Wrist.Lat.Z | R.Toe.Lat.X | R.Toe.Lat.Y | R.Toe.Lat.Z | R.Toe.Med.X | R.Toe.Med.Y | R.Toe.Med.Z | L.Toe.Lat.X | L.Toe.Lat.Y | L.Toe.Lat.Z | L.Toe.Med.X | L.Toe.Med.Y | L.Toe.Med.Z | R.Temple.X | R.Temple.Y | R.Temple.Z | L.Temple.X | L.Temple.Y | L.Temple.Z | Top.Head.X | Top.Head.Y | Top.Head.Z | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
type | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real |
mins | 0.0 | 588.9071700000001 | 1042.5732400000002 | 107.79163000000001 | 600.01556 | 1028.7249800000002 | -152.53879 | 399.40009000000003 | 1034.9012500000001 | -21.440830000000002 | 481.83603000000005 | 732.70135 | 169.71159 | 535.63422 | 657.21033 | 74.20708 | 443.03299000000004 | 613.54547 | 168.15961000000001 | 468.19415000000004 | 737.7208300000001 | -194.25998 | 550.69415 | 684.75494 | -133.58800000000002 | 435.01773000000003 | 627.4998800000001 | -170.86086 | 319.34705 | 444.43289000000004 | 157.69023 | 376.44724 | 403.25574000000006 | 102.54192 | 293.89526 | 368.28577 | 165.6133 | 341.20230000000004 | 438.80435000000006 | -172.96315 | 365.72482 | 375.95242 | -120.97533000000001 | 304.46347000000003 | 393.67728000000005 | -173.38676 | 68.60076000000001 | 56.43383000000001 | 59.94800000000001 | 190.98845000000003 | 76.90237 | 57.86759000000001 | 157.32503000000003 | 62.790000000000006 | 159.97461 | 242.90858000000003 | 33.52863 | 102.08940000000001 | 76.37951000000001 | 58.7473 | -74.0361 | 211.85968000000003 | 69.02702000000001 | -69.30095 | 185.39088 | 48.22646 | -140.09074 | 254.42706 | 36.65646 | -88.18266000000001 | 627.3817700000001 | 1342.8541300000002 | -35.207950000000004 | 511.80032000000006 | 1427.4450700000002 | 164.48206000000002 | 551.72424 | 1453.5893600000002 | -249.89265000000003 | 485.94559000000004 | 1227.90454 | 216.05853000000002 | 531.12134 | 1217.6442900000002 | -266.60974000000004 | 424.32767 | 1129.09949 | 242.29697000000002 | 460.03223 | 1123.8029800000002 | -304.79358 | 535.8743900000001 | 889.81964 | 262.1105 | 486.99316000000005 | 876.5388200000001 | 304.71069 | 554.3527200000001 | 895.9242600000001 | -240.59163 | 502.82971000000003 | 886.58942 | -300.87775000000005 | 179.7708 | 33.33099 | 181.24631000000002 | 218.04131 | 36.963620000000006 | 71.79319000000001 | 199.80693000000002 | 36.02512 | -153.13719 | 228.04898000000003 | 42.970600000000005 | -54.889030000000005 | 675.97009 | 1562.28418 | 44.154320000000006 | 683.5089700000001 | 1567.2720900000002 | -94.07465 | 614.13971 | 1740.3891600000002 | -19.488380000000003 |
mean | 1.2499999999999993 | 613.8130531125828 | 1066.0396608609274 | 147.31687456953645 | 621.7555214569537 | 1053.9635696688736 | -113.08985682119204 | 419.6205819205298 | 1059.0900681456953 | 21.623491456953648 | 604.8936437086089 | 752.1138705960262 | 198.39496721854303 | 673.9218970198674 | 697.9239713907289 | 108.98507715231787 | 611.8222588741723 | 633.8688175496687 | 191.19985695364238 | 585.4907751655632 | 756.9971207947021 | -165.26850715231774 | 678.6867554966889 | 728.6994552980129 | -105.36090649006627 | 595.9400021854307 | 651.7901406622518 | -150.84564834437083 | 546.5949239735097 | 475.6042311258279 | 178.1610840397351 | 612.0710297350994 | 427.5346344370859 | 128.65022192052976 | 542.2670986754965 | 394.8237276821193 | 183.7567350993378 | 576.5967016556297 | 453.5735939735099 | -145.61844165562923 | 613.3957888079467 | 399.52025900662267 | -93.8556917880795 | 549.8781823841059 | 417.99366589403985 | -150.9459415231788 | 416.54885291390724 | 129.3223385430464 | 90.8570246357616 | 548.3382341059602 | 111.61077556291387 | 69.80901602649006 | 529.6942462913908 | 98.34065304635762 | 174.1893321854304 | 666.8872204635761 | 65.94589735099338 | 120.55406225165562 | 434.3669011920529 | 129.88390841059598 | -51.12726761589405 | 586.8231564900668 | 102.77086682119207 | -29.910332119205307 | 567.2420795364241 | 96.33869509933773 | -123.75095503311258 | 681.115977880795 | 67.45840384105965 | -57.79152264900662 | 644.3542851655633 | 1368.8750156953645 | 7.558123708609271 | 541.6915377483443 | 1458.7166388741728 | 215.4138978807946 | 579.5313996026489 | 1480.7170782781461 | -200.59946940397344 | 546.9539041721856 | 1259.3373474172188 | 262.77322251655636 | 596.1424768874172 | 1244.4854017218543 | -229.89472728476827 | 504.1951813907285 | 1157.8487022516563 | 292.1369874172185 | 548.2739773509936 | 1148.8425164238413 | -267.9194196688743 | 659.5054600662249 | 943.7589347682123 | 282.792095960265 | 620.8649145695368 | 926.0463686754969 | 331.2522522516555 | 672.8674744370859 | 938.0977625827818 | -214.62415662251658 | 631.5193429801323 | 921.9683218543047 | -274.01243317880784 | 601.509835033112 | 61.89592642384106 | 194.6828558278145 | 619.8241700000001 | 68.4889279470199 | 86.61932410596025 | 618.3381468874173 | 65.92961562913905 | -132.6487337748344 | 638.6451865562915 | 72.31719158940398 | -31.812834701986745 | 705.7277435761589 | 1598.0397398675493 | 94.05463324503312 | 718.7310321854308 | 1603.0323291390728 | -44.31930543046361 | 698.879092384106 | 1772.9682127152323 | 33.555429536423844 |
maxs | 2.5 | 641.12048 | 1091.43665 | 180.07411000000002 | 661.46918 | 1078.02356 | -80.37424 | 451.5914 | 1077.82214 | 55.369930000000004 | 692.8951400000001 | 788.1136500000001 | 217.07512000000003 | 766.4453100000001 | 750.7237500000001 | 136.25021 | 728.6724200000001 | 672.4224200000001 | 209.89946 | 674.53168 | 783.71576 | -138.11635 | 773.9770500000001 | 780.8144500000001 | -66.30186 | 713.1610700000001 | 681.3862300000001 | -123.18440000000001 | 719.6970200000001 | 531.05676 | 200.56787000000003 | 799.4701500000001 | 457.5513 | 154.56749000000002 | 751.88885 | 458.64368 | 202.59061000000003 | 764.30676 | 494.35605000000004 | -116.46951000000001 | 821.6690100000001 | 425.57733 | -63.516540000000006 | 750.77588 | 473.02411000000006 | -124.50978 | 812.50183 | 320.70309000000003 | 108.16100000000002 | 935.61414 | 198.72064 | 86.30818000000001 | 934.44775 | 211.37376 | 188.70589 | 1073.86951 | 179.28133000000003 | 153.59363000000002 | 821.7641000000001 | 321.80249000000003 | -34.92287 | 971.3176300000001 | 178.00603 | -6.83138 | 955.7309600000001 | 184.36398000000003 | -104.36980000000001 | 1082.51477 | 168.64880000000002 | -32.923210000000005 | 673.89301 | 1393.8880600000002 | 43.751630000000006 | 573.6866500000001 | 1486.25891 | 262.06827000000004 | 609.36566 | 1507.8101800000002 | -155.85466000000002 | 593.64148 | 1288.58093 | 305.86801 | 643.91699 | 1271.7580600000001 | -196.56128 | 567.0025 | 1193.1440400000001 | 339.82635000000005 | 608.93268 | 1186.43945 | -230.94901000000002 | 772.61859 | 1003.0836800000001 | 312.96448000000004 | 751.62823 | 969.89471 | 362.03549000000004 | 793.86859 | 998.83923 | -188.33229000000003 | 768.9158900000001 | 958.34167 | -249.44443 | 1026.04944 | 136.89597 | 218.5173 | 1029.85803 | 153.3546 | 113.45890000000001 | 1024.0694600000002 | 133.35187000000002 | -111.9407 | 1039.3868400000001 | 146.49858 | -9.441730000000002 | 740.63611 | 1640.0118400000001 | 139.15808 | 754.6250600000001 | 1647.8839100000002 | 0.84904 | 752.89178 | 1809.1491700000001 | 85.29955000000001 |
sigma | 0.7288982553598734 | 14.839950764155404 | 14.309995260225792 | 24.58383356023821 | 15.367797078118171 | 14.028245351170598 | 24.36427629012695 | 14.11243340170483 | 12.724142243141308 | 23.931459574007416 | 67.02559441274039 | 14.41071510974762 | 15.398480374958389 | 76.65383069841089 | 25.896508105870957 | 17.975151713721452 | 95.48294582943252 | 14.783405335394335 | 12.678240818405571 | 67.41798576873889 | 11.610268329278464 | 17.763934708282942 | 73.0400331790454 | 26.215986775285437 | 21.086473319381238 | 94.2449453288559 | 12.023205339632502 | 13.804606160830287 | 134.93061207505352 | 25.349861362058704 | 10.794140358502371 | 144.49890965116518 | 16.47320774925503 | 12.011691455844378 | 154.7774818646732 | 28.836401724643693 | 8.399348444790137 | 142.95524692848494 | 17.082814312098368 | 14.879732446303096 | 154.96788952075923 | 15.560029141241564 | 14.911113572072345 | 151.594655659586 | 25.435023343449412 | 13.275024941597394 | 237.43944206830935 | 86.80343780253493 | 9.298073657103735 | 244.6407179572301 | 37.91043095679009 | 7.582862433872318 | 251.0617538001127 | 44.41348608713427 | 6.393457760711201 | 267.4568938007459 | 36.23264239834704 | 13.613927648644092 | 241.49943110684558 | 83.28595104733681 | 9.622767350801517 | 252.60488599087827 | 30.581903744070164 | 12.50947521438336 | 255.3742520395276 | 36.29889281644612 | 9.253300952802068 | 271.41405247323576 | 34.54637819120151 | 13.739176761986469 | 12.057560570460472 | 14.748920262780642 | 26.994429532604197 | 15.75877414903572 | 16.42509134119633 | 32.91664846673709 | 16.795593925312957 | 15.43515813813026 | 31.807591147525685 | 32.68904808090951 | 16.857366037548523 | 29.30191109925967 | 36.888188302031175 | 15.249894444342027 | 23.3207475248551 | 45.85588288351911 | 18.356038206581573 | 31.267462014418022 | 50.64618869740734 | 17.77634010039676 | 23.133037855069336 | 78.9687004520418 | 29.96213905357626 | 13.839689939145192 | 88.31690351648665 | 24.844944860775932 | 15.149844063476467 | 79.9007206581816 | 27.513302322592743 | 13.241126271876562 | 87.46500707322576 | 19.77611640822137 | 13.554557493572418 | 267.8100374532013 | 31.250034295496672 | 8.970180907322444 | 262.60427445553245 | 31.356169647526368 | 10.501730117970036 | 269.2384196846214 | 30.699365566450513 | 10.984343378703137 | 265.8516459251092 | 28.943564085962965 | 11.776048533486595 | 19.020666884881653 | 19.824961937210162 | 31.941916434696886 | 20.332981999928222 | 20.85224012111768 | 31.71496888604484 | 43.73646751802234 | 17.68386421119634 | 34.45203578396963 |
zeros | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
missing | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
0 | 0.0 | 617.2476200000001 | 1055.27502 | 170.78198 | 639.6063800000001 | 1044.2584200000001 | -88.90979 | 430.86984 | 1051.26465 | 29.96675 | 517.3327 | 741.0960100000001 | 212.08337000000003 | 570.2014800000001 | 666.7055700000001 | 123.68554 | 480.06427 | 626.5148300000001 | 199.55385 | 659.57892 | 745.05798 | -145.97218 | 750.4809 | 735.8501000000001 | -73.48505 | 697.4296300000001 | 642.68182 | -137.36960000000002 | 360.9039 | 474.04004000000003 | 186.84929000000002 | 420.86743 | 412.36603 | 134.71933 | 343.73737000000006 | 388.03668000000005 | 189.83162000000002 | 750.32623 | 446.17697000000004 | -128.52777 | 819.76385 | 415.13217000000003 | -81.7 | 750.0458400000001 | 397.94098 | -138.88400000000001 | 156.44276000000002 | 113.07307000000002 | 104.00257 | 297.18088 | 88.12213000000001 | 67.0685 | 288.24664 | 73.76623000000001 | 176.63014 | 429.09286000000003 | 43.0861 | 110.59769000000001 | 815.7641600000001 | 63.39788000000001 | -51.75869 | 967.9899300000001 | 122.58054000000001 | -32.7704 | 943.78925 | 105.33720000000001 | -122.34442000000001 | 1078.70935 | 143.54796000000002 | -60.93587000000001 | 660.8267800000001 | 1353.77527 | 20.198390000000003 | 566.59839 | 1449.57959 | 229.99652000000003 | 596.4238300000001 | 1468.9681400000002 | -186.70021000000003 | 593.64148 | 1249.1079100000002 | 279.7764 | 580.73468 | 1233.74133 | -222.92732 | 567.0025 | 1143.1092500000002 | 315.56631000000004 | 518.10278 | 1146.32483 | -260.95828 | 771.56329 | 973.7791100000001 | 273.7876 | 746.2069700000001 | 944.3781100000001 | 327.45282000000003 | 619.82306 | 916.1698000000001 | -218.32727000000003 | 574.16254 | 905.87732 | -276.12146 | 366.12296000000003 | 35.908210000000004 | 193.14078 | 375.86584000000005 | 39.8688 | 81.17185 | 1022.03961 | 113.13824000000001 | -136.45811 | 1034.97046 | 125.07877 | -34.938210000000005 | 736.5223400000001 | 1571.5815400000001 | 106.42087000000001 | 748.2420000000001 | 1574.9641100000001 | -31.667230000000004 | 749.3324600000001 | 1747.60767 | 46.741460000000004 |
1 | 0.017 | 617.99811 | 1053.2175300000001 | 168.51317 | 641.23621 | 1042.2785600000002 | -90.93213 | 432.34061 | 1050.2374300000001 | 26.846790000000002 | 516.61377 | 740.4259000000001 | 211.21942 | 570.5189200000001 | 664.1987300000001 | 123.39365000000001 | 479.64038000000005 | 625.65308 | 199.31528000000003 | 661.6131 | 743.5673200000001 | -146.43872000000002 | 756.8522300000001 | 736.42303 | -77.16084000000001 | 700.7197900000001 | 641.4929800000001 | -135.75307 | 357.69406000000004 | 474.35721000000007 | 187.04623 | 415.39218000000005 | 411.81808 | 134.78728 | 336.91132000000005 | 390.05734 | 190.88017000000002 | 755.1210900000001 | 443.93143000000003 | -128.7347 | 820.41974 | 409.88623 | -79.03171 | 750.5651200000001 | 396.96808000000004 | -137.30786 | 141.98363 | 121.29087000000001 | 105.0378 | 281.97873000000004 | 91.63458000000001 | 68.46623000000001 | 271.80731000000003 | 75.74918000000001 | 177.51051 | 409.88361000000003 | 43.13917 | 110.56359 | 799.8198900000001 | 65.80063000000001 | -49.9463 | 957.4516600000001 | 113.74644 | -27.677100000000003 | 943.78925 | 105.33720000000001 | -122.34442000000001 | 1069.2766100000001 | 128.48079 | -56.2015 | 661.32916 | 1352.7082500000001 | 17.243570000000002 | 566.9248 | 1448.94153 | 226.13284000000002 | 596.4202300000001 | 1466.4149200000002 | -191.47711 | 593.2045300000001 | 1248.55835 | 276.04364000000004 | 582.39642 | 1230.6384300000002 | -225.94514 | 566.13733 | 1142.56213 | 312.59055 | 519.93042 | 1142.1728500000002 | -262.84161 | 767.1664400000001 | 969.5742200000001 | 272.55261 | 742.40552 | 941.0106200000001 | 325.92441 | 623.0548100000001 | 912.3173200000001 | -220.41856 | 576.28583 | 902.63904 | -278.4635 | 346.24503000000004 | 35.811 | 193.41495 | 358.94989000000004 | 39.80574 | 80.93507000000001 | 1011.0821500000001 | 101.08356 | -132.52734 | 1024.0022000000001 | 111.6144 | -30.679700000000004 | 736.04187 | 1570.83057 | 101.78574 | 748.4116200000001 | 1574.0415 | -36.665130000000005 | 750.6798100000001 | 1746.6704100000002 | 41.16423 |
2 | 0.033 | 620.2922400000001 | 1051.77124 | 165.85938000000002 | 643.5969200000001 | 1041.06079 | -94.30722 | 434.09943000000004 | 1049.3414300000002 | 23.819360000000003 | 517.7789300000001 | 739.68091 | 209.92978000000002 | 570.4550800000001 | 663.09094 | 123.09371000000002 | 479.47061 | 625.03668 | 199.23274 | 663.7771600000001 | 742.55939 | -147.20686 | 760.8386200000001 | 737.40466 | -80.50614 | 702.586 | 640.56848 | -134.51134000000002 | 355.96603000000005 | 476.07431 | 187.72906 | 411.18945 | 410.48535000000004 | 135.65497000000002 | 332.24643000000003 | 392.03955 | 191.39008 | 755.7663600000001 | 441.96497000000005 | -126.80373000000002 | 821.31488 | 407.06613000000004 | -76.99791 | 750.77588 | 396.23285000000004 | -136.23216000000002 | 128.05836000000002 | 130.38168000000002 | 106.09202 | 267.07681 | 95.34116 | 69.87910000000001 | 255.80577000000002 | 78.12271000000001 | 178.35294000000002 | 390.76752000000005 | 43.101560000000006 | 110.35046000000001 | 784.39679 | 68.05878 | -48.83653 | 946.33325 | 105.40950000000001 | -23.485970000000002 | 932.77124 | 97.33627000000001 | -120.64327000000002 | 1059.0639600000002 | 113.93506000000001 | -52.284060000000004 | 663.19812 | 1351.7868700000001 | 13.631070000000001 | 567.5697 | 1448.2222900000002 | 221.82841000000002 | 596.4621000000001 | 1463.91785 | -196.01938 | 593.00885 | 1248.7484100000001 | 272.54794000000004 | 585.1844500000001 | 1227.7260700000002 | -228.90501000000003 | 564.9734500000001 | 1142.9399400000002 | 308.37927 | 523.07452 | 1139.1127900000001 | -266.43765 | 762.1574700000001 | 964.9895000000001 | 271.42297 | 735.9769900000001 | 937.31622 | 324.73819000000003 | 626.50507 | 909.2268100000001 | -223.19127000000003 | 579.6622900000001 | 899.1212200000001 | -281.07309000000004 | 328.92258000000004 | 34.77872 | 193.96858 | 341.75687000000005 | 39.43059 | 80.78735 | 999.3184200000001 | 89.32551000000001 | -129.32420000000002 | 1012.50629 | 98.88281 | -27.288000000000004 | 736.57086 | 1570.5422400000002 | 96.86483000000001 | 748.85468 | 1571.8595 | -41.940810000000006 | 751.0396700000001 | 1746.68018 | 36.05921 |
3 | 0.05 | 621.5404100000001 | 1050.55212 | 163.53250000000003 | 646.7510400000001 | 1040.35681 | -96.86188000000001 | 436.27994 | 1048.7071500000002 | 20.95202 | 519.19745 | 739.32581 | 208.32521000000003 | 571.93127 | 661.63751 | 123.22423 | 481.81918 | 624.2301600000001 | 198.05685000000003 | 666.23505 | 742.3903200000001 | -148.4931 | 763.56763 | 737.9541600000001 | -84.02015 | 703.2188100000001 | 640.3864100000001 | -133.90343000000001 | 356.08667 | 476.89316 | 187.23071000000002 | 409.44373 | 410.43378 | 135.6963 | 329.61075000000005 | 394.47125000000005 | 191.91527000000002 | 758.6344600000001 | 441.58249000000006 | -127.01546 | 821.6690100000001 | 405.63815000000005 | -75.78609 | 750.51422 | 395.89566 | -136.16490000000002 | 115.33288 | 141.10814000000002 | 107.07024000000001 | 252.83902000000003 | 99.48857000000001 | 71.28898000000001 | 240.50905000000003 | 81.28846 | 179.09006000000002 | 371.83502000000004 | 42.88871 | 109.90253000000001 | 769.4459800000001 | 70.03754 | -48.76834 | 934.0969200000001 | 97.97519000000001 | -20.897740000000002 | 920.9379900000001 | 90.00697000000001 | -119.47644000000001 | 1047.43127 | 100.48981 | -49.76516 | 664.71771 | 1351.3050500000002 | 9.24379 | 568.00946 | 1448.12561 | 216.41084 | 599.00385 | 1461.8778100000002 | -201.06389000000001 | 592.6820700000001 | 1249.01611 | 268.26801 | 587.1785900000001 | 1225.28418 | -232.17101000000002 | 562.62689 | 1143.3822 | 304.28061 | 526.08716 | 1135.98755 | -268.87439 | 756.53687 | 960.19275 | 270.02432000000005 | 729.9737500000001 | 933.6328100000001 | 323.82111000000003 | 629.7023300000001 | 906.3137200000001 | -225.57834000000003 | 581.9775400000001 | 895.94104 | -283.05914 | 310.68375000000003 | 34.73133 | 194.06519000000003 | 324.27896000000004 | 38.879560000000005 | 80.76440000000001 | 986.2498200000001 | 78.36720000000001 | -127.32961000000002 | 999.9459200000001 | 87.50825 | -25.276780000000002 | 736.5362500000001 | 1571.2082500000001 | 92.58109 | 749.98224 | 1572.0024400000002 | -45.996900000000004 | 751.0684200000001 | 1747.0128200000001 | 30.698870000000003 |
4 | 0.067 | 624.5884400000001 | 1050.9283400000002 | 161.24614000000003 | 649.2541500000001 | 1041.42517 | -98.48461 | 438.82794 | 1048.4510500000001 | 18.27267 | 522.1684600000001 | 738.2790500000001 | 206.22354 | 577.19788 | 661.2052600000001 | 122.12227000000001 | 485.72040000000004 | 623.1875600000001 | 197.99348 | 669.0249600000001 | 743.2103300000001 | -150.40512 | 766.52637 | 737.5761100000001 | -86.54853000000001 | 706.44861 | 641.32141 | -135.47997 | 359.10043 | 478.78271000000007 | 187.31071000000003 | 409.76855000000006 | 409.98972000000003 | 136.62299000000002 | 328.7959 | 397.80103 | 192.13521000000003 | 764.30676 | 441.88095000000004 | -129.77544 | 819.4068000000001 | 403.62671000000006 | -75.05777 | 749.6619900000001 | 395.97159000000005 | -137.4687 | 104.66998000000001 | 154.01006 | 107.811 | 239.74205 | 104.37802 | 72.63148000000001 | 226.07957000000002 | 85.6586 | 179.6458 | 353.20926000000003 | 42.461980000000004 | 109.34061000000001 | 754.4303000000001 | 71.63676000000001 | -49.6439 | 920.41016 | 91.70379000000001 | -20.19499 | 907.7567700000001 | 83.828 | -119.12199000000001 | 1034.05762 | 88.69792000000001 | -48.79842000000001 | 666.13251 | 1351.51563 | 4.62811 | 568.55597 | 1448.6364700000001 | 211.90868 | 600.1272600000001 | 1460.2915 | -206.09744 | 591.9776 | 1249.31384 | 263.23383 | 590.4918200000001 | 1223.49988 | -236.03795000000002 | 560.85986 | 1144.38464 | 300.73502 | 528.6322 | 1134.0450400000002 | -271.92065 | 750.1063200000001 | 955.1744400000001 | 269.17526000000004 | 721.4677700000001 | 930.05811 | 323.39139 | 633.41034 | 904.0494400000001 | -227.97125000000003 | 586.0067700000001 | 894.0228300000001 | -285.90546 | 292.77032 | 33.78799 | 194.14709000000002 | 306.88870000000003 | 38.662980000000005 | 80.80763 | 971.7229600000001 | 68.74927000000001 | -126.63988 | 985.93829 | 77.90832 | -24.668100000000003 | 737.62549 | 1572.04834 | 87.80447000000001 | 750.3457000000001 | 1572.99023 | -51.10457 | 750.73419 | 1748.2327900000003 | 25.321170000000002 |
5 | 0.083 | 628.15863 | 1051.42017 | 158.44899 | 652.0412600000001 | 1043.0465100000001 | -101.85737 | 441.57205000000005 | 1048.66125 | 15.770330000000001 | 526.8028 | 738.1261000000001 | 205.65331 | 584.08734 | 660.5979600000001 | 120.84705000000001 | 490.79364000000004 | 622.24158 | 197.31982000000002 | 671.8154900000001 | 744.8880600000001 | -152.9505 | 766.9668 | 739.8530300000001 | -85.03291 | 709.17731 | 643.2790500000001 | -136.13054000000002 | 366.04211000000004 | 481.02042000000006 | 188.67352000000002 | 413.34131 | 408.71753 | 136.33844000000002 | 330.84656 | 400.64767 | 193.43900000000002 | 759.47589 | 442.17343000000005 | -130.73776 | 816.0654300000001 | 402.27618 | -75.44473 | 747.8853100000001 | 396.32391 | -140.11632 | 97.06428000000001 | 169.38722 | 108.16100000000002 | 228.38951000000003 | 110.30775000000001 | 73.80885 | 212.84218 | 91.66736 | 179.95212 | 335.07321 | 41.768600000000006 | 108.90065000000001 | 738.8324 | 72.80952 | -51.153690000000005 | 905.3363600000001 | 86.73385 | -21.041400000000003 | 893.1098000000001 | 79.00209000000001 | -119.56252 | 1019.0333300000001 | 78.89088000000001 | -49.1244 | 667.7838700000001 | 1352.00989 | -0.13134 | 570.7625700000001 | 1450.0266100000001 | 206.86226000000002 | 600.59558 | 1460.49719 | -211.40720000000002 | 590.9401200000001 | 1250.75122 | 259.04285000000004 | 593.76056 | 1223.0832500000001 | -239.71443000000002 | 558.8460100000001 | 1145.6374500000002 | 295.84277000000003 | 533.79944 | 1131.9671600000001 | -274.53073 | 742.8613300000001 | 950.51917 | 268.83356000000003 | 712.263 | 929.0300900000001 | 323.78958 | 635.94586 | 902.42853 | -228.98778000000001 | 588.33478 | 891.7572600000001 | -287.01593 | 276.40588 | 34.303540000000005 | 194.01968000000002 | 290.22995000000003 | 39.311170000000004 | 80.83173000000001 | 955.8700600000001 | 60.793510000000005 | -127.01521000000001 | 970.42456 | 70.22808 | -25.11532 | 738.6120000000001 | 1573.1033900000002 | 82.11092000000001 | 751.77826 | 1575.6268300000002 | -55.8147 | 751.36084 | 1749.5825200000002 | 19.812450000000002 |
6 | 0.1 | 630.8077400000001 | 1051.99683 | 155.28273000000002 | 654.9433600000001 | 1045.55249 | -104.84258000000001 | 444.30652000000003 | 1049.38757 | 13.387430000000002 | 535.10321 | 738.0898400000001 | 203.62639000000001 | 592.5150100000001 | 659.99243 | 121.33315 | 501.20685000000003 | 620.82605 | 196.24577000000002 | 673.89844 | 747.0178800000001 | -156.03423 | 772.35175 | 742.25787 | -89.25005 | 713.1610700000001 | 646.65497 | -139.52066000000002 | 375.77795000000003 | 482.22336 | 189.33501 | 419.00134 | 407.60028000000005 | 138.39725 | 336.90884000000005 | 403.77454000000006 | 193.35080000000002 | 756.08441 | 442.23431000000005 | -133.99379000000002 | 810.97333 | 400.24454000000003 | -77.59450000000001 | 744.59918 | 396.7373 | -143.63443 | 93.53649 | 187.30023000000003 | 107.96611000000001 | 219.47504 | 117.48801 | 74.71632000000001 | 201.41972 | 99.71858 | 179.93013000000002 | 317.67944 | 40.65249 | 108.82865000000001 | 722.4545300000001 | 73.57777 | -52.950340000000004 | 889.2251600000001 | 83.06837 | -22.647180000000002 | 877.13904 | 75.46108000000001 | -120.58668000000002 | 1002.7486600000001 | 71.09254 | -50.28877000000001 | 669.5058 | 1354.1054700000002 | -5.01989 | 572.24451 | 1451.80005 | 201.81273000000002 | 602.06042 | 1461.0804400000002 | -216.38760000000002 | 590.79205 | 1252.99475 | 254.13115000000002 | 595.74579 | 1222.8592500000002 | -242.97070000000002 | 557.37036 | 1148.6759000000002 | 291.07318000000004 | 537.13202 | 1131.83167 | -277.63904 | 734.74261 | 946.59851 | 269.14612 | 702.83514 | 926.27173 | 323.48404000000005 | 640.10693 | 901.14435 | -232.70107000000002 | 588.76013 | 890.19757 | -287.25162 | 260.43735000000004 | 35.30923 | 193.34642000000002 | 274.95285 | 41.20525000000001 | 80.87572 | 939.0722700000001 | 54.592980000000004 | -128.03491 | 953.6607100000001 | 64.36980000000001 | -26.148970000000002 | 739.5401 | 1575.36292 | 78.13955 | 752.8810400000001 | 1577.24341 | -60.551320000000004 | 751.64526 | 1751.1157200000002 | 15.08665 |
7 | 0.117 | 634.3573 | 1053.59888 | 151.48531 | 656.46411 | 1048.4348100000002 | -108.35542000000001 | 446.83075 | 1050.6223100000002 | 11.01402 | 544.7229600000001 | 738.2121000000001 | 201.64484000000002 | 604.5097000000001 | 661.62036 | 121.05774000000001 | 513.22986 | 619.9285900000001 | 196.53305 | 674.53168 | 749.1281700000001 | -159.46423000000001 | 773.9770500000001 | 743.04993 | -93.60475000000001 | 711.73584 | 648.34937 | -143.10452 | 387.18112 | 484.59857000000005 | 188.88277000000002 | 428.80124 | 406.89310000000006 | 139.40385 | 345.48553000000004 | 408.36984 | 193.09653000000003 | 753.82123 | 442.04764000000006 | -138.77199000000002 | 802.9320700000001 | 398.62927 | -80.64492000000001 | 739.2414600000001 | 397.03458 | -147.34126 | 94.98832 | 207.49040000000002 | 107.03399 | 213.69908 | 125.96996000000001 | 75.26598000000001 | 192.58446 | 110.03806000000002 | 179.48466000000002 | 301.42526000000004 | 38.93748 | 109.33791000000001 | 705.33765 | 74.03343000000001 | -54.66131000000001 | 872.3795200000001 | 80.52281 | -24.272180000000002 | 860.03241 | 72.9679 | -121.8632 | 985.6317100000001 | 65.12334 | -51.84297 | 670.8331300000001 | 1356.6711400000002 | -9.292580000000001 | 572.75836 | 1454.5996100000002 | 196.92804 | 602.85883 | 1462.02185 | -221.10623 | 590.00787 | 1255.53772 | 250.09286000000003 | 601.24188 | 1223.48523 | -246.66733000000002 | 554.9689900000001 | 1151.4834 | 286.39725000000004 | 542.94934 | 1130.97559 | -280.45694000000003 | 725.0754400000001 | 942.78583 | 269.30731000000003 | 692.7287 | 924.3377100000001 | 323.41968 | 643.6822500000001 | 900.9467800000001 | -234.15486 | 590.58203 | 888.8829300000001 | -288.93704 | 243.86186 | 38.164410000000004 | 193.58971000000003 | 261.57364 | 44.61509 | 81.12685 | 921.7591600000001 | 50.09772 | -129.25052000000002 | 936.0639600000001 | 60.114940000000004 | -27.366380000000003 | 739.6069900000001 | 1577.7421900000002 | 73.24436 | 753.17957 | 1579.5181900000002 | -65.44061 | 752.39709 | 1753.56885 | 10.225100000000001 |
8 | 0.133 | 636.5860600000001 | 1055.2565900000002 | 148.46054 | 658.6814 | 1051.14209 | -111.49577000000001 | 448.95215 | 1052.2882100000002 | 8.533190000000001 | 554.57361 | 738.0722000000001 | 201.58772000000002 | 617.51031 | 662.07452 | 121.77839000000002 | 526.7855800000001 | 618.5899000000001 | 197.48357000000001 | 673.34198 | 750.9431800000001 | -162.99290000000002 | 771.8970300000001 | 742.3364300000001 | -96.90478 | 709.0987500000001 | 649.05853 | -147.66277000000002 | 402.69037000000003 | 485.76764000000003 | 188.44481000000002 | 442.54022000000003 | 406.66714 | 140.14063000000002 | 358.56879000000004 | 411.94595000000004 | 193.13004 | 746.6130400000001 | 442.07925000000006 | -142.18994 | 794.79785 | 397.89108000000004 | -83.96312 | 731.4337200000001 | 397.14545000000004 | -150.63176 | 101.89561 | 229.25220000000002 | 105.10458000000001 | 211.66443 | 135.61290000000002 | 75.40372 | 187.05954000000003 | 122.54012000000002 | 178.54959000000002 | 287.03329 | 36.682520000000004 | 110.60543000000001 | 687.62341 | 74.29313 | -55.974680000000006 | 854.9605700000001 | 78.81071 | -25.52192 | 842.0206900000001 | 71.28556 | -123.03375000000001 | 967.9538600000001 | 60.73584 | -53.419360000000005 | 672.2514000000001 | 1359.2253400000002 | -13.845720000000002 | 573.2486 | 1458.17261 | 192.6459 | 604.14795 | 1463.29358 | -225.73322000000002 | 588.66913 | 1259.12073 | 245.03398 | 605.9312100000001 | 1224.2688 | -249.36713000000003 | 551.0739100000001 | 1155.10571 | 281.79312000000004 | 548.08496 | 1131.09924 | -281.66373000000004 | 715.24152 | 940.1461800000001 | 269.76904 | 680.81293 | 923.0174000000001 | 323.19675 | 649.44653 | 900.4809 | -236.19994000000003 | 597.42749 | 890.0903300000001 | -290.82834 | 230.53894000000003 | 44.006780000000006 | 193.99550000000002 | 250.70145000000002 | 49.75068 | 81.76305 | 904.1502700000001 | 47.125640000000004 | -130.31641000000002 | 918.01147 | 57.208110000000005 | -28.491270000000004 | 740.3411900000001 | 1580.11731 | 68.04765 | 754.1920200000001 | 1582.02112 | -69.93488 | 752.81946 | 1756.1861600000002 | 5.61364 |
9 | 0.15 | 637.7392600000001 | 1057.85437 | 144.71632000000002 | 660.5299100000001 | 1054.0529800000002 | -115.06461000000002 | 450.49979 | 1054.27356 | 5.88769 | 563.95862 | 737.61774 | 199.39542000000003 | 632.10297 | 663.8740200000001 | 122.62301000000001 | 543.71594 | 617.5484 | 197.32835000000003 | 670.4732700000001 | 752.4571500000001 | -166.39114 | 766.67487 | 741.1527100000001 | -100.99368000000001 | 701.96729 | 649.32263 | -149.93629 | 422.95267 | 488.47433000000007 | 188.63586 | 458.14078000000006 | 406.71533000000005 | 140.77057000000002 | 373.53732 | 415.87027000000006 | 192.30505000000002 | 736.60419 | 441.15430000000003 | -144.48372 | 783.63556 | 396.66898000000003 | -85.91944000000001 | 720.9874900000001 | 397.08990000000006 | -153.14619000000002 | 113.94633 | 251.35576000000003 | 101.89884 | 213.77849 | 146.09308000000001 | 75.11986 | 185.43004000000002 | 136.78993 | 177.14098 | 275.70932000000005 | 34.465340000000005 | 112.73006000000001 | 669.4969500000001 | 74.45683000000001 | -56.78135 | 837.11652 | 77.71363000000001 | -26.307000000000002 | 823.4304800000001 | 70.25358 | -123.87254000000001 | 949.8602300000001 | 57.66205000000001 | -54.74788 | 673.31812 | 1362.2764900000002 | -16.974510000000002 | 573.64575 | 1461.2915 | 188.83058000000003 | 603.4890700000001 | 1465.2187500000002 | -229.00102 | 587.1824300000001 | 1262.35596 | 241.46214000000003 | 610.59033 | 1225.60803 | -252.14532000000003 | 547.8753700000001 | 1159.11731 | 276.40805 | 554.20758 | 1132.0368700000001 | -284.90427 | 704.8026100000001 | 938.80182 | 270.11826 | 669.29614 | 922.3817100000001 | 322.03412000000003 | 654.2907100000001 | 900.93335 | -237.27509 | 605.25018 | 890.51007 | -294.28757 | 217.73599000000002 | 52.185520000000004 | 193.07756 | 243.33290000000002 | 56.695750000000004 | 82.82691000000001 | 886.2240600000001 | 45.35707 | -131.08205 | 899.70392 | 55.34391 | -29.368700000000004 | 740.63611 | 1582.9311500000001 | 64.22716000000001 | 754.6250600000001 | 1584.8737800000001 | -74.39068 | 752.89178 | 1758.74548 | 1.274 |
# Basic GLRM using quadratic loss and no regularization (PCA)
model = H2OGeneralizedLowRankEstimator(k=10, loss="Quadratic", regularization_x="None", regularization_y="None", max_iterations=1000)
model.train(x=list(range(1,gait.ncol)), training_frame=gait)
model.show()
glrm Model Build Progress: [##################################################] 100% Model Details ============= H2OGeneralizedLowRankEstimator : Beta - Generalized Low Rank Model Model Key: GLRM_model_python_1449616108681_4 Model Summary:
number_of_iterations | final_step_size | final_objective_value | |
15.0 | 0.0000336 | 348858.1320175 |
ModelMetricsGLRM: glrm ** Reported on train data. ** MSE: NaN Sum of Squared Error (Numeric): 348858.1373928058 Misclassification Error (Categorical): 0.0 Scoring History:
timestamp | duration | iteration | step_size | objective | |
2015-12-08 15:08:53 | 0.567 sec | 0.0 | 1.05 | 355953.0495218 | |
2015-12-08 15:08:53 | 0.654 sec | 1.0 | 0.7000000 | 355953.0495218 | |
2015-12-08 15:08:53 | 0.696 sec | 2.0 | 0.4666667 | 355953.0495218 | |
2015-12-08 15:08:53 | 0.738 sec | 3.0 | 0.3111111 | 355953.0495218 | |
2015-12-08 15:08:53 | 0.751 sec | 4.0 | 0.1555556 | 355953.0495218 | |
2015-12-08 15:08:53 | 0.764 sec | 5.0 | 0.0518519 | 355953.0495218 | |
2015-12-08 15:08:53 | 0.777 sec | 6.0 | 0.0129630 | 355953.0495218 | |
2015-12-08 15:08:53 | 0.790 sec | 7.0 | 0.0136111 | 348858.1320175 | |
2015-12-08 15:08:53 | 0.804 sec | 8.0 | 0.0090741 | 348858.1320175 | |
2015-12-08 15:08:53 | 0.819 sec | 9.0 | 0.0060494 | 348858.1320175 | |
2015-12-08 15:08:53 | 0.832 sec | 10.0 | 0.0040329 | 348858.1320175 | |
2015-12-08 15:08:53 | 0.845 sec | 11.0 | 0.0020165 | 348858.1320175 | |
2015-12-08 15:08:53 | 0.857 sec | 12.0 | 0.0006722 | 348858.1320175 | |
2015-12-08 15:08:53 | 0.870 sec | 13.0 | 0.0001680 | 348858.1320175 | |
2015-12-08 15:08:53 | 0.883 sec | 14.0 | 0.0000336 | 348858.1320175 |
# Plot objective function value each iteration
model_score = model.score_history()
plt.xlabel("Iteration")
plt.ylabel("Objective")
plt.title("Objective Function Value per Iteration")
print(model_score)
plt.plot(model_score["iteration"], model_score["objective"])
plt.show()
timestamp duration iteration step_size objective 0 2015-12-08 15:08:53 0.567 sec 0 1.050000 355953.049522 1 2015-12-08 15:08:53 0.654 sec 1 0.700000 355953.049522 2 2015-12-08 15:08:53 0.696 sec 2 0.466667 355953.049522 3 2015-12-08 15:08:53 0.738 sec 3 0.311111 355953.049522 4 2015-12-08 15:08:53 0.751 sec 4 0.155556 355953.049522 5 2015-12-08 15:08:53 0.764 sec 5 0.051852 355953.049522 6 2015-12-08 15:08:53 0.777 sec 6 0.012963 355953.049522 7 2015-12-08 15:08:53 0.790 sec 7 0.013611 348858.132018 8 2015-12-08 15:08:53 0.804 sec 8 0.009074 348858.132018 9 2015-12-08 15:08:53 0.819 sec 9 0.006049 348858.132018 10 2015-12-08 15:08:53 0.832 sec 10 0.004033 348858.132018 11 2015-12-08 15:08:53 0.845 sec 11 0.002016 348858.132018 12 2015-12-08 15:08:53 0.857 sec 12 0.000672 348858.132018 13 2015-12-08 15:08:53 0.870 sec 13 0.000168 348858.132018 14 2015-12-08 15:08:53 0.883 sec 14 0.000034 348858.132018
/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pandas/__init__.py:7: DeprecationWarning: bad escape \s from pandas import hashtable, tslib, lib
# Archetype to feature mapping (Y)
gait_y = model._model_json["output"]["archetypes"]
print(gait_y)
gait_y_np = np.array(model.archetypes())
x_coords = range(0, gait_y_np.shape[1], 3)
y_coords = range(1, gait_y_np.shape[1], 3)
# Plot archetypes on x- vs. y-coordinate features
for k in range(gait_y_np.shape[0]):
x_pts = gait_y_np[k, x_coords]
y_pts = gait_y_np[k, y_coords]
plt.plot(x_pts, y_pts, 'bo')
# Add feature labels to each point
feat_names = [nam[:-1] for nam in gait_y.col_header[1::3]]
for i in range(len(feat_names)):
plt.annotate(feat_names[i], xy = [x_pts[i], y_pts[i]])
plt.title("Feature Weights of Archetype " + str(k+1))
plt.xlabel("X-Coordinate Weight")
plt.ylabel("Y-Coordinate Weight")
plt.show()
Archetypes:
rasisx | rasisy | rasisz | lasisx | lasisy | lasisz | vsacralx | vsacraly | vsacralz | rthighupperx | rthighuppery | rthighupperz | rthighfrontx | rthighfronty | rthighfrontz | rthighrearx | rthighreary | rthighrearz | lthighupperx | lthighuppery | lthighupperz | lthighfrontx | lthighfronty | lthighfrontz | lthighrearx | lthighreary | lthighrearz | rshankupperx | rshankuppery | rshankupperz | rshankfrontx | rshankfronty | rshankfrontz | rshankrearx | rshankreary | rshankrearz | lshankupperx | lshankuppery | lshankupperz | lshankfrontx | lshankfronty | lshankfrontz | lshankrearx | lshankreary | lshankrearz | rheelx | rheely | rheelz | rmidfootsupx | rmidfootsupy | rmidfootsupz | rmidfootlatx | rmidfootlaty | rmidfootlatz | rtoetipx | rtoetipy | rtoetipz | lheelx | lheely | lheelz | lmidfootsupx | lmidfootsupy | lmidfootsupz | lmidfootlatx | lmidfootlaty | lmidfootlatz | ltoetipx | ltoetipy | ltoetipz | sternumx | sternumy | sternumz | racromiumx | racromiumy | racromiumz | lacromiumx | lacromiumy | lacromiumz | rbicepx | rbicepy | rbicepz | lbicepx | lbicepy | lbicepz | relbowx | relbowy | relbowz | lelbowx | lelbowy | lelbowz | rwristmedx | rwristmedy | rwristmedz | rwristlatx | rwristlaty | rwristlatz | lwristmedx | lwristmedy | lwristmedz | lwristlatx | lwristlaty | lwristlatz | rtoelatx | rtoelaty | rtoelatz | rtoemedx | rtoemedy | rtoemedz | ltoelatx | ltoelaty | ltoelatz | ltoemedx | ltoemedy | ltoemedz | rtemplex | rtempley | rtemplez | ltemplex | ltempley | ltemplez | topheadx | topheady | topheadz | |
Arch1 | 621.6713065 | 1048.2620315 | 133.4901539 | 615.5068014 | 1033.0559144 | -127.3249604 | 422.3010187 | 1039.3311698 | 23.9916929 | 677.9077713 | 745.2359858 | 183.6165917 | 751.5407605 | 708.8190857 | 85.8669938 | 714.9199592 | 628.8919945 | 172.9792022 | 491.6974331 | 748.0352586 | -176.5444658 | 577.9833225 | 688.2070783 | -125.9739089 | 464.6331549 | 642.6093090 | -161.5115018 | 708.9182420 | 452.2102315 | 164.2361196 | 790.1661435 | 432.4031850 | 107.5173424 | 740.1051821 | 371.0316842 | 171.6187504 | 367.8792640 | 449.5535716 | -160.2471431 | 384.7401405 | 380.2187774 | -109.9882912 | 327.5245402 | 423.9096831 | -164.9452021 | 719.4995670 | 63.5177715 | 91.9592505 | 860.1789686 | 90.8701526 | 64.3472298 | 851.4034715 | 74.1125331 | 170.5560589 | 1003.8905124 | 86.4455111 | 110.6376011 | 93.6831750 | 172.1374843 | -65.8219666 | 238.6338214 | 96.1832044 | -39.2259827 | 216.0619482 | 83.0190708 | -130.8644653 | 314.1032939 | 40.2095284 | -54.8556928 | 645.1744708 | 1349.6825731 | 14.1055471 | 533.6028032 | 1431.4791643 | 221.3034325 | 588.1128270 | 1467.8999934 | -192.0455374 | 518.2104710 | 1232.1980946 | 261.1467572 | 624.5078043 | 1233.5631029 | -225.2898889 | 462.7858752 | 1133.3782844 | 281.9244445 | 589.2701581 | 1132.8335881 | -269.5169838 | 593.6910401 | 897.8267756 | 286.0961668 | 546.6157188 | 883.6894409 | 329.4463136 | 743.9148675 | 941.8812630 | -206.0179552 | 709.1389759 | 917.8794644 | -267.8624985 | 939.9299237 | 61.4480957 | 188.3447281 | 950.6636467 | 73.2870745 | 78.9473380 | 250.9257316 | 40.5592593 | -133.0426758 | 277.9837237 | 47.1456598 | -32.3847692 | 702.5834001 | 1581.7807945 | 104.8768478 | 716.7306585 | 1588.8031621 | -33.1485482 | 689.1071272 | 1756.9899919 | 46.0475382 |
Arch2 | 619.7837190 | 1078.3025423 | 174.1246591 | 619.0686055 | 1071.1565661 | -86.6594762 | 420.5943860 | 1071.6648735 | 52.4754864 | 592.4901735 | 753.8104726 | 214.3138913 | 653.3599472 | 695.7736452 | 118.6715687 | 587.9538695 | 631.4165123 | 201.1934359 | 642.4117382 | 772.3886659 | -152.7867810 | 747.3968327 | 763.9965922 | -102.5076994 | 680.3423393 | 668.8320100 | -146.9432304 | 520.7184940 | 458.2580642 | 184.2508636 | 593.7726010 | 418.5046420 | 129.4717148 | 527.4786262 | 371.5722063 | 187.4807169 | 659.1621641 | 487.2936582 | -148.0180332 | 674.4892439 | 418.6292286 | -97.9492914 | 617.4992227 | 463.7163203 | -151.1343456 | 424.3607925 | 71.1733765 | 93.9099721 | 568.5338209 | 78.1706102 | 64.1311853 | 558.0237021 | 62.8728555 | 171.0553316 | 710.9910469 | 49.0139852 | 109.7308557 | 394.7735358 | 235.1015549 | -44.7554721 | 527.7245407 | 138.5177442 | -33.5788808 | 500.2665038 | 142.2792804 | -128.2083086 | 596.7259826 | 57.1780248 | -70.2207662 | 644.0463349 | 1387.9225402 | 40.4364154 | 549.9167323 | 1469.2528131 | 257.0977823 | 563.6440283 | 1504.4372472 | -161.6916085 | 575.1457553 | 1265.6394242 | 298.9821741 | 562.7712069 | 1266.9511341 | -201.6822772 | 543.8938066 | 1158.8944999 | 328.5499905 | 502.9337211 | 1177.6497572 | -239.5710167 | 724.3891231 | 961.0852495 | 301.7202647 | 690.0626243 | 937.0264191 | 352.1710792 | 598.0640204 | 942.1442275 | -207.6630360 | 551.0323846 | 936.8410219 | -266.3046487 | 645.7729922 | 38.7052582 | 187.6290778 | 655.0319794 | 46.5500361 | 77.5652145 | 533.3939023 | 86.2905392 | -140.8975776 | 561.7801896 | 84.4504972 | -41.3702455 | 696.3435023 | 1625.0577531 | 134.1318590 | 705.1090640 | 1633.7911986 | -4.8814131 | 666.3050662 | 1798.1193229 | 76.8710278 |
Arch3 | 595.9776744 | 1049.9249765 | 174.1063881 | 617.5634501 | 1041.7381754 | -86.3426154 | 408.1968091 | 1047.8344565 | 33.9566862 | 493.8692135 | 736.2545019 | 212.7999484 | 546.5588162 | 661.0549980 | 125.8358494 | 456.7280570 | 620.9456914 | 200.7689936 | 637.2409710 | 741.8863756 | -139.0264599 | 731.3591086 | 734.7690807 | -69.6276858 | 674.9193106 | 640.1892492 | -127.1252810 | 335.7641013 | 470.8352649 | 185.4463065 | 394.6220237 | 408.9221268 | 134.2173987 | 315.6124244 | 387.0615783 | 188.6258103 | 732.0332836 | 443.0550835 | -120.4830289 | 794.3772653 | 412.0846671 | -69.6143299 | 726.5364676 | 396.3163087 | -128.4673522 | 128.4661834 | 119.6577283 | 95.4912643 | 268.8610678 | 91.7200929 | 65.2862110 | 253.0913511 | 76.0728257 | 173.0383187 | 392.5613941 | 43.4195442 | 109.6702038 | 780.1183748 | 67.1312030 | -44.2806107 | 935.9278691 | 120.3363830 | -15.2861250 | 922.1590010 | 108.6670476 | -112.3523955 | 1048.0550820 | 135.2853275 | -45.9135119 | 635.0809745 | 1354.6695830 | 21.0897024 | 539.7251940 | 1447.3163803 | 230.8733124 | 562.2446398 | 1462.1349101 | -187.4699240 | 571.8164303 | 1247.8136688 | 281.6547390 | 550.6909788 | 1225.8265802 | -219.0900397 | 547.5265970 | 1141.5428455 | 318.3102189 | 486.8925341 | 1137.2541794 | -253.8048909 | 750.8387610 | 971.3764162 | 276.2963386 | 726.9595739 | 943.8570883 | 331.2945412 | 586.2897873 | 905.0099928 | -212.8938901 | 537.7181689 | 895.9252275 | -270.1275195 | 327.4378160 | 35.4985929 | 190.9787459 | 341.7731001 | 39.8148166 | 79.7959135 | 988.5808923 | 105.6294454 | -121.6164785 | 1002.4781761 | 117.2968037 | -19.9810693 | 692.2187230 | 1594.0396681 | 103.7081497 | 701.9395260 | 1597.5203704 | -35.3286804 | 668.6465183 | 1764.8471563 | 40.5665033 |
Arch4 | 600.9594027 | 1057.7990932 | 118.1058774 | 605.3339165 | 1042.2068270 | -142.4636631 | 405.3932291 | 1052.4555789 | -2.4098461 | 647.4189804 | 750.1105988 | 174.2624235 | 721.1601710 | 708.4328639 | 79.1556549 | 683.5102025 | 633.9423045 | 172.1508775 | 481.2664588 | 757.1188042 | -185.6352465 | 564.0463207 | 700.0051080 | -125.1630820 | 452.6043856 | 651.6132001 | -164.1249200 | 681.8117427 | 456.0963981 | 162.3541268 | 770.5018587 | 448.3466124 | 117.6853928 | 723.1357129 | 380.6554155 | 174.5053708 | 375.0848534 | 445.8035254 | -153.7986203 | 412.9171897 | 386.6951114 | -102.7748625 | 344.4331708 | 409.3052480 | -158.6521281 | 769.1585181 | 62.2273506 | 95.5941002 | 899.4541724 | 124.6938355 | 79.8744025 | 889.9804230 | 100.8377357 | 183.6875439 | 1037.1292155 | 149.4638459 | 135.9538853 | 199.3818953 | 92.4269904 | -53.8801098 | 368.8793473 | 76.6879428 | -33.8535905 | 352.3423051 | 66.0845674 | -123.5875318 | 475.8175147 | 46.2186211 | -54.1968137 | 634.8986612 | 1357.2063145 | -16.6710540 | 523.9836011 | 1450.0565995 | 185.5827328 | 583.7250399 | 1470.7048475 | -227.1329363 | 499.6626932 | 1254.0460960 | 232.3542530 | 628.4893483 | 1237.8459620 | -251.9294998 | 438.2643363 | 1159.4956991 | 256.3333075 | 600.9371175 | 1132.7358762 | -293.0281225 | 557.8786562 | 917.7756397 | 268.8450987 | 509.9673425 | 907.1905807 | 312.6486220 | 787.5745297 | 983.9596069 | -205.3076461 | 759.9164126 | 946.1289960 | -264.7758445 | 979.0691087 | 109.5955275 | 207.2209488 | 992.0034563 | 129.1428638 | 99.4579938 | 409.2220332 | 39.0135908 | -131.2702147 | 428.0922743 | 48.6543012 | -30.1699637 | 700.4115429 | 1585.0392506 | 69.8483815 | 717.5766035 | 1590.6042601 | -67.9432586 | 697.9019273 | 1761.3583009 | 9.8290693 |
Arch5 | 612.0558688 | 1067.6274113 | 145.2645257 | 633.1285208 | 1061.1246054 | -114.3924546 | 423.6708073 | 1059.4046016 | 8.5125347 | 579.7560686 | 745.1525038 | 205.7238263 | 657.6489893 | 681.7305181 | 131.5338894 | 577.9958696 | 624.5273094 | 206.8049977 | 630.3653943 | 755.7622130 | -162.5766154 | 723.7054588 | 738.6956878 | -95.8144508 | 651.5139791 | 650.3337009 | -143.5309175 | 472.8939467 | 502.1601092 | 194.4571509 | 505.8995569 | 417.1731723 | 151.2023278 | 419.0118501 | 433.6938975 | 197.9140158 | 670.2843224 | 439.5041432 | -134.6750454 | 716.7711785 | 393.0040550 | -76.6976937 | 651.8995109 | 395.8185841 | -141.8222862 | 158.1670484 | 288.3227305 | 89.4387317 | 249.9863550 | 173.3352183 | 78.5476333 | 211.1734880 | 173.8813158 | 178.1043399 | 296.2637482 | 49.6394098 | 132.2695853 | 589.2507741 | 74.2557095 | -42.1712996 | 757.0945808 | 76.0357577 | -11.2090608 | 743.8670417 | 69.1300749 | -108.8661799 | 870.6557897 | 54.6958381 | -38.8626583 | 641.6475276 | 1371.2305177 | -11.5831722 | 536.4073165 | 1468.3057319 | 191.4537569 | 578.1200492 | 1471.9758001 | -225.7652360 | 545.7472809 | 1270.4406118 | 247.7316136 | 597.7470582 | 1232.6703870 | -245.2282013 | 503.8542750 | 1169.2446667 | 282.7663918 | 549.2805546 | 1136.4143127 | -279.7150751 | 648.8491945 | 942.0633273 | 287.3337626 | 608.7628186 | 930.1361040 | 338.2976184 | 651.5150281 | 908.3090137 | -228.9626614 | 607.2658598 | 898.2079885 | -288.9091899 | 233.6959751 | 88.3943274 | 200.5556129 | 269.5839867 | 82.4544810 | 96.0622232 | 806.9488340 | 44.7398774 | -115.7886542 | 820.3431964 | 53.4904394 | -13.6862102 | 703.8436903 | 1595.5985498 | 68.5518637 | 719.4750430 | 1597.3926888 | -69.6845632 | 712.4027894 | 1772.9922895 | 4.2459793 |
Arch6 | 596.9280720 | 1068.1999102 | 179.3913745 | 607.4131437 | 1063.0127648 | -81.9867437 | 403.4598610 | 1069.3691771 | 49.4930995 | 521.7369015 | 748.8442395 | 215.7914006 | 577.0360129 | 681.3541114 | 122.9888758 | 497.2985440 | 629.5759420 | 201.9741641 | 635.3188706 | 766.9933849 | -141.8694915 | 731.0292483 | 760.9645448 | -76.9107933 | 675.3046699 | 665.0577434 | -134.3635381 | 398.5647680 | 465.2073121 | 184.1062834 | 469.3783969 | 416.5999611 | 132.4518558 | 395.3125353 | 377.7384969 | 187.0950989 | 711.1729771 | 467.5845879 | -129.0558624 | 770.6533018 | 424.4422887 | -84.7022772 | 694.7567015 | 422.5424043 | -135.0339470 | 262.8863623 | 79.5783868 | 91.0453647 | 408.1361938 | 79.1916915 | 65.0839989 | 394.8795375 | 65.2042666 | 171.6201171 | 548.9524440 | 45.4831998 | 114.5052980 | 691.9624273 | 85.7475149 | -40.6094711 | 857.6303764 | 112.5363379 | -37.3191724 | 831.1999594 | 104.0932497 | -130.8071256 | 965.7770341 | 106.8871553 | -80.0208940 | 634.1412775 | 1375.9325379 | 37.4279446 | 544.4652134 | 1464.0062923 | 252.6852154 | 554.1732823 | 1490.7869711 | -165.3759646 | 577.1079765 | 1263.1924487 | 299.4031852 | 534.8646714 | 1256.1256619 | -203.4569272 | 553.9537133 | 1156.1984573 | 334.1033874 | 466.7334420 | 1170.4955606 | -238.0359556 | 762.4997332 | 993.7290417 | 287.0150230 | 739.2635894 | 962.9993826 | 339.9692293 | 567.3886134 | 937.9058127 | -203.7570781 | 516.6694494 | 929.1235177 | -259.0472101 | 479.9800771 | 37.9926658 | 191.2204495 | 491.6756355 | 43.6272157 | 82.2930902 | 894.7809736 | 89.3715874 | -147.6578933 | 921.8889131 | 97.9719761 | -48.5811334 | 697.1294649 | 1608.1981399 | 126.2225890 | 705.0388322 | 1613.9960282 | -12.7587010 | 681.1741342 | 1781.1227423 | 66.6517677 |
Arch7 | 633.5506925 | 1081.0029707 | 122.2919535 | 650.1340682 | 1067.2734656 | -137.5873055 | 443.7388613 | 1070.5992233 | -9.9635859 | 644.8843318 | 761.2285818 | 188.3046283 | 728.6625879 | 708.7071096 | 110.9048041 | 661.8617108 | 640.6371215 | 189.7119717 | 617.2613686 | 762.3967952 | -183.8518317 | 707.6250007 | 733.1359196 | -117.6743817 | 623.6859361 | 654.0748040 | -163.9239643 | 574.4552022 | 519.0006635 | 176.7541510 | 609.1740659 | 435.0213249 | 134.7022759 | 522.3844279 | 449.5399319 | 180.5721434 | 620.0965933 | 441.2243109 | -155.0480936 | 664.8246032 | 391.6623765 | -98.6874173 | 598.5231764 | 398.3904748 | -160.9867504 | 267.3321352 | 298.5513600 | 70.0051270 | 362.8562877 | 186.6975343 | 65.6315493 | 324.1057257 | 192.5927327 | 164.2704133 | 414.3374852 | 62.0532586 | 127.0075965 | 518.1834501 | 77.1059709 | -59.3632314 | 688.4247011 | 76.7470696 | -28.4987345 | 672.7252664 | 69.1373539 | -126.5023826 | 800.2385414 | 51.1538216 | -58.1569799 | 665.7149697 | 1382.0530775 | -30.4903831 | 557.5104756 | 1481.1869938 | 170.8242786 | 608.0220178 | 1484.4734625 | -245.5341945 | 554.3847563 | 1282.6227030 | 224.9531514 | 637.6437436 | 1244.5483944 | -261.1803517 | 504.4870853 | 1184.1079627 | 255.9699930 | 594.3389246 | 1144.8878957 | -295.3740076 | 629.0489267 | 944.7414981 | 269.9058262 | 583.8918461 | 935.5446399 | 316.9192180 | 711.6889669 | 925.2018431 | -238.5165701 | 668.8072734 | 910.6968110 | -298.8913369 | 350.7195106 | 108.6251060 | 190.4268820 | 386.1106902 | 99.3618322 | 87.9851981 | 735.5653129 | 42.8873398 | -134.0914765 | 750.3111135 | 52.2629130 | -32.4959455 | 730.5704036 | 1604.7886012 | 47.0021690 | 745.7402936 | 1605.2923007 | -91.3282526 | 740.0369273 | 1779.3820981 | -17.7940820 |
Arch8 | 627.8222853 | 1055.8696242 | 154.9743032 | 650.7361298 | 1048.4046456 | -105.2306011 | 440.8129487 | 1053.2869837 | 13.5710207 | 537.9151826 | 740.2244790 | 204.0480227 | 598.7795704 | 664.7330315 | 122.3976568 | 508.1639774 | 622.8395425 | 197.4379109 | 665.9398463 | 748.6279076 | -157.4759173 | 762.6125520 | 740.6189277 | -91.1481668 | 700.8799209 | 646.1558178 | -142.2581797 | 385.4431002 | 483.2066003 | 187.2127885 | 432.0225682 | 409.8823726 | 138.0401505 | 349.2592729 | 404.6825701 | 191.4213588 | 745.4047589 | 442.7090846 | -135.9730966 | 801.8029885 | 402.5426933 | -81.8172714 | 734.0389096 | 397.0547184 | -144.6488665 | 117.7318986 | 187.3152548 | 101.6681663 | 239.9328180 | 119.1687100 | 72.8554150 | 218.9391314 | 105.3287289 | 177.8965683 | 334.4176829 | 39.1937120 | 114.1180733 | 726.6787168 | 70.7788058 | -52.8348666 | 891.2449570 | 89.7334878 | -25.8363192 | 877.1441393 | 81.8214760 | -122.3518706 | 1004.3138074 | 83.6834831 | -54.1974259 | 667.5675596 | 1357.1225155 | -3.2467666 | 571.3358082 | 1455.7829805 | 203.9436193 | 600.7411929 | 1465.1510301 | -214.0527878 | 590.1860028 | 1256.5515610 | 256.1717284 | 595.0569118 | 1227.2589665 | -241.6618259 | 556.4730750 | 1152.3790141 | 292.5515044 | 535.2976526 | 1136.3001233 | -276.0605937 | 734.3634677 | 953.3360007 | 270.2471526 | 703.3478313 | 931.9927679 | 323.6573253 | 636.7290320 | 905.8273848 | -231.4733080 | 587.8766402 | 895.5135382 | -288.2740464 | 273.1099045 | 42.5434668 | 194.4393038 | 293.2440754 | 46.7196415 | 83.7429432 | 941.9302802 | 65.5984737 | -130.9488409 | 955.8678161 | 75.3804224 | -29.0303593 | 740.8861639 | 1574.6584727 | 79.3309282 | 754.1936986 | 1576.2404381 | -59.0664394 | 759.7645501 | 1751.0476650 | 17.3802296 |
Arch9 | 633.1252507 | 1067.3805142 | 154.9123525 | 623.3379410 | 1050.9882546 | -105.0278463 | 431.0042184 | 1055.1601191 | 44.2471095 | 660.5834017 | 752.1603608 | 204.7280426 | 729.3004805 | 707.6518424 | 108.5242166 | 681.7111387 | 632.3270962 | 192.8883962 | 573.3213422 | 748.1157918 | -166.8228703 | 674.7325806 | 712.7890973 | -123.2748814 | 579.9445434 | 639.1262960 | -160.1750222 | 647.7587082 | 457.2279862 | 180.0257662 | 721.9192547 | 422.9996539 | 122.6784157 | 662.5721033 | 371.1956235 | 184.6972994 | 509.7593433 | 465.4313549 | -165.4279270 | 505.6867923 | 394.2412621 | -113.4254765 | 462.2109942 | 453.6737498 | -166.7543930 | 579.2183638 | 70.2533360 | 95.2982785 | 724.0008991 | 78.9525417 | 67.1710863 | 712.6580195 | 64.1532517 | 173.9951418 | 866.5361181 | 50.8161915 | 114.6423817 | 178.5865074 | 304.0856727 | -57.1864435 | 270.0452765 | 153.8046935 | -41.6603586 | 239.4426665 | 163.7435381 | -132.8002904 | 301.4649807 | 55.7393915 | -68.0081168 | 650.2164798 | 1369.4456518 | 35.6481340 | 549.9532368 | 1447.4416331 | 249.5125975 | 583.1913672 | 1491.6765549 | -165.5061589 | 553.6532371 | 1244.9031728 | 288.2394683 | 603.7167095 | 1254.7281287 | -204.2410885 | 509.1082122 | 1141.4283075 | 311.8787361 | 556.2820599 | 1160.8872010 | -247.2341551 | 656.2002597 | 915.2766524 | 304.9937660 | 612.6332028 | 898.0372366 | 351.3154095 | 657.6457522 | 929.1769727 | -211.0505758 | 616.6545914 | 924.0798200 | -274.1841429 | 799.8146089 | 40.5199502 | 190.7176040 | 811.1587988 | 48.4309039 | 81.6528528 | 254.0959961 | 100.5478718 | -141.8880420 | 280.3103819 | 95.0801262 | -41.9476683 | 710.0952033 | 1594.9198593 | 131.4439267 | 721.9038517 | 1603.6732747 | -6.5177796 | 703.9460571 | 1771.8362273 | 76.2633474 |
Arch10 | 608.2013546 | 1085.8013949 | 116.4198743 | 618.6111840 | 1063.4379926 | -143.4721423 | 414.4408713 | 1071.5402852 | -8.1174399 | 667.2975322 | 781.5744807 | 185.3741252 | 752.9110124 | 743.1109874 | 100.1055224 | 706.5266357 | 665.5626996 | 185.2017125 | 540.3928455 | 763.1608472 | -184.1777111 | 628.3088730 | 720.8094601 | -118.2282760 | 530.2149688 | 654.0645272 | -161.1165638 | 653.4750476 | 514.1412056 | 172.6658681 | 718.4417579 | 453.7627998 | 131.1174154 | 637.3456190 | 431.1420627 | 180.7623767 | 494.3794579 | 440.5141437 | -149.1108978 | 537.8895407 | 388.5757874 | -94.6942494 | 470.6163481 | 399.2326565 | -154.4257263 | 476.1777329 | 176.6999440 | 80.6064944 | 611.4726730 | 134.7925404 | 75.5890414 | 579.5793930 | 121.7153985 | 175.5716844 | 720.9376507 | 60.0739552 | 137.4081291 | 370.6509749 | 79.4749664 | -50.7524998 | 537.7524056 | 74.5019814 | -26.0313634 | 525.1594695 | 63.3884851 | -118.1176265 | 649.4551510 | 47.4266524 | -48.8902521 | 639.2442383 | 1383.2628106 | -25.5174758 | 524.8745519 | 1478.5627288 | 173.9827704 | 587.4191328 | 1490.4469319 | -239.8097346 | 506.5916970 | 1282.2741687 | 226.0017674 | 633.3427481 | 1254.7386370 | -257.1330176 | 448.7746848 | 1186.9247805 | 252.7774664 | 602.3132112 | 1150.1572030 | -295.2345935 | 565.5432261 | 944.2790059 | 271.8645987 | 517.1708213 | 935.6101795 | 315.7561557 | 761.4457789 | 967.6713723 | -218.0948446 | 727.8694088 | 939.7565385 | -279.0703260 | 645.5679549 | 67.2023572 | 203.2929667 | 677.5968525 | 75.3217099 | 98.5962080 | 585.1535668 | 40.4237777 | -125.6992695 | 599.4329093 | 49.2400454 | -24.1058127 | 700.8343017 | 1610.3954555 | 55.4276538 | 717.9046307 | 1613.7742882 | -82.5784158 | 701.7854265 | 1786.6759211 | -7.4517057 |
# Projection into archetype space (X)
x_key = model._model_json["output"]["representation_name"]
gait_x = h2o.get_frame(x_key)
gait_x.show()
time_np = np.array(h2o.as_list(gait["Time"]))
gait_x_np = np.array(h2o.as_list(gait_x))
# Plot archetypes over time
lines = []
for i in range(gait_x_np.shape[1]):
lines += plt.plot(time_np, gait_x_np[:,i], '-')
plt.title("Archetypes over Time")
plt.xlabel("Time")
plt.ylabel("Archetypal Projection")
plt.legend(lines, gait_x.col_names)
plt.show()
Arch1 | Arch2 | Arch3 | Arch4 | Arch5 | Arch6 | Arch7 | Arch8 | Arch9 | Arch10 |
---|---|---|---|---|---|---|---|---|---|
-0.362422 | -0.570615 | 0.366496 | 0.160492 | -0.496611 | 0.545266 | 0.150324 | 0.685559 | 0.492391 | 0.0320439 |
-0.268436 | -0.375445 | 0.323127 | 0.129955 | -0.391362 | 0.353488 | 0.0492167 | 0.8056 | 0.332023 | 0.0441441 |
-0.157574 | -0.19305 | 0.264606 | 0.088763 | -0.273069 | 0.173273 | -0.0631878 | 0.929926 | 0.169373 | 0.0625199 |
-0.0566838 | -0.0254627 | 0.206427 | 0.0448357 | -0.171361 | 0.0163901 | -0.139129 | 1.02823 | 0.0227587 | 0.0743581 |
0.0149536 | 0.126614 | 0.143023 | 0.00511055 | -0.0848319 | -0.120307 | -0.188121 | 1.1071 | -0.0968295 | 0.0928464 |
0.0835833 | 0.21865 | 0.0791339 | -0.0338994 | 0.00405319 | -0.207306 | -0.202243 | 1.1465 | -0.177828 | 0.0886814 |
0.12449 | 0.296898 | 0.00377988 | -0.0662024 | 0.0645689 | -0.258014 | -0.1609 | 1.15533 | -0.235635 | 0.0740767 |
0.139783 | 0.322037 | -0.0557214 | -0.0879325 | 0.11846 | -0.275535 | -0.0836994 | 1.11837 | -0.249453 | 0.0517003 |
0.129183 | 0.297413 | -0.109574 | -0.0887692 | 0.176341 | -0.255597 | 0.0155158 | 1.04285 | -0.226476 | 0.0170711 |
0.115742 | 0.232302 | -0.144512 | -0.0850974 | 0.224998 | -0.202661 | 0.153602 | 0.919357 | -0.181238 | -0.0343747 |
# Reconstruct data from X and Y
pred = model.predict(gait)
pred.head()
reconstr_R.ASIS.X | reconstr_R.ASIS.Y | reconstr_R.ASIS.Z | reconstr_L.ASIS.X | reconstr_L.ASIS.Y | reconstr_L.ASIS.Z | reconstr_V.Sacral.X | reconstr_V.Sacral.Y | reconstr_V.Sacral.Z | reconstr_R.Thigh.Upper.X | reconstr_R.Thigh.Upper.Y | reconstr_R.Thigh.Upper.Z | reconstr_R.Thigh.Front.X | reconstr_R.Thigh.Front.Y | reconstr_R.Thigh.Front.Z | reconstr_R.Thigh.Rear.X | reconstr_R.Thigh.Rear.Y | reconstr_R.Thigh.Rear.Z | reconstr_L.Thigh.Upper.X | reconstr_L.Thigh.Upper.Y | reconstr_L.Thigh.Upper.Z | reconstr_L.Thigh.Front.X | reconstr_L.Thigh.Front.Y | reconstr_L.Thigh.Front.Z | reconstr_L.Thigh.Rear.X | reconstr_L.Thigh.Rear.Y | reconstr_L.Thigh.Rear.Z | reconstr_R.Shank.Upper.X | reconstr_R.Shank.Upper.Y | reconstr_R.Shank.Upper.Z | reconstr_R.Shank.Front.X | reconstr_R.Shank.Front.Y | reconstr_R.Shank.Front.Z | reconstr_R.Shank.Rear.X | reconstr_R.Shank.Rear.Y | reconstr_R.Shank.Rear.Z | reconstr_L.Shank.Upper.X | reconstr_L.Shank.Upper.Y | reconstr_L.Shank.Upper.Z | reconstr_L.Shank.Front.X | reconstr_L.Shank.Front.Y | reconstr_L.Shank.Front.Z | reconstr_L.Shank.Rear.X | reconstr_L.Shank.Rear.Y | reconstr_L.Shank.Rear.Z | reconstr_R.Heel.X | reconstr_R.Heel.Y | reconstr_R.Heel.Z | reconstr_R.Midfoot.Sup.X | reconstr_R.Midfoot.Sup.Y | reconstr_R.Midfoot.Sup.Z | reconstr_R.Midfoot.Lat.X | reconstr_R.Midfoot.Lat.Y | reconstr_R.Midfoot.Lat.Z | reconstr_R.Toe.Tip.X | reconstr_R.Toe.Tip.Y | reconstr_R.Toe.Tip.Z | reconstr_L.Heel.X | reconstr_L.Heel.Y | reconstr_L.Heel.Z | reconstr_L.Midfoot.Sup.X | reconstr_L.Midfoot.Sup.Y | reconstr_L.Midfoot.Sup.Z | reconstr_L.Midfoot.Lat.X | reconstr_L.Midfoot.Lat.Y | reconstr_L.Midfoot.Lat.Z | reconstr_L.Toe.Tip.X | reconstr_L.Toe.Tip.Y | reconstr_L.Toe.Tip.Z | reconstr_Sternum.X | reconstr_Sternum.Y | reconstr_Sternum.Z | reconstr_R.Acromium.X | reconstr_R.Acromium.Y | reconstr_R.Acromium.Z | reconstr_L.Acromium.X | reconstr_L.Acromium.Y | reconstr_L.Acromium.Z | reconstr_R.Bicep.X | reconstr_R.Bicep.Y | reconstr_R.Bicep.Z | reconstr_L.Bicep.X | reconstr_L.Bicep.Y | reconstr_L.Bicep.Z | reconstr_R.Elbow.X | reconstr_R.Elbow.Y | reconstr_R.Elbow.Z | reconstr_L.Elbow.X | reconstr_L.Elbow.Y | reconstr_L.Elbow.Z | reconstr_R.Wrist.Med.X | reconstr_R.Wrist.Med.Y | reconstr_R.Wrist.Med.Z | reconstr_R.Wrist.Lat.X | reconstr_R.Wrist.Lat.Y | reconstr_R.Wrist.Lat.Z | reconstr_L.Wrist.Med.X | reconstr_L.Wrist.Med.Y | reconstr_L.Wrist.Med.Z | reconstr_L.Wrist.Lat.X | reconstr_L.Wrist.Lat.Y | reconstr_L.Wrist.Lat.Z | reconstr_R.Toe.Lat.X | reconstr_R.Toe.Lat.Y | reconstr_R.Toe.Lat.Z | reconstr_R.Toe.Med.X | reconstr_R.Toe.Med.Y | reconstr_R.Toe.Med.Z | reconstr_L.Toe.Lat.X | reconstr_L.Toe.Lat.Y | reconstr_L.Toe.Lat.Z | reconstr_L.Toe.Med.X | reconstr_L.Toe.Med.Y | reconstr_L.Toe.Med.Z | reconstr_R.Temple.X | reconstr_R.Temple.Y | reconstr_R.Temple.Z | reconstr_L.Temple.X | reconstr_L.Temple.Y | reconstr_L.Temple.Z | reconstr_Top.Head.X | reconstr_Top.Head.Y | reconstr_Top.Head.Z |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
614.319 | 1058.33 | 165.338 | 634.543 | 1046.85 | -95.9465 | 425.62 | 1058.65 | 25.512 | 510.068 | 745.564 | 207.56 | 562.164 | 669.528 | 118.953 | 472.788 | 630.211 | 195.927 | 648.33 | 745.119 | -149.839 | 743.375 | 736.364 | -80.4767 | 684.858 | 641.294 | -138.733 | 351.392 | 475.557 | 182.272 | 414.037 | 415.506 | 131.856 | 334.607 | 388.644 | 186.8 | 745.015 | 442.756 | -132.549 | 813.202 | 414.092 | -84.1604 | 741.45 | 394.801 | -140.147 | 153.771 | 103.965 | 98.3823 | 300.246 | 86.1461 | 68.621 | 287.346 | 67.1792 | 176.56 | 434.31 | 43.896 | 114.23 | 819.256 | 65.1668 | -51.6123 | 970.945 | 117.287 | -35.7846 | 951.751 | 110.729 | -129.757 | 1078.42 | 134.944 | -70.8595 | 658.824 | 1359.23 | 12.9543 | 568.317 | 1455.85 | 224.119 | 589.271 | 1473.17 | -194.185 | 594.207 | 1255.99 | 274.101 | 571.387 | 1237.15 | -226.891 | 567.151 | 1150.28 | 310.604 | 505.589 | 1149.49 | -261.403 | 768.98 | 980.024 | 267.093 | 745.371 | 951.478 | 321.244 | 607.943 | 919.576 | -220.662 | 558.265 | 909.472 | -276.74 | 368.121 | 30.6619 | 194.941 | 380.568 | 38.262 | 83.5026 | 1020.03 | 109.772 | -143.857 | 1035.41 | 120.307 | -42.7285 | 734.56 | 1580.23 | 97.4022 | 745.063 | 1582.72 | -41.4815 | 745.96 | 1755 | 36.6798 |
616.588 | 1056.4 | 164.401 | 637.999 | 1046.08 | -96.662 | 428.478 | 1056.27 | 23.4562 | 510.699 | 743.432 | 207.229 | 563.502 | 666.369 | 119.854 | 472.82 | 627.898 | 196.347 | 654.222 | 745.371 | -150.247 | 749.995 | 737.916 | -81.5209 | 691.767 | 642.32 | -138.17 | 349.818 | 475.212 | 183.648 | 409.963 | 413.286 | 133.192 | 330.199 | 389.645 | 188.25 | 750.213 | 443.092 | -131.922 | 816.031 | 412.016 | -82.0848 | 745.266 | 395.543 | -139.974 | 141.366 | 114.992 | 101.065 | 284.371 | 89.6121 | 69.9525 | 270.856 | 70.1892 | 177.661 | 412.645 | 42.6499 | 113.233 | 805.187 | 65.7636 | -51.4019 | 960.305 | 111.47 | -32.2049 | 943.06 | 104.222 | -126.833 | 1070.01 | 124.371 | -65.1291 | 660.436 | 1357.51 | 10.0369 | 568.799 | 1454.63 | 220.409 | 591.132 | 1470.06 | -198.001 | 594.005 | 1254.9 | 270.858 | 574.988 | 1233.68 | -229.984 | 566.042 | 1149.32 | 307.56 | 510.209 | 1145.42 | -264.523 | 764.781 | 973.97 | 267.405 | 740.028 | 946.581 | 321.722 | 613.092 | 916.302 | -222.537 | 563.626 | 905.785 | -278.609 | 347.817 | 29.5616 | 195.051 | 361.004 | 37.5831 | 83.1468 | 1010.7 | 100.125 | -139.375 | 1025.35 | 110.601 | -37.9462 | 735.149 | 1578.52 | 94.1773 | 746.252 | 1580.91 | -44.6406 | 746.786 | 1753.54 | 33.1807 |
618.786 | 1054.16 | 163.224 | 641.311 | 1045.02 | -97.5901 | 431.269 | 1053.57 | 21.3481 | 512.112 | 741.235 | 206.799 | 565.855 | 663.378 | 120.728 | 474.07 | 625.558 | 196.696 | 658.952 | 745.472 | -150.732 | 755.297 | 738.952 | -82.6534 | 697.044 | 643.201 | -137.61 | 349.763 | 474.968 | 185.044 | 407.306 | 411.026 | 134.517 | 327.172 | 390.778 | 189.721 | 753.204 | 443.079 | -131.282 | 816.706 | 409.516 | -80.015 | 746.861 | 395.868 | -139.817 | 129.793 | 126.764 | 103.787 | 269.185 | 93.1382 | 71.3792 | 254.896 | 73.3345 | 178.794 | 391.35 | 40.8871 | 112.296 | 788.576 | 65.4568 | -51.2487 | 947.43 | 104.793 | -28.7006 | 932.118 | 96.6464 | -123.927 | 1059.49 | 113.103 | -59.3131 | 661.889 | 1355.4 | 7.06987 | 568.98 | 1452.97 | 216.559 | 592.987 | 1466.57 | -201.86 | 593.184 | 1253.43 | 267.47 | 578.822 | 1229.9 | -233.082 | 564.144 | 1148.06 | 304.31 | 515.219 | 1140.98 | -267.698 | 759.397 | 967.317 | 267.824 | 733.398 | 941.172 | 322.24 | 618.903 | 912.762 | -224.35 | 569.688 | 901.76 | -280.429 | 327.763 | 28.1748 | 195.189 | 341.862 | 36.5867 | 82.8653 | 999.153 | 89.4814 | -134.825 | 1013.16 | 99.9716 | -33.1107 | 735.686 | 1576.2 | 90.9035 | 747.446 | 1578.47 | -47.8186 | 748.022 | 1751.53 | 29.638 |
620.889 | 1052.16 | 161.801 | 644.274 | 1044.04 | -98.6465 | 433.953 | 1051.04 | 19.3017 | 514.701 | 739.212 | 206.214 | 569.575 | 660.935 | 121.449 | 477.015 | 623.352 | 196.886 | 663.38 | 745.553 | -151.425 | 760.205 | 739.837 | -84.0224 | 701.899 | 643.951 | -137.405 | 351.67 | 475.194 | 186.098 | 406.419 | 408.988 | 135.591 | 325.78 | 392.419 | 190.76 | 755.628 | 443.077 | -131.045 | 816.767 | 407.086 | -78.5148 | 747.814 | 396.272 | -139.958 | 119.073 | 139.78 | 105.522 | 254.614 | 97.3562 | 72.315 | 239.308 | 77.713 | 179.305 | 370.3 | 39.0459 | 111.376 | 771.709 | 65.8187 | -51.2678 | 933.858 | 98.7445 | -25.7703 | 920.138 | 89.8788 | -121.552 | 1047.8 | 102.367 | -54.4818 | 663.162 | 1353.4 | 4.19273 | 569.109 | 1451.31 | 212.773 | 594.623 | 1463.21 | -205.437 | 592.35 | 1252 | 264.071 | 582.441 | 1226.33 | -235.844 | 562.284 | 1146.87 | 300.968 | 519.937 | 1136.84 | -270.462 | 753.785 | 961.016 | 268.138 | 726.541 | 936.111 | 322.543 | 623.874 | 909.062 | -226.136 | 574.832 | 897.794 | -282.227 | 307.82 | 27.7994 | 194.92 | 322.975 | 36.1729 | 82.4246 | 986.48 | 79.6338 | -131.006 | 1000.02 | 90.0744 | -29.1152 | 735.99 | 1573.91 | 87.6459 | 748.303 | 1576.05 | -50.9202 | 748.837 | 1749.38 | 26.1403 |
623.386 | 1051.75 | 160.018 | 647.426 | 1044.37 | -100.155 | 436.835 | 1049.96 | 17.0314 | 519.35 | 738.454 | 205.659 | 575.728 | 660.135 | 122.186 | 482.756 | 622.274 | 197.225 | 668.185 | 746.371 | -152.66 | 765.589 | 741.404 | -85.8934 | 707.108 | 645.161 | -137.806 | 356.579 | 476.675 | 187.104 | 408.484 | 407.838 | 136.816 | 326.997 | 395.207 | 191.728 | 758.282 | 443.482 | -131.399 | 816.943 | 405.081 | -77.6554 | 748.868 | 397.186 | -140.557 | 109.925 | 154.177 | 106.515 | 241.626 | 102.46 | 73.1601 | 224.933 | 83.3369 | 179.64 | 350.623 | 37.1645 | 111.036 | 754.891 | 67.5882 | -51.2973 | 919.697 | 93.521 | -23.382 | 907.268 | 84.3567 | -119.684 | 1034.97 | 91.9559 | -50.6466 | 664.767 | 1353.05 | 1.06204 | 569.599 | 1451.34 | 208.833 | 596.612 | 1461.6 | -209.297 | 591.71 | 1252.16 | 260.558 | 586.691 | 1224.4 | -238.755 | 560.484 | 1147.31 | 297.469 | 525.33 | 1134.27 | -273.328 | 747.704 | 956.024 | 268.591 | 719.074 | 932.451 | 322.899 | 629.254 | 906.615 | -228.143 | 580.38 | 895.218 | -284.32 | 288.96 | 28.3685 | 194.776 | 305.466 | 36.4359 | 82.2808 | 972.828 | 70.8649 | -127.987 | 985.957 | 81.0853 | -25.9313 | 736.79 | 1573.16 | 84.144 | 749.633 | 1575.17 | -54.3151 | 750.398 | 1748.84 | 22.4076 |
626.015 | 1051.9 | 158.125 | 650.395 | 1045.15 | -101.928 | 439.654 | 1049.5 | 15.0081 | 525.536 | 737.993 | 205.128 | 583.731 | 660.03 | 122.914 | 490.713 | 621.385 | 197.586 | 671.155 | 747.262 | -154.151 | 768.823 | 742.242 | -87.919 | 709.615 | 646.171 | -138.603 | 364.349 | 478.706 | 187.997 | 413.173 | 407.104 | 137.914 | 330.876 | 398.709 | 192.495 | 757.761 | 443.547 | -132.212 | 814.228 | 403.073 | -77.458 | 746.892 | 397.698 | -141.524 | 103.3 | 170.456 | 106.63 | 230.571 | 108.786 | 73.6988 | 212.16 | 90.925 | 179.631 | 332.124 | 35.7603 | 111.057 | 737.511 | 69.0233 | -51.618 | 904.416 | 88.8417 | -21.7493 | 892.756 | 79.4371 | -118.547 | 1020.44 | 82.9563 | -47.9208 | 666.41 | 1353.36 | -1.70964 | 570.122 | 1451.95 | 205.415 | 598.727 | 1460.88 | -212.761 | 590.951 | 1252.8 | 257.538 | 591.143 | 1223.25 | -241.267 | 558.509 | 1148.21 | 294.383 | 530.855 | 1132.51 | -275.83 | 741.262 | 951.661 | 269.423 | 711.242 | 929.409 | 323.555 | 634.312 | 904.228 | -230.156 | 585.526 | 892.945 | -286.533 | 271.136 | 30.7363 | 194.552 | 289.224 | 37.9025 | 82.2709 | 957.599 | 63.1873 | -125.889 | 970.564 | 73.2575 | -23.6846 | 737.895 | 1572.99 | 81.0318 | 751.208 | 1574.84 | -57.3811 | 752.67 | 1748.98 | 19.036 |
628.646 | 1052.77 | 155.739 | 652.995 | 1046.47 | -104.025 | 442.435 | 1049.72 | 12.8889 | 533.608 | 737.986 | 204.297 | 593.914 | 660.887 | 123.327 | 501.355 | 620.831 | 197.72 | 674.268 | 748.52 | -156.158 | 772.153 | 743.43 | -90.5188 | 712.268 | 647.384 | -140.12 | 375.34 | 481.433 | 188.379 | 420.922 | 406.888 | 138.743 | 337.667 | 402.994 | 192.663 | 757.142 | 443.979 | -133.778 | 811.322 | 401.383 | -78.2651 | 744.589 | 398.686 | -143.065 | 99.3073 | 188.364 | 105.358 | 221.701 | 116.393 | 73.6724 | 201.26 | 100.509 | 178.836 | 315.296 | 34.8261 | 111.336 | 719.682 | 71.6365 | -52.102 | 888.224 | 84.9511 | -21.1399 | 876.783 | 75.7378 | -118.338 | 1004.39 | 74.2169 | -46.9807 | 668.001 | 1354.22 | -4.59534 | 570.874 | 1453.01 | 201.865 | 600.701 | 1460.76 | -216.054 | 590.415 | 1253.97 | 254.295 | 595.446 | 1222.83 | -243.511 | 556.771 | 1149.72 | 290.973 | 536.131 | 1131.59 | -277.913 | 734.53 | 948.144 | 270.009 | 703.082 | 927.238 | 323.799 | 638.486 | 902.31 | -232.202 | 589.7 | 891.382 | -288.745 | 254.868 | 35.0289 | 193.89 | 274.717 | 40.7694 | 82.2014 | 940.843 | 56.5039 | -125.134 | 953.923 | 66.2637 | -22.954 | 739.043 | 1573.08 | 77.7303 | 752.691 | 1574.75 | -60.5467 | 755 | 1749.15 | 15.5557 |
631.087 | 1054.66 | 152.885 | 655.233 | 1048.45 | -106.716 | 444.867 | 1050.85 | 10.4978 | 543.362 | 738.788 | 203.368 | 606.168 | 663.028 | 123.648 | 514.56 | 621.032 | 197.881 | 675.428 | 749.845 | -158.615 | 773.261 | 743.953 | -93.3422 | 712.128 | 648.314 | -142.113 | 389.508 | 485.238 | 188.589 | 431.757 | 407.566 | 139.594 | 347.409 | 408.432 | 192.641 | 753.508 | 443.959 | -135.757 | 805.714 | 399.757 | -79.5918 | 739.524 | 399.156 | -144.895 | 98.1658 | 207.997 | 103.117 | 215.383 | 125.436 | 73.4955 | 192.484 | 112.099 | 177.822 | 300.495 | 34.7226 | 112.357 | 702.305 | 74.0318 | -52.6935 | 871.652 | 82.0195 | -20.9759 | 860.118 | 73.2162 | -118.532 | 987.456 | 67.3147 | -46.8204 | 669.374 | 1356.1 | -7.69123 | 571.305 | 1455.15 | 198.141 | 602.704 | 1461.76 | -219.625 | 589.216 | 1256.15 | 250.96 | 600.281 | 1223.43 | -245.822 | 554.169 | 1152.31 | 287.401 | 542.115 | 1131.58 | -280.068 | 726.327 | 945.574 | 270.694 | 693.349 | 926.121 | 324.042 | 643.351 | 901.138 | -234.275 | 594.659 | 890.639 | -291.127 | 240.386 | 41.2957 | 193.409 | 262.342 | 45.1536 | 82.5473 | 923.552 | 51.5982 | -125.013 | 936.712 | 61.0702 | -22.8478 | 740.124 | 1574.26 | 74.1402 | 754.095 | 1575.71 | -64.0594 | 757.415 | 1750.47 | 11.7227 |
632.896 | 1057.1 | 149.65 | 656.717 | 1050.8 | -109.868 | 446.566 | 1052.59 | 7.8886 | 553.837 | 739.951 | 202.306 | 619.406 | 665.874 | 123.825 | 529.193 | 621.553 | 198.065 | 674.24 | 751.214 | -161.381 | 771.696 | 743.842 | -96.2375 | 708.813 | 649.045 | -144.408 | 405.977 | 489.466 | 188.67 | 445.026 | 408.946 | 140.551 | 359.714 | 414.458 | 192.531 | 746.44 | 443.506 | -137.917 | 797.156 | 398.174 | -81.2466 | 731.289 | 399.034 | -146.807 | 101.375 | 228.32 | 100.265 | 212.983 | 135.785 | 73.431 | 187.366 | 125.361 | 176.841 | 289.229 | 36.2001 | 114.26 | 685.116 | 75.2729 | -53.1707 | 854.916 | 79.4811 | -21.2068 | 843 | 71.2497 | -119.016 | 970.231 | 61.8472 | -47.3834 | 670.164 | 1358.53 | -10.9596 | 571.133 | 1457.89 | 194.251 | 604.351 | 1463.41 | -223.381 | 587.054 | 1258.95 | 247.545 | 605.148 | 1224.68 | -248.16 | 550.412 | 1155.62 | 283.71 | 548.325 | 1132.12 | -282.25 | 716.499 | 943.72 | 271.444 | 681.944 | 925.8 | 324.273 | 648.796 | 900.894 | -236.136 | 600.353 | 890.73 | -293.369 | 229.358 | 49.7299 | 193.307 | 253.642 | 51.4551 | 83.488 | 906.145 | 47.9054 | -125.442 | 919.388 | 57.155 | -23.3061 | 740.883 | 1575.91 | 70.3398 | 755.193 | 1577.11 | -67.8067 | 759.844 | 1752.33 | 7.65599 |
634.256 | 1059.8 | 146.2 | 657.53 | 1053.24 | -113.301 | 447.718 | 1054.63 | 5.35582 | 565.274 | 741.303 | 201.051 | 633.793 | 669.345 | 123.708 | 545.435 | 622.249 | 198.025 | 670.742 | 752.512 | -164.317 | 767.431 | 742.909 | -99.1179 | 702.328 | 649.522 | -146.952 | 424.835 | 494.064 | 188.339 | 460.714 | 410.84 | 141.145 | 374.552 | 420.963 | 191.953 | 735.841 | 442.678 | -140.296 | 785.492 | 396.636 | -83.3348 | 719.757 | 398.39 | -148.859 | 108.104 | 249.304 | 96.3764 | 213.852 | 147.055 | 72.8857 | 185.333 | 140.124 | 175.345 | 281.038 | 38.6385 | 116.356 | 667.755 | 75.372 | -53.8729 | 837.792 | 77.5448 | -21.8945 | 825.182 | 69.7789 | -119.949 | 952.477 | 58.1575 | -48.6949 | 670.505 | 1361.27 | -14.0464 | 570.45 | 1460.85 | 190.583 | 605.647 | 1465.43 | -226.916 | 584.255 | 1261.96 | 244.324 | 609.871 | 1226.3 | -250.206 | 545.984 | 1159.18 | 280.116 | 554.431 | 1133.01 | -284.139 | 705.869 | 942.502 | 272.17 | 669.772 | 926.086 | 324.387 | 654.222 | 900.876 | -237.767 | 606.051 | 891.078 | -295.454 | 221.285 | 59.9799 | 192.98 | 248 | 59.1107 | 84.4137 | 888.277 | 45.3927 | -126.46 | 901.746 | 54.5681 | -24.3872 | 741.094 | 1578.18 | 66.6354 | 755.654 | 1579.11 | -71.4881 | 761.227 | 1754.7 | 3.61548 |
# Plot original and reconstructed L.Acromium.X over time
lacro_np = np.array(h2o.as_list(gait["L.Acromium.X"]))
lacro_pred_np = np.array(h2o.as_list(pred["reconstr_L.Acromium.X"]))
line_orig = plt.plot(time_np, lacro_np, '-')
line_imp = plt.plot(time_np, lacro_pred_np, '-')
plt.title("Position of Left Acromium over Time")
plt.xlabel("Time")
plt.ylabel("X-Coordinate of Left Acromium")
blue_patch = mpatches.Patch(color = 'blue', label = 'Original')
green_patch = mpatches.Patch(color = 'green', label='Imputed')
plt.legend([blue_patch, green_patch], ["Original", "Imputed"])
plt.show()
# Import walking gait data with missing values
gait_miss = h2o.upload_file(_locate("smalldata/glrm_test/subject01_walk1_miss15.csv"))
gait_miss.describe()
Parse Progress: [##################################################] 100% Rows:151 Cols:124 Chunk compression summary:
chunk_type | chunk_name | count | count_percentage | size | size_percentage |
C2S | 2-Byte Fractions | 1 | 0.8064516 | 386 B | 0.4540642 |
C4S | 4-Byte Fractions | 123 | 99.19355 | 82.6 KB | 99.54594 |
Frame distribution summary:
size | number_of_rows | number_of_chunks_per_column | number_of_chunks | |
172.16.2.84:54321 | 83.0 KB | 151.0 | 1.0 | 124.0 |
mean | 83.0 KB | 151.0 | 1.0 | 124.0 |
min | 83.0 KB | 151.0 | 1.0 | 124.0 |
max | 83.0 KB | 151.0 | 1.0 | 124.0 |
stddev | 0 B | 0.0 | 0.0 | 0.0 |
total | 83.0 KB | 151.0 | 1.0 | 124.0 |
Time | R.ASIS.X | R.ASIS.Y | R.ASIS.Z | L.ASIS.X | L.ASIS.Y | L.ASIS.Z | V.Sacral.X | V.Sacral.Y | V.Sacral.Z | R.Thigh.Upper.X | R.Thigh.Upper.Y | R.Thigh.Upper.Z | R.Thigh.Front.X | R.Thigh.Front.Y | R.Thigh.Front.Z | R.Thigh.Rear.X | R.Thigh.Rear.Y | R.Thigh.Rear.Z | L.Thigh.Upper.X | L.Thigh.Upper.Y | L.Thigh.Upper.Z | L.Thigh.Front.X | L.Thigh.Front.Y | L.Thigh.Front.Z | L.Thigh.Rear.X | L.Thigh.Rear.Y | L.Thigh.Rear.Z | R.Shank.Upper.X | R.Shank.Upper.Y | R.Shank.Upper.Z | R.Shank.Front.X | R.Shank.Front.Y | R.Shank.Front.Z | R.Shank.Rear.X | R.Shank.Rear.Y | R.Shank.Rear.Z | L.Shank.Upper.X | L.Shank.Upper.Y | L.Shank.Upper.Z | L.Shank.Front.X | L.Shank.Front.Y | L.Shank.Front.Z | L.Shank.Rear.X | L.Shank.Rear.Y | L.Shank.Rear.Z | R.Heel.X | R.Heel.Y | R.Heel.Z | R.Midfoot.Sup.X | R.Midfoot.Sup.Y | R.Midfoot.Sup.Z | R.Midfoot.Lat.X | R.Midfoot.Lat.Y | R.Midfoot.Lat.Z | R.Toe.Tip.X | R.Toe.Tip.Y | R.Toe.Tip.Z | L.Heel.X | L.Heel.Y | L.Heel.Z | L.Midfoot.Sup.X | L.Midfoot.Sup.Y | L.Midfoot.Sup.Z | L.Midfoot.Lat.X | L.Midfoot.Lat.Y | L.Midfoot.Lat.Z | L.Toe.Tip.X | L.Toe.Tip.Y | L.Toe.Tip.Z | Sternum.X | Sternum.Y | Sternum.Z | R.Acromium.X | R.Acromium.Y | R.Acromium.Z | L.Acromium.X | L.Acromium.Y | L.Acromium.Z | R.Bicep.X | R.Bicep.Y | R.Bicep.Z | L.Bicep.X | L.Bicep.Y | L.Bicep.Z | R.Elbow.X | R.Elbow.Y | R.Elbow.Z | L.Elbow.X | L.Elbow.Y | L.Elbow.Z | R.Wrist.Med.X | R.Wrist.Med.Y | R.Wrist.Med.Z | R.Wrist.Lat.X | R.Wrist.Lat.Y | R.Wrist.Lat.Z | L.Wrist.Med.X | L.Wrist.Med.Y | L.Wrist.Med.Z | L.Wrist.Lat.X | L.Wrist.Lat.Y | L.Wrist.Lat.Z | R.Toe.Lat.X | R.Toe.Lat.Y | R.Toe.Lat.Z | R.Toe.Med.X | R.Toe.Med.Y | R.Toe.Med.Z | L.Toe.Lat.X | L.Toe.Lat.Y | L.Toe.Lat.Z | L.Toe.Med.X | L.Toe.Med.Y | L.Toe.Med.Z | R.Temple.X | R.Temple.Y | R.Temple.Z | L.Temple.X | L.Temple.Y | L.Temple.Z | Top.Head.X | Top.Head.Y | Top.Head.Z | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
type | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real | real |
mins | 0.0 | 588.9071700000001 | 1042.5732400000002 | 107.79163000000001 | 600.01556 | 1029.2542700000001 | -152.53879 | 399.40009000000003 | 1034.9012500000001 | -21.440830000000002 | 481.83603000000005 | 732.70135 | 169.71159 | 535.63422 | 657.21033 | 74.20708 | 443.03299000000004 | 613.54547 | 168.15961000000001 | 468.19415000000004 | 737.7208300000001 | -194.25998 | 550.69415 | 684.75494 | -133.58800000000002 | 435.01773000000003 | 627.4998800000001 | -170.86086 | 319.34705 | 445.08429 | 157.69023 | 376.44724 | 403.25574000000006 | 102.54192 | 295.04089000000005 | 368.36661000000004 | 165.6133 | 341.20230000000004 | 438.80435000000006 | -172.96315 | 365.72482 | 375.95242 | -120.97533000000001 | 304.46347000000003 | 393.67728000000005 | -173.38676 | 68.60076000000001 | 56.43383000000001 | 59.94800000000001 | 190.98845000000003 | 76.90237 | 57.86759000000001 | 157.32503000000003 | 62.790000000000006 | 159.97461 | 242.90858000000003 | 33.52863 | 102.08940000000001 | 76.37951000000001 | 60.01719000000001 | -74.0361 | 211.85968000000003 | 70.39124000000001 | -69.30095 | 185.39088 | 48.22646 | -140.09074 | 254.42706 | 36.65646 | -88.18266000000001 | 627.3817700000001 | 1342.8541300000002 | -35.207950000000004 | 511.80032000000006 | 1427.4450700000002 | 164.48206000000002 | 551.72424 | 1453.5893600000002 | -249.89265000000003 | 485.94559000000004 | 1227.90454 | 216.05853000000002 | 531.12134 | 1217.6442900000002 | -266.60974000000004 | 424.32767 | 1129.49243 | 242.44150000000002 | 460.20703000000003 | 1123.8029800000002 | -304.79358 | 535.8743900000001 | 889.81964 | 262.1105 | 486.99316000000005 | 876.5388200000001 | 304.71069 | 554.3527200000001 | 895.9242600000001 | -240.59163 | 503.10611000000006 | 886.58942 | -300.87775000000005 | 179.7708 | 33.33099 | 181.24631000000002 | 218.04131 | 36.963620000000006 | 71.79319000000001 | 202.74066000000002 | 36.02512 | -153.13719 | 228.04898000000003 | 42.970600000000005 | -54.889030000000005 | 675.97009 | 1562.28418 | 44.154320000000006 | 683.5089700000001 | 1567.2720900000002 | -94.07465 | 614.13971 | 1740.3891600000002 | -19.488380000000003 |
mean | 1.2499999999999993 | 614.5219373809526 | 1065.674211068702 | 147.70381085937498 | 621.4685777519381 | 1053.8870899173553 | -113.1220462992126 | 419.96147858208957 | 1058.9396165853657 | 21.11738235294117 | 602.0237726515152 | 751.7273182677166 | 198.12656452380958 | 676.998435725191 | 698.1164752554741 | 107.98844620155043 | 607.4938511450381 | 634.0988691911766 | 191.19427805084752 | 589.7071056000001 | 756.6348315748031 | -164.43936330769233 | 676.351652421875 | 728.9683143750003 | -105.68779928571426 | 598.0017102419358 | 651.4269711450382 | -150.98209781250003 | 543.6514965891474 | 476.8315416923078 | 177.90240643939393 | 612.2485662962965 | 427.1291536065575 | 128.55800023437493 | 550.9574812499998 | 395.28342082644616 | 183.20065491803282 | 578.969913643411 | 453.85756544776143 | -144.9175518897638 | 613.9014913636362 | 398.72314492063515 | -94.28277031496066 | 548.7100873076923 | 418.68888263157896 | -151.06090469696966 | 418.61944007633605 | 121.18016370078735 | 90.99763584615388 | 545.7749826356588 | 110.41122030769232 | 69.78039318518516 | 524.5631150406504 | 93.92404014814814 | 173.7732026190476 | 654.1564922222226 | 66.88846407692313 | 120.13476531249998 | 431.8754314285713 | 129.84234287878792 | -51.27995097560977 | 574.9778156249997 | 103.83877976377953 | -30.091574341085284 | 566.1202526984124 | 96.79594126050421 | -123.58381375939845 | 678.8507586466168 | 66.44135443548387 | -58.160875600000004 | 643.7707248799999 | 1367.9178143511456 | 7.475559302325582 | 541.6002414960632 | 1458.3426990551186 | 215.23162066176474 | 578.8979806504063 | 1481.9918678571426 | -202.49140905511805 | 547.4777600000001 | 1259.51176984252 | 262.38946829457376 | 596.5677472180454 | 1244.4882707758622 | -229.6007026016261 | 503.4653489256198 | 1157.8093834848485 | 293.64344187499995 | 545.9599920634921 | 1147.6621124390247 | -268.3959422608696 | 657.2295957692305 | 944.0677635200004 | 282.97286181818214 | 617.1352212213739 | 928.3252148031497 | 331.3479852307692 | 673.9732800735296 | 938.227669083969 | -215.0208914173229 | 628.2167179365077 | 921.9658151162794 | -273.3403533333336 | 592.7331266917291 | 61.25295527131784 | 194.7007793939394 | 616.1231278030305 | 67.72312863999998 | 86.20805892561982 | 610.7499204098361 | 64.80942227642278 | -131.93505530769218 | 652.8815048837212 | 74.28172511811024 | -32.449527720588215 | 708.096513 | 1597.3340392248065 | 92.79476772727277 | 718.288894140625 | 1603.7745607031247 | -44.273716842105294 | 698.7624831297712 | 1773.2153420472443 | 34.894787603305765 |
maxs | 2.5 | 641.12048 | 1091.26807 | 180.07411000000002 | 661.46918 | 1078.02356 | -80.82956 | 451.5914 | 1077.77014 | 55.297180000000004 | 692.8951400000001 | 788.1136500000001 | 216.86717000000002 | 766.4453100000001 | 750.7237500000001 | 136.25021 | 726.57483 | 672.4224200000001 | 209.89946 | 674.53168 | 781.90839 | -138.11635 | 772.35175 | 780.8144500000001 | -66.30186 | 713.1610700000001 | 681.3862300000001 | -123.18440000000001 | 719.6970200000001 | 531.05676 | 200.56787000000003 | 799.4701500000001 | 457.5513 | 154.56749000000002 | 751.88885 | 458.64368 | 202.59061000000003 | 764.30676 | 494.35605000000004 | -116.46951000000001 | 821.6690100000001 | 425.57733 | -63.825 | 750.77588 | 472.92294000000004 | -125.02680000000001 | 812.50183 | 320.70309000000003 | 108.16100000000002 | 935.61414 | 197.97754 | 85.62352000000001 | 934.44775 | 209.43217 | 188.70589 | 1071.77734 | 179.28133000000003 | 153.59363000000002 | 821.7641000000001 | 321.80249000000003 | -34.92287 | 971.3176300000001 | 178.00603 | -6.83138 | 955.7309600000001 | 184.36398000000003 | -104.36980000000001 | 1082.51477 | 168.64880000000002 | -33.049710000000005 | 673.89301 | 1393.8880600000002 | 43.520900000000005 | 573.64575 | 1485.37354 | 262.06827000000004 | 609.36566 | 1507.8101800000002 | -156.17076 | 593.2045300000001 | 1288.58093 | 305.86801 | 643.91699 | 1271.7580600000001 | -196.56128 | 567.0025 | 1193.1440400000001 | 339.82635000000005 | 608.93268 | 1186.43945 | -230.94901000000002 | 771.56329 | 1003.0836800000001 | 312.96448000000004 | 750.302 | 969.89471 | 362.03549000000004 | 793.86859 | 998.83923 | -188.33229000000003 | 768.9158900000001 | 958.34167 | -249.44443 | 1022.3231800000001 | 136.89597 | 218.5173 | 1029.85803 | 153.3546 | 113.45890000000001 | 1024.0694600000002 | 132.61819 | -111.9407 | 1039.3868400000001 | 146.49858 | -9.441730000000002 | 740.63611 | 1640.0118400000001 | 139.15808 | 754.6250600000001 | 1647.8839100000002 | 0.84904 | 752.89178 | 1809.1491700000001 | 85.29955000000001 |
sigma | 0.7288982553598734 | 14.92215308091295 | 14.111880060493164 | 25.432066898627287 | 15.198508731285314 | 14.162788694065041 | 24.242934872860133 | 14.434710207521606 | 12.10066654207011 | 24.0349655412507 | 67.10426858935227 | 14.205522724250503 | 15.687902790710798 | 74.68131457993448 | 26.389016555347528 | 18.4568665408435 | 96.42257330093962 | 15.06777840349137 | 12.508426408793273 | 66.34624439841295 | 11.264958079555221 | 17.842421998298626 | 72.21749405726675 | 26.14303638869915 | 21.33082154502956 | 92.84194258669261 | 11.523261680540092 | 13.95274158238682 | 134.80876504738433 | 25.743872487243486 | 11.136201948564182 | 143.9726247367157 | 16.498710998430557 | 11.671072512430744 | 155.37667560696926 | 28.587049936953097 | 8.389006495328955 | 142.37126744241198 | 17.236798986854758 | 14.953128359661894 | 154.95702883987926 | 15.241329669825708 | 14.46404818246618 | 153.05231554067956 | 25.822169495300553 | 13.234972938997545 | 235.04164595102208 | 81.84095704372828 | 9.390160712419974 | 245.11955051281382 | 37.54678625858125 | 7.476463884374892 | 257.1734347799746 | 40.780877002241226 | 6.549059025113661 | 267.399230376123 | 38.05615841994596 | 13.748346965816776 | 239.59986020374535 | 81.74529874523965 | 9.376881326791628 | 253.01685887822256 | 31.47339734876065 | 12.801449790647666 | 253.69387028644053 | 36.85986071114475 | 9.416340833135983 | 273.16935342475875 | 33.86869293420603 | 13.517431154052675 | 11.805342440216124 | 14.880649788653757 | 26.898774609851976 | 15.430303484406378 | 16.663213281708643 | 32.42123754088741 | 17.63937795165613 | 15.678200422116845 | 31.95813676896881 | 32.63858211452952 | 17.44753651421529 | 30.301680323693503 | 36.87346701950721 | 15.482442600919159 | 23.64517489301381 | 46.31878524486472 | 18.213998606724083 | 31.11008071053091 | 51.04516428828603 | 17.463430272110138 | 23.384008331138357 | 77.45333204588788 | 30.17776134834941 | 13.767076583525126 | 87.64627791278302 | 24.207594364972316 | 14.870467982712826 | 79.30830428679009 | 27.592043116627966 | 13.309301929402775 | 88.53358834622038 | 19.98903157521194 | 13.58585077736218 | 271.41944252422536 | 30.652140613918544 | 8.95312719362286 | 264.732789740173 | 31.222274926225083 | 10.605269876515221 | 276.43130123734323 | 30.671106575658385 | 10.985169830234527 | 266.6254450613424 | 30.095692398460987 | 11.659088133346604 | 18.87157751058072 | 20.343741655472897 | 32.18617612378534 | 20.591308589174574 | 21.266507623704072 | 31.616000370689523 | 42.83060358456725 | 16.861553839683516 | 34.73233463633775 |
zeros | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
missing | 0 | 25 | 20 | 23 | 22 | 30 | 24 | 17 | 28 | 15 | 19 | 24 | 25 | 20 | 14 | 22 | 20 | 15 | 33 | 26 | 24 | 21 | 23 | 23 | 25 | 27 | 20 | 23 | 22 | 21 | 19 | 16 | 29 | 23 | 23 | 30 | 29 | 22 | 17 | 24 | 19 | 25 | 24 | 21 | 18 | 19 | 20 | 24 | 21 | 22 | 21 | 16 | 28 | 16 | 25 | 25 | 21 | 23 | 25 | 19 | 28 | 23 | 24 | 22 | 25 | 32 | 18 | 18 | 27 | 26 | 26 | 20 | 22 | 24 | 24 | 15 | 28 | 25 | 24 | 18 | 24 | 22 | 18 | 35 | 28 | 30 | 19 | 23 | 25 | 28 | 36 | 21 | 26 | 19 | 20 | 24 | 21 | 15 | 20 | 24 | 25 | 22 | 25 | 18 | 22 | 19 | 19 | 26 | 30 | 29 | 28 | 21 | 22 | 24 | 15 | 31 | 22 | 19 | 23 | 23 | 18 | 20 | 24 | 30 |
0 | 0.0 | nan | 1055.27502 | 170.78198 | 639.6063800000001 | 1044.2584200000001 | -88.90979 | 430.86984 | 1051.26465 | nan | 517.3327 | 741.0960100000001 | 212.08337000000003 | 570.2014800000001 | nan | 123.68554 | 480.06427 | 626.5148300000001 | 199.55385 | 659.57892 | 745.05798 | -145.97218 | nan | 735.8501000000001 | -73.48505 | 697.4296300000001 | 642.68182 | -137.36960000000002 | 360.9039 | 474.04004000000003 | 186.84929000000002 | 420.86743 | 412.36603 | 134.71933 | 343.73737000000006 | 388.03668000000005 | 189.83162000000002 | 750.32623 | nan | nan | 819.76385 | 415.13217000000003 | -81.7 | 750.0458400000001 | 397.94098 | -138.88400000000001 | 156.44276000000002 | 113.07307000000002 | 104.00257 | 297.18088 | 88.12213000000001 | 67.0685 | nan | 73.76623000000001 | nan | 429.09286000000003 | 43.0861 | 110.59769000000001 | nan | nan | -51.75869 | 967.9899300000001 | nan | -32.7704 | 943.78925 | 105.33720000000001 | -122.34442000000001 | 1078.70935 | 143.54796000000002 | -60.93587000000001 | 660.8267800000001 | 1353.77527 | 20.198390000000003 | 566.59839 | 1449.57959 | 229.99652000000003 | 596.4238300000001 | 1468.9681400000002 | -186.70021000000003 | nan | 1249.1079100000002 | 279.7764 | 580.73468 | nan | -222.92732 | 567.0025 | 1143.1092500000002 | 315.56631000000004 | 518.10278 | 1146.32483 | -260.95828 | 771.56329 | 973.7791100000001 | nan | 746.2069700000001 | 944.3781100000001 | 327.45282000000003 | 619.82306 | nan | -218.32727000000003 | 574.16254 | 905.87732 | -276.12146 | 366.12296000000003 | 35.908210000000004 | 193.14078 | 375.86584000000005 | 39.8688 | 81.17185 | 1022.03961 | 113.13824000000001 | -136.45811 | 1034.97046 | 125.07877 | -34.938210000000005 | 736.5223400000001 | 1571.5815400000001 | 106.42087000000001 | nan | nan | -31.667230000000004 | nan | 1747.60767 | nan |
1 | 0.017 | 617.99811 | 1053.2175300000001 | 168.51317 | 641.23621 | nan | nan | 432.34061 | 1050.2374300000001 | 26.846790000000002 | 516.61377 | 740.4259000000001 | 211.21942 | 570.5189200000001 | 664.1987300000001 | nan | 479.64038000000005 | 625.65308 | 199.31528000000003 | 661.6131 | 743.5673200000001 | -146.43872000000002 | nan | 736.42303 | -77.16084000000001 | 700.7197900000001 | 641.4929800000001 | nan | 357.69406000000004 | 474.35721000000007 | 187.04623 | nan | 411.81808 | 134.78728 | 336.91132000000005 | 390.05734 | 190.88017000000002 | nan | 443.93143000000003 | -128.7347 | nan | nan | -79.03171 | 750.5651200000001 | 396.96808000000004 | nan | 141.98363 | 121.29087000000001 | 105.0378 | 281.97873000000004 | 91.63458000000001 | 68.46623000000001 | 271.80731000000003 | 75.74918000000001 | nan | 409.88361000000003 | 43.13917 | 110.56359 | 799.8198900000001 | 65.80063000000001 | -49.9463 | 957.4516600000001 | 113.74644 | -27.677100000000003 | nan | nan | -122.34442000000001 | 1069.2766100000001 | nan | -56.2015 | nan | 1352.7082500000001 | 17.243570000000002 | 566.9248 | 1448.94153 | 226.13284000000002 | 596.4202300000001 | 1466.4149200000002 | nan | 593.2045300000001 | nan | 276.04364000000004 | 582.39642 | 1230.6384300000002 | -225.94514 | 566.13733 | 1142.56213 | 312.59055 | 519.93042 | 1142.1728500000002 | -262.84161 | nan | nan | 272.55261 | nan | 941.0106200000001 | 325.92441 | 623.0548100000001 | nan | -220.41856 | 576.28583 | 902.63904 | -278.4635 | 346.24503000000004 | 35.811 | 193.41495 | 358.94989000000004 | nan | nan | 1011.0821500000001 | 101.08356 | -132.52734 | 1024.0022000000001 | 111.6144 | -30.679700000000004 | 736.04187 | 1570.83057 | 101.78574 | 748.4116200000001 | 1574.0415 | nan | 750.6798100000001 | 1746.6704100000002 | 41.16423 |
2 | 0.033 | nan | 1051.77124 | 165.85938000000002 | 643.5969200000001 | 1041.06079 | -94.30722 | 434.09943000000004 | 1049.3414300000002 | 23.819360000000003 | 517.7789300000001 | nan | 209.92978000000002 | 570.4550800000001 | 663.09094 | 123.09371000000002 | 479.47061 | nan | nan | 663.7771600000001 | 742.55939 | -147.20686 | 760.8386200000001 | nan | -80.50614 | 702.586 | 640.56848 | -134.51134000000002 | 355.96603000000005 | 476.07431 | 187.72906 | 411.18945 | 410.48535000000004 | 135.65497000000002 | nan | 392.03955 | 191.39008 | 755.7663600000001 | 441.96497000000005 | -126.80373000000002 | 821.31488 | 407.06613000000004 | nan | 750.77588 | 396.23285000000004 | -136.23216000000002 | 128.05836000000002 | nan | 106.09202 | 267.07681 | 95.34116 | 69.87910000000001 | 255.80577000000002 | 78.12271000000001 | 178.35294000000002 | 390.76752000000005 | 43.101560000000006 | 110.35046000000001 | 784.39679 | 68.05878 | -48.83653 | nan | nan | -23.485970000000002 | 932.77124 | 97.33627000000001 | -120.64327000000002 | 1059.0639600000002 | 113.93506000000001 | nan | 663.19812 | 1351.7868700000001 | nan | 567.5697 | 1448.2222900000002 | 221.82841000000002 | 596.4621000000001 | 1463.91785 | -196.01938 | 593.00885 | 1248.7484100000001 | 272.54794000000004 | 585.1844500000001 | 1227.7260700000002 | -228.90501000000003 | 564.9734500000001 | 1142.9399400000002 | 308.37927 | 523.07452 | 1139.1127900000001 | -266.43765 | 762.1574700000001 | 964.9895000000001 | 271.42297 | nan | 937.31622 | 324.73819000000003 | 626.50507 | nan | nan | 579.6622900000001 | 899.1212200000001 | -281.07309000000004 | 328.92258000000004 | 34.77872 | 193.96858 | 341.75687000000005 | 39.43059 | 80.78735 | 999.3184200000001 | 89.32551000000001 | -129.32420000000002 | 1012.50629 | 98.88281 | -27.288000000000004 | 736.57086 | 1570.5422400000002 | nan | 748.85468 | 1571.8595 | -41.940810000000006 | 751.0396700000001 | nan | 36.05921 |
3 | 0.05 | nan | 1050.55212 | 163.53250000000003 | nan | 1040.35681 | -96.86188000000001 | 436.27994 | 1048.7071500000002 | 20.95202 | 519.19745 | 739.32581 | 208.32521000000003 | 571.93127 | 661.63751 | 123.22423 | 481.81918 | 624.2301600000001 | nan | 666.23505 | nan | -148.4931 | 763.56763 | 737.9541600000001 | -84.02015 | 703.2188100000001 | nan | -133.90343000000001 | 356.08667 | 476.89316 | 187.23071000000002 | 409.44373 | 410.43378 | 135.6963 | 329.61075000000005 | nan | 191.91527000000002 | 758.6344600000001 | 441.58249000000006 | nan | 821.6690100000001 | nan | -75.78609 | 750.51422 | 395.89566 | -136.16490000000002 | 115.33288 | 141.10814000000002 | 107.07024000000001 | 252.83902000000003 | nan | 71.28898000000001 | 240.50905000000003 | 81.28846 | 179.09006000000002 | 371.83502000000004 | 42.88871 | 109.90253000000001 | 769.4459800000001 | 70.03754 | -48.76834 | 934.0969200000001 | nan | -20.897740000000002 | 920.9379900000001 | 90.00697000000001 | nan | 1047.43127 | 100.48981 | nan | nan | 1351.3050500000002 | 9.24379 | 568.00946 | 1448.12561 | 216.41084 | 599.00385 | 1461.8778100000002 | -201.06389000000001 | 592.6820700000001 | nan | 268.26801 | 587.1785900000001 | nan | -232.17101000000002 | nan | 1143.3822 | 304.28061 | nan | 1135.98755 | -268.87439 | 756.53687 | nan | 270.02432000000005 | 729.9737500000001 | 933.6328100000001 | 323.82111000000003 | 629.7023300000001 | 906.3137200000001 | -225.57834000000003 | 581.9775400000001 | 895.94104 | nan | 310.68375000000003 | 34.73133 | 194.06519000000003 | 324.27896000000004 | 38.879560000000005 | 80.76440000000001 | 986.2498200000001 | 78.36720000000001 | -127.32961000000002 | 999.9459200000001 | nan | -25.276780000000002 | 736.5362500000001 | 1571.2082500000001 | nan | 749.98224 | 1572.0024400000002 | nan | 751.0684200000001 | 1747.0128200000001 | 30.698870000000003 |
4 | 0.067 | 624.5884400000001 | 1050.9283400000002 | 161.24614000000003 | nan | 1041.42517 | -98.48461 | 438.82794 | 1048.4510500000001 | 18.27267 | 522.1684600000001 | 738.2790500000001 | 206.22354 | 577.19788 | 661.2052600000001 | 122.12227000000001 | 485.72040000000004 | 623.1875600000001 | nan | 669.0249600000001 | 743.2103300000001 | nan | 766.52637 | 737.5761100000001 | -86.54853000000001 | 706.44861 | 641.32141 | -135.47997 | 359.10043 | 478.78271000000007 | 187.31071000000003 | 409.76855000000006 | 409.98972000000003 | 136.62299000000002 | 328.7959 | nan | nan | 764.30676 | 441.88095000000004 | -129.77544 | 819.4068000000001 | 403.62671000000006 | -75.05777 | 749.6619900000001 | 395.97159000000005 | nan | 104.66998000000001 | 154.01006 | 107.811 | nan | nan | 72.63148000000001 | 226.07957000000002 | 85.6586 | 179.6458 | 353.20926000000003 | nan | 109.34061000000001 | nan | 71.63676000000001 | -49.6439 | 920.41016 | 91.70379000000001 | -20.19499 | 907.7567700000001 | 83.828 | -119.12199000000001 | 1034.05762 | 88.69792000000001 | -48.79842000000001 | nan | 1351.51563 | 4.62811 | 568.55597 | 1448.6364700000001 | 211.90868 | 600.1272600000001 | 1460.2915 | -206.09744 | 591.9776 | 1249.31384 | nan | nan | 1223.49988 | -236.03795000000002 | 560.85986 | 1144.38464 | 300.73502 | 528.6322 | 1134.0450400000002 | nan | 750.1063200000001 | 955.1744400000001 | 269.17526000000004 | 721.4677700000001 | 930.05811 | 323.39139 | 633.41034 | 904.0494400000001 | -227.97125000000003 | nan | 894.0228300000001 | nan | 292.77032 | 33.78799 | 194.14709000000002 | 306.88870000000003 | 38.662980000000005 | 80.80763 | 971.7229600000001 | 68.74927000000001 | -126.63988 | 985.93829 | 77.90832 | -24.668100000000003 | 737.62549 | 1572.04834 | 87.80447000000001 | 750.3457000000001 | 1572.99023 | -51.10457 | 750.73419 | 1748.2327900000003 | nan |
5 | 0.083 | nan | nan | 158.44899 | 652.0412600000001 | 1043.0465100000001 | nan | nan | 1048.66125 | 15.770330000000001 | 526.8028 | nan | nan | nan | 660.5979600000001 | nan | nan | 622.24158 | 197.31982000000002 | 671.8154900000001 | 744.8880600000001 | -152.9505 | nan | 739.8530300000001 | -85.03291 | nan | 643.2790500000001 | -136.13054000000002 | 366.04211000000004 | 481.02042000000006 | 188.67352000000002 | 413.34131 | 408.71753 | 136.33844000000002 | 330.84656 | 400.64767 | 193.43900000000002 | 759.47589 | 442.17343000000005 | -130.73776 | 816.0654300000001 | 402.27618 | -75.44473 | 747.8853100000001 | 396.32391 | -140.11632 | nan | 169.38722 | 108.16100000000002 | 228.38951000000003 | nan | nan | nan | 91.66736 | nan | 335.07321 | 41.768600000000006 | 108.90065000000001 | 738.8324 | 72.80952 | -51.153690000000005 | 905.3363600000001 | 86.73385 | -21.041400000000003 | 893.1098000000001 | 79.00209000000001 | -119.56252 | 1019.0333300000001 | 78.89088000000001 | -49.1244 | 667.7838700000001 | 1352.00989 | -0.13134 | 570.7625700000001 | 1450.0266100000001 | 206.86226000000002 | 600.59558 | nan | -211.40720000000002 | 590.9401200000001 | 1250.75122 | 259.04285000000004 | 593.76056 | 1223.0832500000001 | -239.71443000000002 | 558.8460100000001 | 1145.6374500000002 | 295.84277000000003 | nan | nan | nan | 742.8613300000001 | nan | 268.83356000000003 | 712.263 | 929.0300900000001 | nan | 635.94586 | 902.42853 | -228.98778000000001 | 588.33478 | 891.7572600000001 | -287.01593 | 276.40588 | 34.303540000000005 | 194.01968000000002 | 290.22995000000003 | 39.311170000000004 | 80.83173000000001 | 955.8700600000001 | 60.793510000000005 | -127.01521000000001 | 970.42456 | 70.22808 | -25.11532 | 738.6120000000001 | 1573.1033900000002 | 82.11092000000001 | 751.77826 | 1575.6268300000002 | -55.8147 | 751.36084 | 1749.5825200000002 | nan |
6 | 0.1 | 630.8077400000001 | 1051.99683 | nan | 654.9433600000001 | 1045.55249 | -104.84258000000001 | 444.30652000000003 | 1049.38757 | 13.387430000000002 | 535.10321 | 738.0898400000001 | 203.62639000000001 | 592.5150100000001 | nan | 121.33315 | 501.20685000000003 | 620.82605 | 196.24577000000002 | nan | nan | -156.03423 | 772.35175 | 742.25787 | nan | 713.1610700000001 | 646.65497 | -139.52066000000002 | 375.77795000000003 | 482.22336 | nan | nan | 407.60028000000005 | 138.39725 | nan | 403.77454000000006 | 193.35080000000002 | 756.08441 | 442.23431000000005 | -133.99379000000002 | nan | 400.24454000000003 | -77.59450000000001 | 744.59918 | 396.7373 | -143.63443 | 93.53649 | nan | 107.96611000000001 | 219.47504 | 117.48801 | 74.71632000000001 | nan | 99.71858 | 179.93013000000002 | 317.67944 | 40.65249 | 108.82865000000001 | 722.4545300000001 | 73.57777 | -52.950340000000004 | nan | 83.06837 | -22.647180000000002 | nan | 75.46108000000001 | -120.58668000000002 | 1002.7486600000001 | 71.09254 | -50.28877000000001 | 669.5058 | 1354.1054700000002 | -5.01989 | 572.24451 | 1451.80005 | 201.81273000000002 | 602.06042 | nan | nan | 590.79205 | 1252.99475 | 254.13115000000002 | 595.74579 | 1222.8592500000002 | -242.97070000000002 | nan | 1148.6759000000002 | 291.07318000000004 | nan | 1131.83167 | -277.63904 | nan | 946.59851 | nan | 702.83514 | 926.27173 | 323.48404000000005 | 640.10693 | 901.14435 | nan | 588.76013 | nan | -287.25162 | 260.43735000000004 | nan | nan | 274.95285 | 41.20525000000001 | nan | 939.0722700000001 | 54.592980000000004 | -128.03491 | 953.6607100000001 | 64.36980000000001 | -26.148970000000002 | 739.5401 | 1575.36292 | 78.13955 | 752.8810400000001 | 1577.24341 | -60.551320000000004 | 751.64526 | 1751.1157200000002 | 15.08665 |
7 | 0.117 | 634.3573 | 1053.59888 | 151.48531 | 656.46411 | nan | -108.35542000000001 | 446.83075 | 1050.6223100000002 | nan | 544.7229600000001 | 738.2121000000001 | 201.64484000000002 | 604.5097000000001 | 661.62036 | 121.05774000000001 | 513.22986 | 619.9285900000001 | 196.53305 | 674.53168 | 749.1281700000001 | -159.46423000000001 | nan | 743.04993 | -93.60475000000001 | 711.73584 | nan | nan | 387.18112 | 484.59857000000005 | nan | 428.80124 | 406.89310000000006 | 139.40385 | 345.48553000000004 | nan | 193.09653000000003 | 753.82123 | 442.04764000000006 | nan | 802.9320700000001 | 398.62927 | nan | 739.2414600000001 | 397.03458 | -147.34126 | 94.98832 | 207.49040000000002 | 107.03399 | nan | 125.96996000000001 | 75.26598000000001 | 192.58446 | 110.03806000000002 | 179.48466000000002 | 301.42526000000004 | 38.93748 | 109.33791000000001 | 705.33765 | 74.03343000000001 | -54.66131000000001 | 872.3795200000001 | 80.52281 | nan | 860.03241 | nan | -121.8632 | 985.6317100000001 | nan | -51.84297 | 670.8331300000001 | 1356.6711400000002 | -9.292580000000001 | 572.75836 | 1454.5996100000002 | 196.92804 | nan | nan | -221.10623 | 590.00787 | 1255.53772 | nan | 601.24188 | 1223.48523 | nan | nan | 1151.4834 | 286.39725000000004 | 542.94934 | nan | -280.45694000000003 | 725.0754400000001 | 942.78583 | 269.30731000000003 | 692.7287 | 924.3377100000001 | 323.41968 | 643.6822500000001 | 900.9467800000001 | -234.15486 | nan | 888.8829300000001 | -288.93704 | 243.86186 | 38.164410000000004 | 193.58971000000003 | 261.57364 | 44.61509 | 81.12685 | 921.7591600000001 | 50.09772 | -129.25052000000002 | 936.0639600000001 | 60.114940000000004 | -27.366380000000003 | 739.6069900000001 | 1577.7421900000002 | 73.24436 | 753.17957 | nan | -65.44061 | 752.39709 | 1753.56885 | 10.225100000000001 |
8 | 0.133 | 636.5860600000001 | 1055.2565900000002 | 148.46054 | 658.6814 | nan | nan | 448.95215 | 1052.2882100000002 | 8.533190000000001 | nan | nan | 201.58772000000002 | nan | 662.07452 | 121.77839000000002 | 526.7855800000001 | 618.5899000000001 | 197.48357000000001 | 673.34198 | 750.9431800000001 | -162.99290000000002 | 771.8970300000001 | 742.3364300000001 | -96.90478 | nan | 649.05853 | nan | 402.69037000000003 | 485.76764000000003 | 188.44481000000002 | 442.54022000000003 | 406.66714 | 140.14063000000002 | 358.56879000000004 | 411.94595000000004 | 193.13004 | 746.6130400000001 | nan | nan | 794.79785 | nan | -83.96312 | nan | 397.14545000000004 | -150.63176 | 101.89561 | 229.25220000000002 | 105.10458000000001 | 211.66443 | 135.61290000000002 | 75.40372 | 187.05954000000003 | 122.54012000000002 | 178.54959000000002 | 287.03329 | 36.682520000000004 | nan | 687.62341 | 74.29313 | nan | nan | 78.81071 | -25.52192 | 842.0206900000001 | 71.28556 | -123.03375000000001 | nan | 60.73584 | nan | nan | 1359.2253400000002 | nan | 573.2486 | nan | 192.6459 | 604.14795 | nan | -225.73322000000002 | 588.66913 | 1259.12073 | 245.03398 | 605.9312100000001 | 1224.2688 | -249.36713000000003 | 551.0739100000001 | 1155.10571 | nan | 548.08496 | 1131.09924 | -281.66373000000004 | 715.24152 | 940.1461800000001 | nan | 680.81293 | 923.0174000000001 | nan | 649.44653 | 900.4809 | -236.19994000000003 | 597.42749 | 890.0903300000001 | -290.82834 | 230.53894000000003 | 44.006780000000006 | 193.99550000000002 | 250.70145000000002 | 49.75068 | 81.76305 | 904.1502700000001 | nan | -130.31641000000002 | 918.01147 | 57.208110000000005 | -28.491270000000004 | 740.3411900000001 | 1580.11731 | 68.04765 | 754.1920200000001 | 1582.02112 | nan | nan | 1756.1861600000002 | 5.61364 |
9 | 0.15 | 637.7392600000001 | 1057.85437 | 144.71632000000002 | 660.5299100000001 | 1054.0529800000002 | -115.06461000000002 | 450.49979 | 1054.27356 | nan | 563.95862 | 737.61774 | 199.39542000000003 | 632.10297 | 663.8740200000001 | nan | 543.71594 | 617.5484 | 197.32835000000003 | 670.4732700000001 | nan | -166.39114 | 766.67487 | 741.1527100000001 | -100.99368000000001 | nan | 649.32263 | nan | 422.95267 | 488.47433000000007 | 188.63586 | 458.14078000000006 | 406.71533000000005 | 140.77057000000002 | 373.53732 | 415.87027000000006 | 192.30505000000002 | 736.60419 | 441.15430000000003 | nan | 783.63556 | 396.66898000000003 | -85.91944000000001 | 720.9874900000001 | 397.08990000000006 | -153.14619000000002 | 113.94633 | 251.35576000000003 | 101.89884 | 213.77849 | 146.09308000000001 | 75.11986 | 185.43004000000002 | 136.78993 | 177.14098 | 275.70932000000005 | 34.465340000000005 | 112.73006000000001 | 669.4969500000001 | 74.45683000000001 | -56.78135 | 837.11652 | 77.71363000000001 | -26.307000000000002 | 823.4304800000001 | 70.25358 | nan | 949.8602300000001 | nan | -54.74788 | 673.31812 | 1362.2764900000002 | -16.974510000000002 | 573.64575 | 1461.2915 | 188.83058000000003 | nan | 1465.2187500000002 | nan | 587.1824300000001 | 1262.35596 | nan | 610.59033 | 1225.60803 | nan | nan | 1159.11731 | nan | 554.20758 | 1132.0368700000001 | -284.90427 | 704.8026100000001 | 938.80182 | 270.11826 | 669.29614 | 922.3817100000001 | 322.03412000000003 | 654.2907100000001 | 900.93335 | nan | 605.25018 | 890.51007 | -294.28757 | 217.73599000000002 | 52.185520000000004 | 193.07756 | 243.33290000000002 | 56.695750000000004 | 82.82691000000001 | 886.2240600000001 | nan | -131.08205 | 899.70392 | 55.34391 | -29.368700000000004 | 740.63611 | 1582.9311500000001 | 64.22716000000001 | 754.6250600000001 | 1584.8737800000001 | -74.39068 | 752.89178 | 1758.74548 | 1.274 |
# Basic GLRM using quadratic loss and no regularization
model2 = H2OGeneralizedLowRankEstimator(k=10, init="SVD", svd_method = "GramSVD", loss="Quadratic", regularization_x="None", regularization_y="None", max_iterations=2000, min_step_size=1e-6)
model2.train(x=list(range(1,gait_miss.ncol)), training_frame=gait_miss, validation_frame=gait)
model2.show()
glrm Model Build Progress: [##################################################] 100% Model Details ============= H2OGeneralizedLowRankEstimator : Beta - Generalized Low Rank Model Model Key: GLRM_model_python_1449616108681_9 Model Summary:
number_of_iterations | final_step_size | final_objective_value | |
1000.0 | 0.0013404 | 417370.6542389 |
ModelMetricsGLRM: glrm ** Reported on train data. ** MSE: NaN Sum of Squared Error (Numeric): 417370.65961611824 Misclassification Error (Categorical): 0.0 ModelMetricsGLRM: glrm ** Reported on validation data. ** MSE: NaN Sum of Squared Error (Numeric): 860945.6344740451 Misclassification Error (Categorical): 0.0 Scoring History:
timestamp | duration | iteration | step_size | objective | |
2015-12-08 15:09:34 | 0.724 sec | 0.0 | 0.6666667 | 4709528.8513359 | |
2015-12-08 15:09:34 | 0.734 sec | 1.0 | 0.4444444 | 4709528.8513359 | |
2015-12-08 15:09:34 | 0.744 sec | 2.0 | 0.2222222 | 4709528.8513359 | |
2015-12-08 15:09:34 | 0.754 sec | 3.0 | 0.0740741 | 4709528.8513359 | |
2015-12-08 15:09:34 | 0.764 sec | 4.0 | 0.0185185 | 4709528.8513359 | |
--- | --- | --- | --- | --- | --- |
2015-12-08 15:09:48 | 14.574 sec | 995.0 | 0.0017368 | 418507.6754296 | |
2015-12-08 15:09:48 | 14.592 sec | 996.0 | 0.0018236 | 417934.4281432 | |
2015-12-08 15:09:48 | 14.612 sec | 997.0 | 0.0019148 | 417473.7912993 | |
2015-12-08 15:09:48 | 14.630 sec | 998.0 | 0.0020105 | 417370.6542389 | |
2015-12-08 15:09:48 | 14.649 sec | 999.0 | 0.0013404 | 417370.6542389 |
# Plot objective function value each iteration
model2_score = model2.score_history()
plt.xlabel("Iteration")
plt.ylabel("Objective")
plt.title("Objective Function Value per Iteration")
plt.plot(model2_score["iteration"], model2_score["objective"])
plt.show()
# Impute missing data from X and Y
pred2 = model2.predict(gait_miss)
pred2.head()
reconstr_R.ASIS.X | reconstr_R.ASIS.Y | reconstr_R.ASIS.Z | reconstr_L.ASIS.X | reconstr_L.ASIS.Y | reconstr_L.ASIS.Z | reconstr_V.Sacral.X | reconstr_V.Sacral.Y | reconstr_V.Sacral.Z | reconstr_R.Thigh.Upper.X | reconstr_R.Thigh.Upper.Y | reconstr_R.Thigh.Upper.Z | reconstr_R.Thigh.Front.X | reconstr_R.Thigh.Front.Y | reconstr_R.Thigh.Front.Z | reconstr_R.Thigh.Rear.X | reconstr_R.Thigh.Rear.Y | reconstr_R.Thigh.Rear.Z | reconstr_L.Thigh.Upper.X | reconstr_L.Thigh.Upper.Y | reconstr_L.Thigh.Upper.Z | reconstr_L.Thigh.Front.X | reconstr_L.Thigh.Front.Y | reconstr_L.Thigh.Front.Z | reconstr_L.Thigh.Rear.X | reconstr_L.Thigh.Rear.Y | reconstr_L.Thigh.Rear.Z | reconstr_R.Shank.Upper.X | reconstr_R.Shank.Upper.Y | reconstr_R.Shank.Upper.Z | reconstr_R.Shank.Front.X | reconstr_R.Shank.Front.Y | reconstr_R.Shank.Front.Z | reconstr_R.Shank.Rear.X | reconstr_R.Shank.Rear.Y | reconstr_R.Shank.Rear.Z | reconstr_L.Shank.Upper.X | reconstr_L.Shank.Upper.Y | reconstr_L.Shank.Upper.Z | reconstr_L.Shank.Front.X | reconstr_L.Shank.Front.Y | reconstr_L.Shank.Front.Z | reconstr_L.Shank.Rear.X | reconstr_L.Shank.Rear.Y | reconstr_L.Shank.Rear.Z | reconstr_R.Heel.X | reconstr_R.Heel.Y | reconstr_R.Heel.Z | reconstr_R.Midfoot.Sup.X | reconstr_R.Midfoot.Sup.Y | reconstr_R.Midfoot.Sup.Z | reconstr_R.Midfoot.Lat.X | reconstr_R.Midfoot.Lat.Y | reconstr_R.Midfoot.Lat.Z | reconstr_R.Toe.Tip.X | reconstr_R.Toe.Tip.Y | reconstr_R.Toe.Tip.Z | reconstr_L.Heel.X | reconstr_L.Heel.Y | reconstr_L.Heel.Z | reconstr_L.Midfoot.Sup.X | reconstr_L.Midfoot.Sup.Y | reconstr_L.Midfoot.Sup.Z | reconstr_L.Midfoot.Lat.X | reconstr_L.Midfoot.Lat.Y | reconstr_L.Midfoot.Lat.Z | reconstr_L.Toe.Tip.X | reconstr_L.Toe.Tip.Y | reconstr_L.Toe.Tip.Z | reconstr_Sternum.X | reconstr_Sternum.Y | reconstr_Sternum.Z | reconstr_R.Acromium.X | reconstr_R.Acromium.Y | reconstr_R.Acromium.Z | reconstr_L.Acromium.X | reconstr_L.Acromium.Y | reconstr_L.Acromium.Z | reconstr_R.Bicep.X | reconstr_R.Bicep.Y | reconstr_R.Bicep.Z | reconstr_L.Bicep.X | reconstr_L.Bicep.Y | reconstr_L.Bicep.Z | reconstr_R.Elbow.X | reconstr_R.Elbow.Y | reconstr_R.Elbow.Z | reconstr_L.Elbow.X | reconstr_L.Elbow.Y | reconstr_L.Elbow.Z | reconstr_R.Wrist.Med.X | reconstr_R.Wrist.Med.Y | reconstr_R.Wrist.Med.Z | reconstr_R.Wrist.Lat.X | reconstr_R.Wrist.Lat.Y | reconstr_R.Wrist.Lat.Z | reconstr_L.Wrist.Med.X | reconstr_L.Wrist.Med.Y | reconstr_L.Wrist.Med.Z | reconstr_L.Wrist.Lat.X | reconstr_L.Wrist.Lat.Y | reconstr_L.Wrist.Lat.Z | reconstr_R.Toe.Lat.X | reconstr_R.Toe.Lat.Y | reconstr_R.Toe.Lat.Z | reconstr_R.Toe.Med.X | reconstr_R.Toe.Med.Y | reconstr_R.Toe.Med.Z | reconstr_L.Toe.Lat.X | reconstr_L.Toe.Lat.Y | reconstr_L.Toe.Lat.Z | reconstr_L.Toe.Med.X | reconstr_L.Toe.Med.Y | reconstr_L.Toe.Med.Z | reconstr_R.Temple.X | reconstr_R.Temple.Y | reconstr_R.Temple.Z | reconstr_L.Temple.X | reconstr_L.Temple.Y | reconstr_L.Temple.Z | reconstr_Top.Head.X | reconstr_Top.Head.Y | reconstr_Top.Head.Z |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
617.592 | 1055.34 | 166.881 | 639.392 | 1045.88 | -95.0073 | 429.402 | 1054.16 | 24.4237 | 511.672 | 741.349 | 207.071 | 562.824 | 664.336 | 117.965 | 471.775 | 625.017 | 194.312 | 652.968 | 746.458 | -148.991 | 746.111 | 736.705 | -79.9441 | 689.472 | 643.922 | -137.583 | 350.918 | 470.833 | 181.841 | 411.959 | 411.566 | 129.466 | 334.591 | 384.765 | 186.227 | 745.94 | 445.226 | -132.997 | 810.045 | 414.635 | -82.6204 | 742.127 | 397.824 | -140.804 | 154.235 | 106.848 | 99.4295 | 296.865 | 84.8266 | 64.5912 | 284.278 | 66.6576 | 172.955 | 426.016 | 41.8761 | 106.776 | 799.709 | 66.6214 | -56.2305 | 957.549 | 117.062 | -30.765 | 940.436 | 107.821 | -126.887 | 1067.34 | 133.456 | -62.567 | 659.885 | 1359.9 | 11.2335 | 566.522 | 1455.81 | 222.727 | 590.309 | 1469.51 | -199.031 | 595.374 | 1255.29 | 272.869 | 576.103 | 1232.14 | -230.105 | 569.674 | 1148.27 | 309.208 | 509.751 | 1142.97 | -264.784 | 773.289 | 979.873 | 267.26 | 750.188 | 947.972 | 321.992 | 617.356 | 911.251 | -224.769 | 564.974 | 901.161 | -280.831 | 362.647 | 27.5168 | 189.759 | 374.345 | 35.3889 | 78.3655 | 1031.18 | 104.841 | -136.593 | 1034.03 | 115.471 | -35.8575 | 725.952 | 1591.59 | 93.5011 | 735.453 | 1596.06 | -46.007 | 712.75 | 1764.31 | 31.7543 |
616.547 | 1056.76 | 164.662 | 637.183 | 1047.85 | -97.2109 | 427.829 | 1057.2 | 22.6616 | 511.944 | 741.813 | 207.514 | 565.439 | 664.832 | 120.562 | 474.033 | 625.162 | 196.514 | 646.457 | 747.057 | -151.656 | 737.591 | 735.259 | -82.9041 | 680.084 | 643.408 | -140.333 | 352.262 | 475.13 | 183.83 | 412.012 | 412.904 | 133.641 | 332.651 | 390.682 | 188.44 | 733.837 | 444.355 | -135.383 | 797.132 | 414.506 | -85.767 | 731.389 | 397.123 | -142.74 | 146.064 | 123.324 | 97.9266 | 284.7 | 94.4504 | 68.8091 | 268.194 | 78.5291 | 175.556 | 405.45 | 44.9198 | 115.252 | 796.623 | 69.9925 | -55.7809 | 948.895 | 117.022 | -32.6528 | 889.433 | 111.887 | -128.865 | 1055.11 | 135.908 | -66.0222 | 658.789 | 1358.04 | 9.53695 | 569.744 | 1455.74 | 221.465 | 591.289 | 1470.58 | -199.958 | 595.148 | 1256.47 | 272.364 | 574.047 | 1233.69 | -230.433 | 568.022 | 1149.41 | 309.709 | 507.014 | 1145.36 | -264.697 | 769.076 | 979.082 | 270.032 | 745.859 | 947.591 | 325.723 | 608.857 | 910.462 | -227.047 | 557.106 | 902.021 | -283.533 | 341.064 | 36.0967 | 194.645 | 356.067 | 42.0878 | 85.3696 | 1021.61 | 108.477 | -138.852 | 1031.52 | 117.591 | -39.253 | 737.673 | 1576.42 | 93.5999 | 748.297 | 1579.24 | -45.9205 | 750.47 | 1752.56 | 32.5052 |
622.156 | 1051.89 | 163.157 | 644.561 | 1044.49 | -98.2228 | 434.947 | 1051.62 | 19.9928 | 514.723 | 738.038 | 205.289 | 568.586 | 659.716 | 118.843 | 474.874 | 621.263 | 193.988 | 659.896 | 747.312 | -152.14 | 753.83 | 738.455 | -84.8047 | 696.728 | 645.595 | -139.414 | 351.907 | 471.731 | 182.482 | 408.307 | 408.237 | 131.201 | 329.908 | 387.834 | 187.011 | 749.704 | 445.167 | -134.883 | 812.113 | 410.98 | -84.4715 | 743.106 | 398.113 | -143.241 | 133.483 | 131.154 | 100.186 | 268.989 | 93.4827 | 66.5017 | 253.337 | 75.954 | 173.597 | 386.101 | 39.6011 | 107.917 | 776.462 | 65.3542 | -56.9821 | 940.994 | 104.251 | -31.4202 | 935.021 | 95.6622 | -127.332 | 1052.33 | 115.083 | -62.2867 | 664.46 | 1355.01 | 5.5932 | 572.075 | 1452.38 | 216.459 | 595.908 | 1464.34 | -204.359 | 598.629 | 1252.67 | 267.388 | 580.237 | 1226.96 | -234.973 | 571.451 | 1146.41 | 304.191 | 513.938 | 1137.83 | -269.027 | 769.714 | 970.498 | 267.138 | 745.277 | 940.467 | 322.001 | 618.49 | 904.685 | -229.735 | 565.522 | 895.015 | -285.547 | 323.823 | 29.3397 | 190.325 | 337.862 | 36.04 | 79.2282 | 1004.49 | 88.069 | -136.238 | 1012.66 | 98.6189 | -35.2716 | 736.128 | 1578.89 | 87.6581 | 746.746 | 1582.15 | -50.7452 | 739.45 | 1752.99 | 26.347 |
621.968 | 1051.51 | 161.288 | 644.432 | 1044.82 | -99.4408 | 435.265 | 1051.14 | 18.3324 | 517.778 | 737.629 | 204.746 | 573.515 | 659.737 | 119.764 | 479.669 | 620.612 | 194.433 | 662.796 | 748.397 | -153.294 | 757.27 | 740.683 | -86.5735 | 700.385 | 647.023 | -139.967 | 356.172 | 473.72 | 182.912 | 410.289 | 407.518 | 132.598 | 330.534 | 390.805 | 187.372 | 751.86 | 445.722 | -135.138 | 813.116 | 409.489 | -84.6309 | 743.492 | 398.791 | -143.541 | 124.611 | 145.061 | 99.2328 | 256.621 | 98.8707 | 67.2945 | 238.766 | 82.2159 | 173.348 | 367.499 | 37.6717 | 109.25 | 763.38 | 64.99 | -55.8715 | 931.636 | 98.3185 | -30.9051 | 929.013 | 90.278 | -126.767 | 1044.14 | 105.246 | -62.0991 | 663.789 | 1353.88 | 3.21573 | 571.523 | 1451.5 | 213.274 | 595.388 | 1462.52 | -206.377 | 597.105 | 1252.41 | 264.705 | 580.198 | 1225.47 | -236.365 | 569.251 | 1146.74 | 301.66 | 514.408 | 1136.31 | -269.938 | 763.79 | 967.124 | 267.583 | 738.354 | 938.406 | 322.154 | 617.453 | 903.068 | -230.713 | 564.57 | 893.571 | -286.423 | 305.094 | 31.247 | 190.557 | 320.972 | 37.0906 | 80.0161 | 990.786 | 79.9036 | -135.731 | 1000.01 | 90.2548 | -34.8167 | 736.544 | 1575.1 | 85.0311 | 747.543 | 1577.88 | -52.8016 | 744.812 | 1749.3 | 23.874 |
622.111 | 1050.3 | 159.175 | 644.55 | 1044.11 | -100.599 | 436.068 | 1049.45 | 16.6962 | 522.243 | 736.647 | 203.96 | 579.825 | 659.467 | 120.473 | 486.146 | 619.454 | 194.571 | 666.23 | 748.52 | -154.39 | 761.449 | 742.01 | -88.5712 | 704.716 | 647.524 | -140.553 | 362.351 | 475.371 | 183.115 | 413.816 | 406.237 | 133.549 | 332.73 | 393.424 | 187.439 | 754.204 | 445.868 | -135.647 | 813.537 | 407.333 | -84.8786 | 743.683 | 399.496 | -144.061 | 115.908 | 159.363 | 98.1248 | 244.303 | 103.864 | 67.5568 | 224.36 | 88.1556 | 172.553 | 348.82 | 34.6052 | 109.7 | 746.814 | 67.3683 | -55.0607 | 917.537 | 93.1141 | -30.2677 | 921.157 | 85.6225 | -126.095 | 1030.34 | 94.6808 | -61.5975 | 663.116 | 1351.83 | 0.876821 | 570.624 | 1449.39 | 209.838 | 594.829 | 1459.43 | -208.229 | 595.378 | 1250.93 | 261.588 | 580.797 | 1222.8 | -237.534 | 566.837 | 1145.94 | 298.51 | 515.763 | 1133.62 | -270.691 | 756.982 | 962.257 | 267.746 | 730.357 | 934.969 | 321.866 | 616.896 | 900.004 | -231.742 | 564.093 | 890.825 | -287.379 | 286.397 | 32.3673 | 190.012 | 303.984 | 37.3061 | 80.0287 | 972.593 | 71.9331 | -135.037 | 982.593 | 81.8547 | -34.1431 | 735.719 | 1571.2 | 82.2085 | 746.997 | 1573.65 | -54.9462 | 746.778 | 1745.05 | 21.1888 |
624.841 | 1051.43 | 156.764 | 647.685 | 1045.55 | -103.196 | 438.819 | 1050.09 | 14.0989 | 528.897 | 736.473 | 203.229 | 588.483 | 659.61 | 121.004 | 494.842 | 618.768 | 194.952 | 667.114 | 749.149 | -156.445 | 762.297 | 741.617 | -90.77 | 703.943 | 647.783 | -141.863 | 371.656 | 478.011 | 183.997 | 419.903 | 406.448 | 134.766 | 338.262 | 397.958 | 188.227 | 750.665 | 444.954 | -136.844 | 808.628 | 405.349 | -85.1711 | 739.292 | 398.862 | -145.325 | 113.17 | 177.755 | 97.65 | 236.042 | 113.224 | 68.2548 | 214.294 | 99.1359 | 172.779 | 332.062 | 36.8681 | 110.709 | 733.86 | 67.8694 | -55.4051 | 904.764 | 89.8697 | -28.9355 | 910.628 | 82.3937 | -125.284 | 1017.68 | 88.6806 | -59.5434 | 665.146 | 1353.31 | -2.4333 | 571.285 | 1451.46 | 206.028 | 597.56 | 1460.08 | -212.391 | 594.463 | 1252.82 | 258.353 | 586.405 | 1222.7 | -240.542 | 564.328 | 1148.18 | 295.143 | 522.797 | 1132.75 | -273.631 | 749.295 | 958.648 | 268.373 | 721.209 | 932.959 | 322.361 | 623.414 | 898.884 | -233.844 | 571.181 | 889.612 | -289.927 | 270.82 | 39.1103 | 190.369 | 289.874 | 42.713 | 80.6396 | 956.314 | 67.3024 | -133.688 | 969.797 | 77.1494 | -32.441 | 737.426 | 1572.53 | 78.4398 | 749.247 | 1574.61 | -58.8066 | 750.245 | 1746.76 | 16.8909 |
628.708 | 1052.29 | 154.515 | 652.158 | 1046.73 | -105.558 | 442.902 | 1050.17 | 11.5271 | 536.184 | 736.63 | 202.429 | 597.639 | 659.947 | 121.351 | 503.624 | 618.455 | 194.952 | 671.61 | 750.11 | -158.3 | 767.619 | 742.564 | -93.0836 | 708.114 | 648.749 | -142.816 | 380.163 | 480.515 | 184.564 | 424.961 | 405.973 | 135.369 | 342.584 | 401.724 | 188.646 | 752.614 | 444.67 | -137.835 | 809.068 | 403.165 | -85.2165 | 739.501 | 398.948 | -146.57 | 105.626 | 194.903 | 97.5663 | 224.057 | 119.899 | 68.2116 | 200.741 | 106.76 | 172.413 | 312.806 | 35.5188 | 109.897 | 718.824 | 68.633 | -55.9269 | 892.614 | 84.8522 | -27.6775 | 912.487 | 76.794 | -124.349 | 1006.38 | 79.2012 | -57.1989 | 668.326 | 1354.87 | -5.82511 | 572.562 | 1453.37 | 202.022 | 601.068 | 1460.35 | -216.625 | 594.714 | 1254.43 | 254.845 | 592.635 | 1222.16 | -243.897 | 563.31 | 1150.18 | 291.433 | 530.27 | 1131.39 | -276.902 | 743.388 | 954.533 | 268.566 | 713.815 | 930.462 | 322.187 | 630.663 | 897.009 | -236.313 | 578.456 | 887.617 | -292.652 | 252.397 | 41.5592 | 189.669 | 272.704 | 44.1503 | 79.7287 | 940.435 | 59.2992 | -132.132 | 953.203 | 69.338 | -30.2605 | 738.799 | 1575.16 | 74.2595 | 751.044 | 1577.01 | -62.8588 | 751.039 | 1749.32 | 12.336 |
629.66 | 1054.18 | 151.52 | 652.419 | 1048.14 | -107.89 | 443.812 | 1051.25 | 9.37437 | 545.266 | 737.565 | 201.858 | 609.06 | 662.461 | 122.379 | 516.499 | 618.97 | 195.843 | 671.681 | 750.244 | -160.732 | 767.504 | 742.147 | -96.2162 | 707.123 | 648.133 | -145.203 | 393.919 | 484.71 | 185.369 | 436.086 | 406.782 | 137.221 | 351.775 | 407.196 | 189.359 | 748.179 | 444.341 | -140.281 | 801.596 | 401.626 | -87.0782 | 733.961 | 399.76 | -148.543 | 104.44 | 212.581 | 95.3332 | 218.513 | 128.452 | 69.1832 | 192.369 | 117.451 | 172.126 | 299.493 | 34.9597 | 112.99 | 702.883 | 77.585 | -55.7632 | 872.07 | 85.2997 | -27.5806 | 878.389 | 79.7422 | -124.78 | 982.814 | 74.8541 | -57.8961 | 667.965 | 1355.43 | -8.40202 | 572.552 | 1454.2 | 198.55 | 601.654 | 1460.76 | -219.035 | 592.725 | 1255.7 | 251.651 | 595.579 | 1222.68 | -245.011 | 559.876 | 1151.96 | 288.266 | 534.425 | 1131.76 | -277.787 | 734.064 | 951.557 | 269.634 | 702.929 | 928.916 | 323.001 | 631.582 | 895.768 | -238.016 | 580.031 | 887.22 | -294.835 | 238.793 | 47.4399 | 190.435 | 261.496 | 48.4732 | 81.837 | 922.559 | 59.4147 | -132.728 | 935.42 | 67.7954 | -31.142 | 740.317 | 1572.32 | 71.6171 | 752.971 | 1573.72 | -65.4065 | 757.96 | 1746.91 | 9.68498 |
632.887 | 1056.96 | 147.665 | 655.762 | 1050.67 | -111.877 | 446.888 | 1053.17 | 5.60209 | 556.364 | 739.168 | 200.613 | 622.967 | 665.292 | 122.623 | 531.43 | 620.024 | 196.11 | 671.388 | 751.576 | -164.025 | 767.076 | 741.89 | -99.7132 | 704.421 | 648.756 | -147.617 | 410.24 | 489.399 | 186.058 | 449.196 | 408.311 | 138.624 | 363.599 | 413.566 | 190.07 | 741.25 | 443.535 | -142.481 | 792.781 | 399.458 | -88.2712 | 725.893 | 399.394 | -150.671 | 106.096 | 233.285 | 94.0924 | 214.846 | 138.836 | 70.1094 | 186.129 | 129.627 | 172.277 | 286.915 | 36.4198 | 115.077 | 684.146 | 79.5919 | -56.3313 | 852.654 | 81.8992 | -26.6655 | 858.034 | 76.8904 | -124.494 | 963.129 | 67.779 | -56.4657 | 670.302 | 1358.16 | -12.9493 | 573.444 | 1457.72 | 193.24 | 605.234 | 1462.77 | -224.564 | 590.928 | 1259.09 | 246.969 | 603.09 | 1223.96 | -248.945 | 555.795 | 1155.95 | 283.403 | 543.926 | 1131.99 | -281.67 | 722.998 | 948.25 | 270.14 | 689.788 | 927.59 | 323.176 | 641.112 | 896.109 | -240.681 | 590.363 | 887.314 | -298.081 | 226.683 | 54.419 | 191.207 | 251.602 | 54.0922 | 83.1826 | 902.502 | 54.6889 | -131.954 | 917.624 | 62.5262 | -30.0411 | 743.047 | 1574.02 | 66.5511 | 756.373 | 1574.97 | -70.581 | 763.961 | 1749.2 | 4.133 |
636.729 | 1063.8 | 145.457 | 659.754 | 1056.98 | -115.186 | 449.774 | 1058.73 | 3.25221 | 568.597 | 743.134 | 200.711 | 637.709 | 670.543 | 123.433 | 547.561 | 623.012 | 197.489 | 671.77 | 754.938 | -166.764 | 767.495 | 743.481 | -101.967 | 702.372 | 650.905 | -149.668 | 428.337 | 495.202 | 187.617 | 464.454 | 411.606 | 140.419 | 377.854 | 421.003 | 191.455 | 735.764 | 444.037 | -144.251 | 785.574 | 399.119 | -88.5592 | 719.708 | 400.205 | -152.243 | 112.901 | 252.845 | 92.9059 | 216.56 | 150.167 | 70.768 | 185.852 | 143.172 | 172.756 | 280.731 | 40.2268 | 117.035 | 670.584 | 82.5269 | -56.3484 | 837.97 | 81.9302 | -24.7279 | 841.261 | 77.231 | -123.592 | 948.139 | 64.6959 | -54.1548 | 672.992 | 1366.69 | -15.997 | 573.535 | 1466.79 | 190.117 | 608.491 | 1470.52 | -229.469 | 589.191 | 1267.15 | 244.561 | 611.505 | 1230.06 | -252.28 | 551.978 | 1164.06 | 280.738 | 554.467 | 1136.61 | -285.165 | 713.049 | 949.295 | 272.15 | 677.827 | 930.481 | 324.889 | 652.427 | 900.473 | -242.45 | 602.644 | 891.34 | -300.757 | 221.212 | 63.9514 | 192.229 | 247.901 | 62.0311 | 84.3735 | 888.914 | 53.7524 | -130.764 | 902.444 | 61.3355 | -28.202 | 743.58 | 1585.41 | 63.153 | 757.383 | 1586.24 | -74.8574 | 761.444 | 1761.16 | -0.187107 |
# Plot original and imputed L.Acromium.X over time
lacro_pred_np2 = np.array(h2o.as_list(pred2["reconstr_L.Acromium.X"]))
plt.plot(time_np, lacro_np, 'b-')
plt.plot(time_np, lacro_pred_np2, 'g-')
# Mark points where training data contains missing values
idx_miss = list(zip(*gait_miss["L.Acromium.X"].isna().which().as_data_frame(True).values.tolist()))
plt.plot(time_np[idx_miss], lacro_np[idx_miss], "o", marker = "x", ms = 8, mew = 1.5, mec = "r")
plt.title("Position of Left Acromium over Time")
plt.xlabel("Time")
plt.ylabel("X-Coordinate of Left Acromium")
blue_patch = mpatches.Patch(color = 'blue', label = 'Original')
green_patch = mpatches.Patch(color = 'green', label = 'Imputed')
red_patch = mpatches.Patch(color = 'red', label = "Missing")
plt.legend([blue_patch, green_patch, red_patch], ["Original", "Imputed", "Missing"])
plt.show()