StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics
https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
1.2 KiB
22 lines
1.2 KiB
4 years ago
|
{
|
||
|
"version": 3,
|
||
|
"sources": [
|
||
|
"clone.ts"
|
||
|
],
|
||
|
"names": [
|
||
|
"arr",
|
||
|
"is",
|
||
|
"clone",
|
||
|
"source",
|
||
|
"dest",
|
||
|
"prop",
|
||
|
"value",
|
||
|
"plainObject",
|
||
|
"array",
|
||
|
"from"
|
||
|
],
|
||
|
"mappings": "AAAA,OAAO,KAAKA,GAAZ;AACA,OAAO,KAAKC,EAAZ;AAEA,eAAe,SAASC,KAAT,CAAkDC,MAAlD,EAAyE;AACtF,QAAMC,IAAI,GAAG,EAAb;;AAEA,OAAK,MAAMC,IAAX,IAAmBF,MAAnB,EAA2B;AACzB,UAAMG,KAAK,GAAGH,MAAM,CAACE,IAAD,CAApB;;AAEA,QAAIJ,EAAE,CAACM,WAAH,CAAeD,KAAf,CAAJ,EAA2B;AACzBF,MAAAA,IAAI,CAACC,IAAD,CAAJ,GAAaH,KAAK,CAACI,KAAD,CAAlB;AACD,KAFD,MAGK,IAAIL,EAAE,CAACO,KAAH,CAASF,KAAT,CAAJ,EAAqB;AACxBF,MAAAA,IAAI,CAACC,IAAD,CAAJ,GAAaL,GAAG,CAACS,IAAJ,CAASH,KAAT,CAAb;AACD,KAFI,MAGA;AACHF,MAAAA,IAAI,CAACC,IAAD,CAAJ,GAAaC,KAAb;AACD;AACF;;AAED,SAAOF,IAAP;AACD",
|
||
|
"sourcesContent": [
|
||
|
"import * as arr from './arr'\nimport * as is from './is'\n\nexport default function clone<T extends { [key: string]: any }> (source: T): Partial<T> {\n const dest = {} as Partial<T>\n\n for (const prop in source) {\n const value = source[prop]\n\n if (is.plainObject(value)) {\n dest[prop] = clone(value) as any\n }\n else if (is.array(value)) {\n dest[prop] = arr.from(value) as typeof value\n }\n else {\n dest[prop] = value\n }\n }\n\n return dest\n}\n"
|
||
|
]
|
||
|
}
|