lynxkite / examples /Model use
darabos's picture
Replace default_display with an input_metadata field with simpler semantics.
dfe2d8f
raw
history blame
50.5 kB
{
"edges": [
{
"id": "Import Parquet 1 Train/test split 1",
"source": "Import Parquet 1",
"sourceHandle": "output",
"target": "Train/test split 1",
"targetHandle": "bundle"
},
{
"id": "Train/test split 1 Define model 1",
"source": "Train/test split 1",
"sourceHandle": "output",
"target": "Define model 1",
"targetHandle": "bundle"
},
{
"id": "Define model 1 Train model 2",
"source": "Define model 1",
"sourceHandle": "output",
"target": "Train model 2",
"targetHandle": "bundle"
},
{
"id": "Train model 2 Model inference 1",
"source": "Train model 2",
"sourceHandle": "output",
"target": "Model inference 1",
"targetHandle": "bundle"
},
{
"id": "Model inference 1 View tables 1",
"source": "Model inference 1",
"sourceHandle": "output",
"target": "View tables 1",
"targetHandle": "bundle"
}
],
"env": "LynxKite Graph Analytics",
"nodes": [
{
"data": {
"__execution_delay": 0.0,
"collapsed": null,
"display": null,
"error": null,
"input_metadata": [
{
"dataframes": {
"df": {
"columns": [
"x",
"y"
]
}
},
"other": {},
"relations": []
}
],
"meta": {
"inputs": {
"bundle": {
"name": "bundle",
"position": "left",
"type": {
"type": "<class 'lynxkite_graph_analytics.core.Bundle'>"
}
}
},
"name": "Train/test split",
"outputs": {
"output": {
"name": "output",
"position": "right",
"type": {
"type": "None"
}
}
},
"params": {
"table_name": {
"default": null,
"name": "table_name",
"type": {
"type": "<class 'str'>"
}
},
"test_ratio": {
"default": 0.1,
"name": "test_ratio",
"type": {
"type": "<class 'float'>"
}
}
},
"type": "basic"
},
"params": {
"table_name": "df",
"test_ratio": 0.1
},
"status": "done",
"title": "Train/test split"
},
"dragHandle": ".bg-primary",
"height": 282.0,
"id": "Train/test split 1",
"position": {
"x": 345.0,
"y": 139.0
},
"type": "basic",
"width": 259.0
},
{
"data": {
"__execution_delay": 0.0,
"collapsed": null,
"display": null,
"error": null,
"input_metadata": [],
"meta": {
"inputs": {},
"name": "Import Parquet",
"outputs": {
"output": {
"name": "output",
"position": "right",
"type": {
"type": "None"
}
}
},
"params": {
"filename": {
"default": null,
"name": "filename",
"type": {
"type": "<class 'str'>"
}
}
},
"type": "basic"
},
"params": {
"filename": "uploads/plus-one-dataset.parquet"
},
"status": "done",
"title": "Import Parquet"
},
"dragHandle": ".bg-primary",
"height": 403.0,
"id": "Import Parquet 1",
"position": {
"x": -166.0,
"y": 112.0
},
"type": "basic",
"width": 371.0
},
{
"data": {
"display": {
"dataframes": {
"df": {
"columns": [
"x",
"y"
],
"data": [
[
"[0.52046251 0.45887971 0.72169858 0.29517919]",
"[1.52046251 1.45887971 1.72169852 1.29517913]"
],
[
"[0.85706753 0.61447072 0.41741937 0.85147089]",
"[1.85706758 1.61447072 1.41741943 1.85147095]"
],
[
"[0.11560339 0.57495481 0.76535827 0.0391947 ]",
"[1.11560345 1.57495475 1.76535821 1.0391947 ]"
],
[
"[0.19409031 0.68692201 0.60667384 0.57829887]",
"[1.19409037 1.68692207 1.60667384 1.57829881]"
],
[
"[0.76807946 0.98855817 0.08259124 0.01730657]",
"[1.76807952 1.98855817 1.0825913 1.01730657]"
],
[
"[0.67269951 0.10478973 0.5584439 0.83605725]",
"[1.67269945 1.10478973 1.5584439 1.83605719]"
],
[
"[0.18686318 0.49356437 0.51323432 0.75392658]",
"[1.18686318 1.49356437 1.51323438 1.75392652]"
],
[
"[0.18149549 0.30520517 0.30946714 0.16786289]",
"[1.18149543 1.30520511 1.30946708 1.16786289]"
],
[
"[4.27091718e-01 4.89909172e-01 6.92297399e-01 2.57611275e-04]",
"[1.42709172 1.48990917 1.69229746 1.00025761]"
],
[
"[0.32225502 0.16999388 0.05823922 0.9628762 ]",
"[1.32225502 1.16999388 1.05823922 1.9628762 ]"
],
[
"[0.50783676 0.04156506 0.21984279 0.8454656 ]",
"[1.50783682 1.04156506 1.21984279 1.84546566]"
],
[
"[0.98324287 0.99464184 0.14008355 0.47651017]",
"[1.98324287 1.99464178 1.14008355 1.47651017]"
],
[
"[0.11693293 0.49860179 0.55020827 0.88832849]",
"[1.11693287 1.49860179 1.55020833 1.88832855]"
],
[
"[0.48959708 0.48549271 0.32688856 0.356677 ]",
"[1.48959708 1.48549271 1.32688856 1.35667706]"
],
[
"[0.50272274 0.54912758 0.17663097 0.79070699]",
"[1.50272274 1.54912758 1.17663097 1.79070699]"
],
[
"[0.04508126 0.76880038 0.80721325 0.62542385]",
"[1.04508126 1.76880038 1.80721331 1.62542391]"
],
[
"[0.19908059 0.17570406 0.51475513 0.1893943 ]",
"[1.19908059 1.175704 1.51475513 1.18939424]"
],
[
"[0.40167677 0.25953674 0.9407078 0.76308483]",
"[1.40167677 1.25953674 1.9407078 1.76308489]"
],
[
"[0.2480728 0.21694398 0.63941365 0.57128876]",
"[1.24807286 1.21694398 1.6394136 1.57128882]"
],
[
"[0.24388778 0.07268471 0.68350857 0.73431659]",
"[1.24388778 1.07268476 1.68350863 1.73431659]"
],
[
"[0.62569475 0.9881897 0.83639616 0.9828859 ]",
"[1.62569475 1.9881897 1.83639622 1.98288584]"
],
[
"[0.56922203 0.98222166 0.76851749 0.28615737]",
"[1.56922197 1.9822216 1.76851749 1.28615737]"
],
[
"[0.88776821 0.51636773 0.30333066 0.32230979]",
"[1.88776827 1.51636767 1.30333066 1.32230973]"
],
[
"[0.90817457 0.89270043 0.38583666 0.66566533]",
"[1.90817451 1.89270043 1.3858366 1.66566539]"
],
[
"[0.48507756 0.80808765 0.77162558 0.47834778]",
"[1.48507762 1.80808759 1.77162552 1.47834778]"
],
[
"[0.68062544 0.98093534 0.14778823 0.53244978]",
"[1.68062544 1.98093534 1.14778829 1.53244972]"
],
[
"[0.31518555 0.49643308 0.11509258 0.95458382]",
"[1.31518555 1.49643302 1.11509252 1.95458388]"
],
[
"[0.79121011 0.54161114 0.69369799 0.1520769 ]",
"[1.79121017 1.54161119 1.69369793 1.15207696]"
],
[
"[0.79423058 0.07138705 0.061777 0.18766576]",
"[1.79423058 1.07138705 1.061777 1.1876657 ]"
],
[
"[0.23942459 0.90487361 0.69337189 0.65089428]",
"[1.23942459 1.90487361 1.69337189 1.65089428]"
],
[
"[0.94516498 0.08422136 0.5608117 0.07652664]",
"[1.94516492 1.08422136 1.56081176 1.07652664]"
],
[
"[0.26661873 0.45946234 0.13510543 0.81294441]",
"[1.26661873 1.4594624 1.13510537 1.81294441]"
],
[
"[0.30754459 0.77694583 0.09278506 0.38326019]",
"[1.30754459 1.77694583 1.09278512 1.38326025]"
],
[
"[0.27845025 0.32472342 0.82203609 0.77107543]",
"[1.27845025 1.32472348 1.82203603 1.77107549]"
],
[
"[0.4827103 0.10563457 0.98858833 0.82286644]",
"[1.48271036 1.10563457 1.98858833 1.82286644]"
],
[
"[0.98033333 0.97656083 0.38939917 0.81491041]",
"[1.98033333 1.97656083 1.38939917 1.81491041]"
],
[
"[0.74064726 0.4155122 0.09800029 0.49930882]",
"[1.74064732 1.4155122 1.09800029 1.49930882]"
],
[
"[0.78956431 0.87284744 0.06880784 0.03455889]",
"[1.78956437 1.87284744 1.06880784 1.03455889]"
],
[
"[0.94221359 0.57740951 0.98649532 0.40934443]",
"[1.94221354 1.57740951 1.98649526 1.40934443]"
],
[
"[0.00497234 0.39319336 0.57054168 0.75150961]",
"[1.00497234 1.39319336 1.57054162 1.75150967]"
],
[
"[0.44330525 0.09997386 0.89025736 0.90507984]",
"[1.44330525 1.09997392 1.89025736 1.90507984]"
],
[
"[0.72290605 0.96945059 0.68354797 0.15270454]",
"[1.72290611 1.96945059 1.68354797 1.15270448]"
],
[
"[0.75292218 0.81470108 0.49657214 0.56217098]",
"[1.75292218 1.81470108 1.49657214 1.56217098]"
],
[
"[0.33480108 0.59181517 0.76198453 0.98062384]",
"[1.33480108 1.59181523 1.76198459 1.98062384]"
],
[
"[0.52784437 0.54268694 0.12358981 0.72116476]",
"[1.52784443 1.54268694 1.12358975 1.7211647 ]"
],
[
"[0.73217702 0.65233225 0.44077861 0.33837909]",
"[1.73217702 1.65233231 1.44077861 1.33837914]"
],
[
"[0.34084332 0.73018837 0.54168713 0.91440833]",
"[1.34084332 1.73018837 1.54168713 1.91440833]"
],
[
"[0.60110539 0.3618983 0.32342511 0.98672163]",
"[1.60110545 1.3618983 1.32342505 1.98672163]"
],
[
"[0.77427191 0.21829212 0.12769502 0.74303615]",
"[1.77427197 1.21829212 1.12769508 1.74303615]"
],
[
"[0.08107251 0.2602725 0.18861133 0.44833237]",
"[1.08107257 1.2602725 1.18861127 1.44833231]"
],
[
"[0.59812403 0.78395379 0.0291847 0.81814629]",
"[1.59812403 1.78395379 1.0291847 1.81814623]"
],
[
"[0.93488538 0.73882395 0.37345302 0.0274905 ]",
"[1.93488538 1.73882389 1.37345302 1.0274905 ]"
],
[
"[0.30631393 0.48311198 0.87847513 0.67559886]",
"[1.30631399 1.48311198 1.87847519 1.67559886]"
],
[
"[0.18720162 0.74115586 0.98626411 0.30355608]",
"[1.18720162 1.74115586 1.98626411 1.30355608]"
],
[
"[0.85566247 0.83362883 0.48424995 0.25265992]",
"[1.85566247 1.83362889 1.48424995 1.25265992]"
],
[
"[0.95928186 0.84273899 0.71514636 0.38619852]",
"[1.95928192 1.84273899 1.7151463 1.38619852]"
],
[
"[0.32565445 0.90939188 0.07488042 0.13730896]",
"[1.32565451 1.90939188 1.07488036 1.13730896]"
],
[
"[0.9829582 0.59269661 0.40120947 0.95487177]",
"[1.9829582 1.59269667 1.40120947 1.95487177]"
],
[
"[0.79905868 0.89367443 0.75429088 0.3190186 ]",
"[1.79905868 1.89367437 1.75429082 1.3190186 ]"
],
[
"[0.54914117 0.03810108 0.87531954 0.73044223]",
"[1.54914117 1.03810108 1.87531948 1.73044229]"
],
[
"[0.67418337 0.79634351 0.23229051 0.71345252]",
"[1.67418337 1.79634356 1.23229051 1.71345258]"
],
[
"[0.87285906 0.48354989 0.39394957 0.59456545]",
"[1.872859 1.48354983 1.39394951 1.59456539]"
],
[
"[0.81788456 0.58174163 0.29376316 0.7971254 ]",
"[1.81788456 1.58174157 1.29376316 1.79712534]"
],
[
"[0.94559073 0.65736622 0.25761551 0.48553199]",
"[1.94559073 1.65736628 1.25761557 1.48553205]"
],
[
"[0.60075855 0.12234765 0.00614399 0.30560958]",
"[1.60075855 1.12234759 1.00614405 1.30560958]"
],
[
"[0.39147133 0.29854035 0.84663737 0.58175623]",
"[1.39147139 1.29854035 1.84663737 1.58175623]"
],
[
"[0.02162331 0.81861657 0.92468154 0.07808572]",
"[1.02162337 1.81861663 1.92468154 1.07808566]"
],
[
"[0.02235305 0.52774918 0.7331115 0.84358269]",
"[1.02235305 1.52774918 1.7331115 1.84358263]"
],
[
"[0.6080932 0.56563014 0.32107437 0.72599429]",
"[1.60809326 1.5656302 1.32107437 1.72599435]"
],
[
"[0.67447788 0.6125319 0.98007888 0.65968603]",
"[1.67447782 1.6125319 1.98007894 1.65968609]"
],
[
"[0.47963417 0.81818312 0.48720706 0.49339259]",
"[1.47963417 1.81818318 1.48720706 1.49339259]"
],
[
"[0.9630242 0.76359051 0.24853623 0.76881069]",
"[1.96302414 1.76359057 1.24853623 1.76881075]"
],
[
"[0.60609657 0.96257663 0.19292736 0.95702219]",
"[1.60609651 1.96257663 1.19292736 1.95702219]"
],
[
"[0.80654246 0.08253473 0.74478531 0.71257162]",
"[1.8065424 1.08253479 1.74478531 1.71257162]"
],
[
"[0.70167565 0.26930219 0.5660674 0.61194974]",
"[1.70167565 1.26930213 1.56606746 1.61194968]"
],
[
"[0.76933283 0.86241865 0.44114518 0.65644735]",
"[1.76933289 1.86241865 1.44114518 1.65644741]"
],
[
"[0.59492421 0.90274489 0.38069052 0.46101224]",
"[1.59492421 1.90274489 1.38069057 1.46101224]"
],
[
"[0.15064228 0.03198934 0.25754827 0.51484001]",
"[1.15064228 1.03198934 1.25754833 1.51484001]"
],
[
"[0.12024075 0.21342516 0.56858408 0.58644271]",
"[1.12024069 1.21342516 1.56858408 1.58644271]"
],
[
"[0.91730917 0.22574073 0.09591609 0.33056474]",
"[1.91730917 1.22574067 1.09591603 1.33056474]"
],
[
"[0.49691743 0.61873293 0.90698647 0.94486356]",
"[1.49691749 1.61873293 1.90698647 1.94486356]"
],
[
"[0.6032477 0.83361369 0.18538666 0.19108021]",
"[1.60324764 1.83361363 1.18538666 1.19108021]"
],
[
"[0.63235509 0.70352674 0.96188956 0.46240485]",
"[1.63235509 1.70352674 1.96188951 1.46240485]"
],
[
"[0.37959969 0.42820001 0.10690689 0.96353984]",
"[1.37959969 1.42820001 1.10690689 1.96353984]"
],
[
"[0.49607176 0.1922397 0.46640229 0.78321403]",
"[1.49607182 1.19223976 1.46640229 1.78321409]"
],
[
"[0.40234613 0.54987347 0.49542785 0.54153186]",
"[1.40234613 1.54987347 1.49542785 1.5415318 ]"
],
[
"[0.80893755 0.92237449 0.88346356 0.93164903]",
"[1.80893755 1.92237449 1.88346362 1.93164897]"
],
[
"[0.12858278 0.09930819 0.83222693 0.72485673]",
"[1.12858272 1.09930825 1.83222699 1.72485673]"
],
[
"[0.72470158 0.4940322 0.41027349 0.89364016]",
"[1.72470164 1.49403214 1.41027355 1.89364016]"
],
[
"[0.47856545 0.46267092 0.6376707 0.84747767]",
"[1.47856545 1.46267092 1.63767076 1.84747767]"
],
[
"[0.49584109 0.80599248 0.07096875 0.75872749]",
"[1.49584103 1.80599248 1.07096875 1.75872755]"
],
[
"[0.43500566 0.66041756 0.80293626 0.96224713]",
"[1.43500566 1.66041756 1.80293632 1.96224713]"
],
[
"[0.78397602 0.74223626 0.26603186 0.41664881]",
"[1.78397608 1.74223626 1.26603186 1.41664886]"
],
[
"[0.28942841 0.05601001 0.33039129 0.27781558]",
"[1.28942847 1.05601001 1.33039129 1.27781558]"
],
[
"[0.68094063 0.45189077 0.22661722 0.37354094]",
"[1.68094063 1.45189071 1.22661722 1.37354088]"
],
[
"[0.43681622 0.74680805 0.83598751 0.12414402]",
"[1.43681622 1.74680805 1.83598757 1.12414408]"
],
[
"[0.47870928 0.17129105 0.27300501 0.20634609]",
"[1.47870922 1.17129111 1.27300501 1.20634604]"
],
[
"[0.72795159 0.79317838 0.27832931 0.96576637]",
"[1.72795153 1.79317832 1.27832937 1.96576643]"
],
[
"[0.87608397 0.93200487 0.80169648 0.37758952]",
"[1.87608397 1.93200493 1.80169654 1.37758946]"
],
[
"[0.68891573 0.25576538 0.96339929 0.503833 ]",
"[1.68891573 1.25576544 1.96339929 1.50383306]"
]
]
},
"df_test": {
"columns": [
"x",
"y",
"predicted"
],
"data": [
[
"[0.49691743 0.61873293 0.90698647 0.94486356]",
"[1.49691749 1.61873293 1.90698647 1.94486356]",
"[1.4993021488189697, 1.6404846906661987, 1.923316240310669, 1.9422152042388916]"
],
[
"[0.56922203 0.98222166 0.76851749 0.28615737]",
"[1.56922197 1.9822216 1.76851749 1.28615737]",
"[1.5835213661193848, 1.9884355068206787, 1.7694181203842163, 1.2917503118515015]"
],
[
"[0.90817457 0.89270043 0.38583666 0.66566533]",
"[1.90817451 1.89270043 1.3858366 1.66566539]",
"[1.9053494930267334, 1.9083378314971924, 1.3998609781265259, 1.6636812686920166]"
],
[
"[0.72795159 0.79317838 0.27832931 0.96576637]",
"[1.72795153 1.79317832 1.27832937 1.96576643]",
"[1.734963297843933, 1.8026459217071533, 1.2926064729690552, 1.9596911668777466]"
],
[
"[0.04508126 0.76880038 0.80721325 0.62542385]",
"[1.04508126 1.76880038 1.80721331 1.62542391]",
"[1.0830243825912476, 1.7584562301635742, 1.8005754947662354, 1.6277496814727783]"
],
[
"[0.6032477 0.83361369 0.18538666 0.19108021]",
"[1.60324764 1.83361363 1.18538666 1.19108021]",
"[1.6177492141723633, 1.8144152164459229, 1.1718573570251465, 1.1950569152832031]"
],
[
"[0.15064228 0.03198934 0.25754827 0.51484001]",
"[1.15064228 1.03198934 1.25754833 1.51484001]",
"[1.1556042432785034, 0.9955940246582031, 1.2316606044769287, 1.5150485038757324]"
],
[
"[0.48959708 0.48549271 0.32688856 0.356677 ]",
"[1.48959708 1.48549271 1.32688856 1.35667706]",
"[1.4930214881896973, 1.467790961265564, 1.3132573366165161, 1.3589863777160645]"
],
[
"[0.08107251 0.2602725 0.18861133 0.44833237]",
"[1.08107257 1.2602725 1.18861127 1.44833231]",
"[1.102121114730835, 1.2180893421173096, 1.160165548324585, 1.4495322704315186]"
],
[
"[0.68094063 0.45189077 0.22661722 0.37354094]",
"[1.68094063 1.45189071 1.22661722 1.37354088]",
"[1.6725687980651855, 1.4393560886383057, 1.2169336080551147, 1.3746893405914307]"
]
]
},
"df_train": {
"columns": [
"x",
"y"
],
"data": [
[
"[0.52046251 0.45887971 0.72169858 0.29517919]",
"[1.52046251 1.45887971 1.72169852 1.29517913]"
],
[
"[0.85706753 0.61447072 0.41741937 0.85147089]",
"[1.85706758 1.61447072 1.41741943 1.85147095]"
],
[
"[0.11560339 0.57495481 0.76535827 0.0391947 ]",
"[1.11560345 1.57495475 1.76535821 1.0391947 ]"
],
[
"[0.19409031 0.68692201 0.60667384 0.57829887]",
"[1.19409037 1.68692207 1.60667384 1.57829881]"
],
[
"[0.76807946 0.98855817 0.08259124 0.01730657]",
"[1.76807952 1.98855817 1.0825913 1.01730657]"
],
[
"[0.67269951 0.10478973 0.5584439 0.83605725]",
"[1.67269945 1.10478973 1.5584439 1.83605719]"
],
[
"[0.18686318 0.49356437 0.51323432 0.75392658]",
"[1.18686318 1.49356437 1.51323438 1.75392652]"
],
[
"[0.18149549 0.30520517 0.30946714 0.16786289]",
"[1.18149543 1.30520511 1.30946708 1.16786289]"
],
[
"[4.27091718e-01 4.89909172e-01 6.92297399e-01 2.57611275e-04]",
"[1.42709172 1.48990917 1.69229746 1.00025761]"
],
[
"[0.32225502 0.16999388 0.05823922 0.9628762 ]",
"[1.32225502 1.16999388 1.05823922 1.9628762 ]"
],
[
"[0.50783676 0.04156506 0.21984279 0.8454656 ]",
"[1.50783682 1.04156506 1.21984279 1.84546566]"
],
[
"[0.98324287 0.99464184 0.14008355 0.47651017]",
"[1.98324287 1.99464178 1.14008355 1.47651017]"
],
[
"[0.11693293 0.49860179 0.55020827 0.88832849]",
"[1.11693287 1.49860179 1.55020833 1.88832855]"
],
[
"[0.50272274 0.54912758 0.17663097 0.79070699]",
"[1.50272274 1.54912758 1.17663097 1.79070699]"
],
[
"[0.19908059 0.17570406 0.51475513 0.1893943 ]",
"[1.19908059 1.175704 1.51475513 1.18939424]"
],
[
"[0.40167677 0.25953674 0.9407078 0.76308483]",
"[1.40167677 1.25953674 1.9407078 1.76308489]"
],
[
"[0.2480728 0.21694398 0.63941365 0.57128876]",
"[1.24807286 1.21694398 1.6394136 1.57128882]"
],
[
"[0.24388778 0.07268471 0.68350857 0.73431659]",
"[1.24388778 1.07268476 1.68350863 1.73431659]"
],
[
"[0.62569475 0.9881897 0.83639616 0.9828859 ]",
"[1.62569475 1.9881897 1.83639622 1.98288584]"
],
[
"[0.88776821 0.51636773 0.30333066 0.32230979]",
"[1.88776827 1.51636767 1.30333066 1.32230973]"
],
[
"[0.48507756 0.80808765 0.77162558 0.47834778]",
"[1.48507762 1.80808759 1.77162552 1.47834778]"
],
[
"[0.68062544 0.98093534 0.14778823 0.53244978]",
"[1.68062544 1.98093534 1.14778829 1.53244972]"
],
[
"[0.31518555 0.49643308 0.11509258 0.95458382]",
"[1.31518555 1.49643302 1.11509252 1.95458388]"
],
[
"[0.79121011 0.54161114 0.69369799 0.1520769 ]",
"[1.79121017 1.54161119 1.69369793 1.15207696]"
],
[
"[0.79423058 0.07138705 0.061777 0.18766576]",
"[1.79423058 1.07138705 1.061777 1.1876657 ]"
],
[
"[0.23942459 0.90487361 0.69337189 0.65089428]",
"[1.23942459 1.90487361 1.69337189 1.65089428]"
],
[
"[0.94516498 0.08422136 0.5608117 0.07652664]",
"[1.94516492 1.08422136 1.56081176 1.07652664]"
],
[
"[0.26661873 0.45946234 0.13510543 0.81294441]",
"[1.26661873 1.4594624 1.13510537 1.81294441]"
],
[
"[0.30754459 0.77694583 0.09278506 0.38326019]",
"[1.30754459 1.77694583 1.09278512 1.38326025]"
],
[
"[0.27845025 0.32472342 0.82203609 0.77107543]",
"[1.27845025 1.32472348 1.82203603 1.77107549]"
],
[
"[0.4827103 0.10563457 0.98858833 0.82286644]",
"[1.48271036 1.10563457 1.98858833 1.82286644]"
],
[
"[0.98033333 0.97656083 0.38939917 0.81491041]",
"[1.98033333 1.97656083 1.38939917 1.81491041]"
],
[
"[0.74064726 0.4155122 0.09800029 0.49930882]",
"[1.74064732 1.4155122 1.09800029 1.49930882]"
],
[
"[0.78956431 0.87284744 0.06880784 0.03455889]",
"[1.78956437 1.87284744 1.06880784 1.03455889]"
],
[
"[0.94221359 0.57740951 0.98649532 0.40934443]",
"[1.94221354 1.57740951 1.98649526 1.40934443]"
],
[
"[0.00497234 0.39319336 0.57054168 0.75150961]",
"[1.00497234 1.39319336 1.57054162 1.75150967]"
],
[
"[0.44330525 0.09997386 0.89025736 0.90507984]",
"[1.44330525 1.09997392 1.89025736 1.90507984]"
],
[
"[0.72290605 0.96945059 0.68354797 0.15270454]",
"[1.72290611 1.96945059 1.68354797 1.15270448]"
],
[
"[0.75292218 0.81470108 0.49657214 0.56217098]",
"[1.75292218 1.81470108 1.49657214 1.56217098]"
],
[
"[0.33480108 0.59181517 0.76198453 0.98062384]",
"[1.33480108 1.59181523 1.76198459 1.98062384]"
],
[
"[0.52784437 0.54268694 0.12358981 0.72116476]",
"[1.52784443 1.54268694 1.12358975 1.7211647 ]"
],
[
"[0.73217702 0.65233225 0.44077861 0.33837909]",
"[1.73217702 1.65233231 1.44077861 1.33837914]"
],
[
"[0.34084332 0.73018837 0.54168713 0.91440833]",
"[1.34084332 1.73018837 1.54168713 1.91440833]"
],
[
"[0.60110539 0.3618983 0.32342511 0.98672163]",
"[1.60110545 1.3618983 1.32342505 1.98672163]"
],
[
"[0.77427191 0.21829212 0.12769502 0.74303615]",
"[1.77427197 1.21829212 1.12769508 1.74303615]"
],
[
"[0.59812403 0.78395379 0.0291847 0.81814629]",
"[1.59812403 1.78395379 1.0291847 1.81814623]"
],
[
"[0.93488538 0.73882395 0.37345302 0.0274905 ]",
"[1.93488538 1.73882389 1.37345302 1.0274905 ]"
],
[
"[0.30631393 0.48311198 0.87847513 0.67559886]",
"[1.30631399 1.48311198 1.87847519 1.67559886]"
],
[
"[0.18720162 0.74115586 0.98626411 0.30355608]",
"[1.18720162 1.74115586 1.98626411 1.30355608]"
],
[
"[0.85566247 0.83362883 0.48424995 0.25265992]",
"[1.85566247 1.83362889 1.48424995 1.25265992]"
],
[
"[0.95928186 0.84273899 0.71514636 0.38619852]",
"[1.95928192 1.84273899 1.7151463 1.38619852]"
],
[
"[0.32565445 0.90939188 0.07488042 0.13730896]",
"[1.32565451 1.90939188 1.07488036 1.13730896]"
],
[
"[0.9829582 0.59269661 0.40120947 0.95487177]",
"[1.9829582 1.59269667 1.40120947 1.95487177]"
],
[
"[0.79905868 0.89367443 0.75429088 0.3190186 ]",
"[1.79905868 1.89367437 1.75429082 1.3190186 ]"
],
[
"[0.54914117 0.03810108 0.87531954 0.73044223]",
"[1.54914117 1.03810108 1.87531948 1.73044229]"
],
[
"[0.67418337 0.79634351 0.23229051 0.71345252]",
"[1.67418337 1.79634356 1.23229051 1.71345258]"
],
[
"[0.87285906 0.48354989 0.39394957 0.59456545]",
"[1.872859 1.48354983 1.39394951 1.59456539]"
],
[
"[0.81788456 0.58174163 0.29376316 0.7971254 ]",
"[1.81788456 1.58174157 1.29376316 1.79712534]"
],
[
"[0.94559073 0.65736622 0.25761551 0.48553199]",
"[1.94559073 1.65736628 1.25761557 1.48553205]"
],
[
"[0.60075855 0.12234765 0.00614399 0.30560958]",
"[1.60075855 1.12234759 1.00614405 1.30560958]"
],
[
"[0.39147133 0.29854035 0.84663737 0.58175623]",
"[1.39147139 1.29854035 1.84663737 1.58175623]"
],
[
"[0.02162331 0.81861657 0.92468154 0.07808572]",
"[1.02162337 1.81861663 1.92468154 1.07808566]"
],
[
"[0.02235305 0.52774918 0.7331115 0.84358269]",
"[1.02235305 1.52774918 1.7331115 1.84358263]"
],
[
"[0.6080932 0.56563014 0.32107437 0.72599429]",
"[1.60809326 1.5656302 1.32107437 1.72599435]"
],
[
"[0.67447788 0.6125319 0.98007888 0.65968603]",
"[1.67447782 1.6125319 1.98007894 1.65968609]"
],
[
"[0.47963417 0.81818312 0.48720706 0.49339259]",
"[1.47963417 1.81818318 1.48720706 1.49339259]"
],
[
"[0.9630242 0.76359051 0.24853623 0.76881069]",
"[1.96302414 1.76359057 1.24853623 1.76881075]"
],
[
"[0.60609657 0.96257663 0.19292736 0.95702219]",
"[1.60609651 1.96257663 1.19292736 1.95702219]"
],
[
"[0.80654246 0.08253473 0.74478531 0.71257162]",
"[1.8065424 1.08253479 1.74478531 1.71257162]"
],
[
"[0.70167565 0.26930219 0.5660674 0.61194974]",
"[1.70167565 1.26930213 1.56606746 1.61194968]"
],
[
"[0.76933283 0.86241865 0.44114518 0.65644735]",
"[1.76933289 1.86241865 1.44114518 1.65644741]"
],
[
"[0.59492421 0.90274489 0.38069052 0.46101224]",
"[1.59492421 1.90274489 1.38069057 1.46101224]"
],
[
"[0.12024075 0.21342516 0.56858408 0.58644271]",
"[1.12024069 1.21342516 1.56858408 1.58644271]"
],
[
"[0.91730917 0.22574073 0.09591609 0.33056474]",
"[1.91730917 1.22574067 1.09591603 1.33056474]"
],
[
"[0.63235509 0.70352674 0.96188956 0.46240485]",
"[1.63235509 1.70352674 1.96188951 1.46240485]"
],
[
"[0.37959969 0.42820001 0.10690689 0.96353984]",
"[1.37959969 1.42820001 1.10690689 1.96353984]"
],
[
"[0.49607176 0.1922397 0.46640229 0.78321403]",
"[1.49607182 1.19223976 1.46640229 1.78321409]"
],
[
"[0.40234613 0.54987347 0.49542785 0.54153186]",
"[1.40234613 1.54987347 1.49542785 1.5415318 ]"
],
[
"[0.80893755 0.92237449 0.88346356 0.93164903]",
"[1.80893755 1.92237449 1.88346362 1.93164897]"
],
[
"[0.12858278 0.09930819 0.83222693 0.72485673]",
"[1.12858272 1.09930825 1.83222699 1.72485673]"
],
[
"[0.72470158 0.4940322 0.41027349 0.89364016]",
"[1.72470164 1.49403214 1.41027355 1.89364016]"
],
[
"[0.47856545 0.46267092 0.6376707 0.84747767]",
"[1.47856545 1.46267092 1.63767076 1.84747767]"
],
[
"[0.49584109 0.80599248 0.07096875 0.75872749]",
"[1.49584103 1.80599248 1.07096875 1.75872755]"
],
[
"[0.43500566 0.66041756 0.80293626 0.96224713]",
"[1.43500566 1.66041756 1.80293632 1.96224713]"
],
[
"[0.78397602 0.74223626 0.26603186 0.41664881]",
"[1.78397608 1.74223626 1.26603186 1.41664886]"
],
[
"[0.28942841 0.05601001 0.33039129 0.27781558]",
"[1.28942847 1.05601001 1.33039129 1.27781558]"
],
[
"[0.43681622 0.74680805 0.83598751 0.12414402]",
"[1.43681622 1.74680805 1.83598757 1.12414408]"
],
[
"[0.47870928 0.17129105 0.27300501 0.20634609]",
"[1.47870922 1.17129111 1.27300501 1.20634604]"
],
[
"[0.87608397 0.93200487 0.80169648 0.37758952]",
"[1.87608397 1.93200493 1.80169654 1.37758946]"
],
[
"[0.68891573 0.25576538 0.96339929 0.503833 ]",
"[1.68891573 1.25576544 1.96339929 1.50383306]"
]
]
}
},
"other": {
"model": "ModelConfig(model=Sequential(\n (0) - Linear(in_features=4, out_features=4, bias=True): Input__embedding_1_x -> Linear_1_x\n (1) - <function leaky_relu at 0x719e0ce23a60>: Linear_1_x -> Activation_2_x\n (2) - Identity(): Activation_2_x -> Activation_2_x\n), model_inputs=['Input__embedding_1_x'], model_outputs=['Activation_2_x'], loss_inputs=['Input__label_1_y', 'Activation_2_x'], loss=Sequential(\n (0) - <function mse_loss at 0x719e0ce2d580>: Activation_2_x, Input__label_1_y -> MSE_loss_1_loss\n (1) - Identity(): MSE_loss_1_loss -> loss\n), optimizer=SGD (\nParameter Group 0\n dampening: 0\n differentiable: False\n foreach: None\n fused: None\n lr: 0.1\n maximize: False\n momentum: 0\n nesterov: False\n weight_decay: 0\n), source_workspace=None, trained=True)"
},
"relations": []
},
"error": null,
"input_metadata": [
{
"dataframes": {
"df": {
"columns": [
"x",
"y"
]
},
"df_test": {
"columns": [
"predicted",
"x",
"y"
]
},
"df_train": {
"columns": [
"x",
"y"
]
}
},
"other": {
"model": {
"model": {
"inputs": [
"Input__embedding_1_x"
],
"loss_inputs": [
"Input__label_1_y",
"Activation_2_x"
],
"outputs": [
"Activation_2_x"
],
"trained": true
},
"type": "model"
}
},
"relations": []
}
],
"meta": {
"inputs": {
"bundle": {
"name": "bundle",
"position": "left",
"type": {
"type": "<class 'lynxkite_graph_analytics.core.Bundle'>"
}
}
},
"name": "View tables",
"outputs": {},
"params": {
"limit": {
"default": 100.0,
"name": "limit",
"type": {
"type": "<class 'int'>"
}
}
},
"type": "table_view"
},
"params": {
"limit": 100.0
},
"status": "done",
"title": "View tables"
},
"dragHandle": ".bg-primary",
"height": 711.0,
"id": "View tables 1",
"position": {
"x": 2900.3734843758352,
"y": -128.41609608842867
},
"type": "table_view",
"width": 836.0
},
{
"data": {
"__execution_delay": 0.0,
"collapsed": null,
"display": null,
"error": null,
"input_metadata": [
{
"dataframes": {
"df": {
"columns": [
"x",
"y"
]
},
"df_test": {
"columns": [
"x",
"y"
]
},
"df_train": {
"columns": [
"x",
"y"
]
}
},
"other": {},
"relations": []
}
],
"meta": {
"inputs": {
"bundle": {
"name": "bundle",
"position": "left",
"type": {
"type": "<class 'lynxkite_graph_analytics.core.Bundle'>"
}
}
},
"name": "Define model",
"outputs": {
"output": {
"name": "output",
"position": "right",
"type": {
"type": "None"
}
}
},
"params": {
"model_workspace": {
"default": null,
"name": "model_workspace",
"type": {
"type": "<class 'str'>"
}
},
"save_as": {
"default": "model",
"name": "save_as",
"type": {
"type": "<class 'str'>"
}
}
},
"type": "basic"
},
"params": {
"model_workspace": "Model definition",
"save_as": "model"
},
"status": "done",
"title": "Define model"
},
"dragHandle": ".bg-primary",
"height": 537.0,
"id": "Define model 1",
"position": {
"x": 795.0,
"y": -45.0
},
"type": "basic",
"width": 498.0
},
{
"data": {
"__execution_delay": 0.0,
"collapsed": null,
"display": null,
"error": null,
"input_metadata": [
{
"dataframes": {
"df": {
"columns": [
"x",
"y"
]
},
"df_test": {
"columns": [
"x",
"y"
]
},
"df_train": {
"columns": [
"x",
"y"
]
}
},
"other": {
"model": {
"model": {
"inputs": [
"Input__embedding_1_x"
],
"loss_inputs": [
"Input__label_1_y",
"Activation_2_x"
],
"outputs": [
"Activation_2_x"
],
"trained": false
},
"type": "model"
}
},
"relations": []
}
],
"meta": {
"inputs": {
"bundle": {
"name": "bundle",
"position": "left",
"type": {
"type": "<class 'lynxkite_graph_analytics.core.Bundle'>"
}
}
},
"name": "Train model",
"outputs": {
"output": {
"name": "output",
"position": "right",
"type": {
"type": "None"
}
}
},
"params": {
"epochs": {
"default": 1.0,
"name": "epochs",
"type": {
"type": "<class 'int'>"
}
},
"input_mapping": {
"default": null,
"name": "input_mapping",
"type": {
"type": "<class 'lynxkite_graph_analytics.lynxkite_ops.ModelTrainingInputMapping'>"
}
},
"model_name": {
"default": "model",
"name": "model_name",
"type": {
"type": "<class 'str'>"
}
}
},
"type": "basic"
},
"params": {
"epochs": "1001",
"input_mapping": "{\"map\":{\"Input__embedding_1_x\":{\"column\":\"x\",\"df\":\"df_train\"},\"Input__label_1_y\":{\"column\":\"y\",\"df\":\"df_train\"}}}",
"model_name": "model"
},
"status": "done",
"title": "Train model"
},
"dragHandle": ".bg-primary",
"height": 604.0,
"id": "Train model 2",
"position": {
"x": 1399.5245787239226,
"y": -19.196202428593544
},
"type": "basic",
"width": 586.0
},
{
"data": {
"__execution_delay": 0.0,
"collapsed": null,
"display": null,
"error": null,
"input_metadata": [
{
"dataframes": {
"df": {
"columns": [
"x",
"y"
]
},
"df_test": {
"columns": [
"predicted",
"x",
"y"
]
},
"df_train": {
"columns": [
"x",
"y"
]
}
},
"other": {
"model": {
"model": {
"inputs": [
"Input__embedding_1_x"
],
"loss_inputs": [
"Input__label_1_y",
"Activation_2_x"
],
"outputs": [
"Activation_2_x"
],
"trained": true
},
"type": "model"
}
},
"relations": []
}
],
"meta": {
"inputs": {
"bundle": {
"name": "bundle",
"position": "left",
"type": {
"type": "<class 'lynxkite_graph_analytics.core.Bundle'>"
}
}
},
"name": "Model inference",
"outputs": {
"output": {
"name": "output",
"position": "right",
"type": {
"type": "None"
}
}
},
"params": {
"input_mapping": {
"default": null,
"name": "input_mapping",
"type": {
"type": "<class 'lynxkite_graph_analytics.lynxkite_ops.ModelInferenceInputMapping'>"
}
},
"model_name": {
"default": "model",
"name": "model_name",
"type": {
"type": "<class 'str'>"
}
},
"output_mapping": {
"default": null,
"name": "output_mapping",
"type": {
"type": "<class 'lynxkite_graph_analytics.lynxkite_ops.ModelOutputMapping'>"
}
}
},
"type": "basic"
},
"params": {
"input_mapping": "{\"map\":{\"Input__embedding_1_x\":{\"column\":\"x\",\"df\":\"df_test\"}}}",
"model_name": "model",
"output_mapping": "{\"map\":{\"Activation_2_x\":{\"column\":\"predicted\",\"df\":\"df_test\"}}}"
},
"status": "done",
"title": "Model inference"
},
"dragHandle": ".bg-primary",
"height": 893.0,
"id": "Model inference 1",
"position": {
"x": 2181.718373860645,
"y": -69.44701793295484
},
"type": "basic",
"width": 529.0
}
]
}