@datagrok/compute 1.43.8 → 1.43.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/377.js.map +1 -1
- package/dist/package.js +1 -1
- package/dist/package.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/377.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"377.js","mappings":"mCAAIA,ECAAC,E,iBCIJ,IAAYC,EAUPC,E,2BAVL,SAAYD,GACR,4BACA,0BACA,sBACA,6BACD,CALH,CAAYA,IAAAA,EAAU,KAUtB,SAAKC,GACH,oBACA,qBACD,CAHD,CAAKA,IAAAA,EAAU,KAMR,MA6DMC,GAAgB,EAChBC,EAAgB,C,yCC5E7BC,UAAY,SAAeC,G,qCACzB,IACE,MAAMC,EAAOD,EAAIE,KAAKD,KAChBE,EAAYF,EAAKG,UAAUC,OAC3BC,EAAU,IAAIC,MAAoBJ,GAClCK,EAAc,IAAID,MAAcJ,GAEtC,IAAK,IAAIM,EAAM,EAAGA,EAAMN,IAAaM,EACnC,IACEH,EAAQG,IAAO,OAAY,CACzBC,OAAQT,EAAKS,OACbC,SAAUV,EAAKG,UAAUK,GACzBG,SAAUX,EAAKY,UAAUJ,GACzBK,OAAQb,EAAKa,OACbC,UAAWd,EAAKc,UAChBC,OAAQf,EAAKe,SAGfR,EAAYC,GAAO,IACrB,CAAE,MAAOQ,GACPT,EAAYC,GAAOQ,aAAaC,MAAQD,EAAEE,QAAU,8CACtD,CAGFC,YAAY,CACV,WAAc,KAAYC,QAC1B,QAAWf,EACX,YAAeE,GAEnB,CAAE,MAAOS,GACPG,YAAY,CACV,WAAc,KAAYE,OAC1B,IAAOL,aAAaC,MAAQD,EAAEE,QAAU,gDAE5C,CACF,E,kWCnCA,SAASI,EAAeC,EAA0BV,GAChD,MAAMW,EAAeD,EAASnB,OACxBqB,EAAS,IAAIC,a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oBO,EAAEN,GAAYiE,EAAYjE,IAIhD,IADGkE,GAASA,EAAQnE,GACdW,EAASlD,QACdmG,EAAgBjD,EAASyD,OAAS,EACnCL,EAA2BzG,G,KZnBxBR,EAAOkD,EAAoBQ,EAC/BR,EAAoBQ,EAAI,IAChBR,EAAoB3B,EAAE,IAAIgG,KAAKvH,GaDvC,IAAI2D,EAAsBT,EAAoBQ,I","sources":["webpack://compute/webpack/runtime/chunk loaded","webpack://compute/webpack/runtime/startup chunk dependencies","webpack://compute/./node_modules/@datagrok-libraries/compute-utils/function-views/src/variance-based-analysis/constants.ts","webpack://compute/./node_modules/@datagrok-libraries/compute-utils/function-views/src/variance-based-analysis/diff-studio/workers/analysis.ts","webpack://compute/./node_modules/@datagrok-libraries/compute-utils/function-views/src/variance-based-analysis/diff-studio/sens-analysis-utils.ts","webpack://compute/./node_modules/@datagrok-libraries/compute-utils/function-views/src/variance-based-analysis/diff-studio/defs.ts","webpack://compute/webpack/bootstrap","webpack://compute/webpack/runtime/define property getters","webpack://compute/webpack/runtime/ensure chunk","webpack://compute/webpack/runtime/get javascript chunk filename","webpack://compute/webpack/runtime/global","webpack://compute/webpack/runtime/hasOwnProperty shorthand","webpack://compute/webpack/runtime/publicPath","webpack://compute/webpack/runtime/importScripts chunk loading","webpack://compute/webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","var next = __webpack_require__.x;\n__webpack_require__.x = () => {\n\treturn __webpack_require__.e(44).then(next);\n};","/* eslint-disable max-len */\n// Specific sensitivity analysis constants\n\n/** Dock ratios */\nexport enum DOCK_RATIO {\n COR_PLOT = 0.5,\n PC_PLOT = 0.6,\n GRAPH = PC_PLOT,\n BAR_CHART = 0.2,\n }\n\n/** Size constants */\nexport const ROW_HEIGHT = 25;\n\nenum HELP_ITEMS {\n METHOD = '`Method`',\n SAMPLES = '`Samples`',\n};\n\n/** Starting help markdown */\nexport const STARTING_HELP = `# Sensitivity Analysis\n\nSensitivity Analysis runs the computation multiple times with varying inputs, \nand analyzes the relationship between inputs and outputs.\n\nUse one of the following methods:\n\n* [Monte Carlo](https://datagrok.ai/help/compute/function-analysis#monte-carlo) explores a function \nat randomly taken points\n\n* [Sobol](https://datagrok.ai/help/compute/function-analysis#sobol)\ndecomposes output variance into fractions, which can be attributed to inputs\n\n* [Grid](https://datagrok.ai/help/compute/function-analysis#grid) studies a function at the points of a grid with the specified step\n\n## Monte Carlo\n\nOnce you've chosen it in ${HELP_ITEMS.METHOD}\n\n* Set in ${HELP_ITEMS.SAMPLES} the number of random points \n\n* Use switchers to specify varied inputs and outputs to be analyzed\n\n* Press **Run** or <i class=\"fas fa-play\"></i> on the top panel. You will get \n\n * [Correlation plot](https://datagrok.ai/help/visualize/viewers/correlation-plot) for exploring\ncorrelations between varied inputs and the specified outputs\n\n * [PC plot](https://datagrok.ai/help/visualize/viewers/pc-plot) visualizing multivariate data\nand providing variations of the selected inputs & outputs\n\n * [Line chart](https://datagrok.ai/help/visualize/viewers/line-chart) or \n[Scatterplot](https://datagrok.ai/help/visualize/viewers/scatter-plot) (dependently on the varied\ninputs count) showing a behavior of each output separately\n\n * [Grid](https://datagrok.ai/help/visualize/viewers/grid) containing inputs and outputs values \nof each function evaluation\n\n* Press <i class=\"grok-icon fal fa-question\"></i> on the top panel to learn more about \n[Sensitivity Analysis](https://datagrok.ai/help/compute/function-analysis#sensitivity-analysis)\n\n## Sobol\n\nThis method performs \n[variance-based sensitivity analysis](https://en.wikipedia.org/wiki/Variance-based_sensitivity_analysis). \nIt provides the same visualizations \nas **Monte Carlo** and [bar charts](https://datagrok.ai/help/visualize/viewers/bar-chart) showing \nSobol' indices:\n\n* First-order indices indicate the contribution to the output variance of varying each input alone\n\n* Total-order indices measure the contribution to the output variance of each input,\n including all variance caused by its interactions with any other inputs\n \n ## Grid\n \n This method provides the same visualization as the previous ones. Unlike them, it evaluates a function \n at the points of uniform grid within the specified ranges.`;\n\nexport const DIFF_GROK_OUT_IDX = 0;\n\nexport const LAST_ROW_IDX = -1;\nexport const FIRST_ROW_IDX = 0;\nexport const NULL_RAW = -2;\n","// Worker for sensitivity analysis of Diff Studio model\n\nimport {NO_ERRORS, RESULT_CODE, WorkerTask} from '../defs';\nimport {getAnalysis} from '../sens-analysis-utils';\n\n\nonmessage = async function(evt) {\n try {\n const task = evt.data.task as WorkerTask;\n const batchSize = task.pipelines.length;\n const rowVals = new Array<Float64Array>(batchSize);\n const analysisRes = new Array<string>(batchSize);\n\n for (let idx = 0; idx < batchSize; ++idx) {\n try {\n rowVals[idx] = getAnalysis({\n ivp2ww: task.ivp2ww,\n pipeline: task.pipelines[idx],\n inputVec: task.inputVecs[idx],\n rowIdx: task.rowIdx,\n argColIdx: task.argColIdx,\n argVal: task.argVal,\n });\n\n analysisRes[idx] = NO_ERRORS;\n } catch (e) {\n analysisRes[idx] = e instanceof Error ? e.message : 'Platform issue: in-webworker analysis failed';\n }\n }\n\n postMessage({\n 'callResult': RESULT_CODE.SUCCEED,\n 'rowVals': rowVals,\n 'analysisRes': analysisRes,\n });\n } catch (e) {\n postMessage({\n 'callResult': RESULT_CODE.FAILED,\n 'msg': e instanceof Error ? e.message : 'Platform issue: in-webworker analysis failed',\n });\n }\n};\n","// Sensitivity analysis routine for Diff Studio models\n\nimport * as DGL from '@datagrok/diff-grok';\nimport {AnalysisTask, DEFAULT_NUM} from './defs';\nimport {LAST_ROW_IDX, FIRST_ROW_IDX} from '../constants';\n\nfunction getSolutionRow(solution: Float64Array[], rowIdx: number): Float64Array {\n const outputsCount = solution.length;\n const result = new Float64Array(outputsCount);\n\n for (let i = 0; i < outputsCount; ++i)\n result[i] = solution[i][rowIdx];\n\n return result;\n}\n\nfunction getIndexOfClosestValue(args: Float64Array, targetVal: number): number {\n let targetIdx = 0;\n let deviation = Math.abs(args[targetIdx] - targetVal);\n let current: number;\n\n for (let curIdx = 1; curIdx < args.length; ++curIdx) {\n current = Math.abs(args[curIdx] - targetVal);\n\n if (current < deviation) {\n deviation = current;\n targetIdx = curIdx;\n }\n }\n\n return targetIdx;\n}\n\nexport function getAnalysis(task: AnalysisTask): Float64Array {\n // evaluate model\n const solution = DGL.applyPipeline(\n task.pipeline,\n task.ivp2ww,\n task.inputVec,\n );\n\n const solutionTableRowCount = solution[0].length;\n const rowIdx = task.rowIdx;\n\n // extract target row\n if (rowIdx !== DEFAULT_NUM) {\n switch (rowIdx) {\n case FIRST_ROW_IDX:\n return getSolutionRow(solution, 0);\n\n case LAST_ROW_IDX:\n return getSolutionRow(solution, solutionTableRowCount - 1);\n\n default:\n throw new Error(`Incorrect row idx: ${rowIdx}`);\n }\n }\n\n // extract row by the target argument\n const index = getIndexOfClosestValue(solution[task.argColIdx], task.argVal);\n\n return getSolutionRow(solution, index);\n}\n","// Sensitivity Analysis definitions for Diff Studio models\n\nimport {IVP2WebWorker, Pipeline} from '@datagrok/diff-grok';\n\n/** Task for sensitivity analysis of Diff Studio model */\nexport type AnalysisTask = {\n ivp2ww: IVP2WebWorker,\n pipeline: Pipeline,\n inputVec: Float64Array,\n rowIdx: number,\n argColIdx: number,\n argVal: number,\n};\n\nexport const DEFAULT_NUM = -10;\nexport const MIN_WORKERS_COUNT = 1;\nexport const WORKERS_COUNT_DOWNSHIFT = 2;\n\n/** Task to pass to the workers */\nexport type WorkerTask = {\n ivp2ww: IVP2WebWorker,\n pipelines: Pipeline[],\n inputVecs: Float64Array[],\n indices: number[],\n rowIdx: number,\n argColIdx: number,\n argVal: number,\n};\n\nexport enum RESULT_CODE {\n SUCCEED = 0,\n FAILED = 1,\n};\n\nexport const NO_ERRORS = 'Success';\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// the startup function\n__webpack_require__.x = () => {\n\t// Load entry module and return exports\n\t// This entry module depends on other loaded chunks and execution need to be delayed\n\tvar __webpack_exports__ = __webpack_require__.O(undefined, [44], () => (__webpack_require__(4377)))\n\t__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n\treturn __webpack_exports__;\n};\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks and sibling chunks for the entrypoint\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + chunkId + \".js\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\n\t\tscriptUrl = document.currentScript.src;\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) {\n\t\t\tvar i = scripts.length - 1;\n\t\t\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\n\t\t}\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/^blob:/, \"\").replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","// no baseURI\n\n// object to store loaded chunks\n// \"1\" means \"already loaded\"\nvar installedChunks = {\n\t377: 1\n};\n\n// importScripts chunk loading\nvar installChunk = (data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\tfor(var moduleId in moreModules) {\n\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t}\n\t}\n\tif(runtime) runtime(__webpack_require__);\n\twhile(chunkIds.length)\n\t\tinstalledChunks[chunkIds.pop()] = 1;\n\tparentChunkLoadingFunction(data);\n};\n__webpack_require__.f.i = (chunkId, promises) => {\n\t// \"1\" is the signal for \"already loaded\"\n\tif(!installedChunks[chunkId]) {\n\t\tif(true) { // all chunks have JS\n\t\t\timportScripts(__webpack_require__.p + __webpack_require__.u(chunkId));\n\t\t}\n\t}\n};\n\nvar chunkLoadingGlobal = self[\"webpackChunkcompute\"] = self[\"webpackChunkcompute\"] || [];\nvar parentChunkLoadingFunction = chunkLoadingGlobal.push.bind(chunkLoadingGlobal);\nchunkLoadingGlobal.push = installChunk;\n\n// no HMR\n\n// no HMR manifest","// run startup\nvar __webpack_exports__ = __webpack_require__.x();\n"],"names":["deferred","next","DOCK_RATIO","HELP_ITEMS","LAST_ROW_IDX","FIRST_ROW_IDX","onmessage","evt","task","data","batchSize","pipelines","length","rowVals","Array","analysisRes","idx","ivp2ww","pipeline","inputVec","inputVecs","rowIdx","argColIdx","argVal","e","Error","message","postMessage","SUCCEED","FAILED","getSolutionRow","solution","outputsCount","result","Float64Array","i","getAnalysis","solutionTableRowCount","args","targetVal","current","targetIdx","deviation","Math","abs","curIdx","getIndexOfClosestValue","DEFAULT_NUM","RESULT_CODE","NO_ERRORS","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","m","x","__webpack_exports__","O","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","j","Object","keys","every","key","splice","r","d","definition","o","defineProperty","enumerable","get","f","chunkId","Promise","all","reduce","promises","u","g","globalThis","this","Function","window","obj","prop","prototype","hasOwnProperty","call","scriptUrl","importScripts","location","document","currentScript","tagName","toUpperCase","src","scripts","getElementsByTagName","test","replace","p","installedChunks","chunkLoadingGlobal","self","parentChunkLoadingFunction","push","bind","moreModules","runtime","pop","then"],"sourceRoot":""}
|
|
1
|
+
{"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ack://compute/webpack/runtime/startup chunk dependencies","webpack://compute/./node_modules/@datagrok-libraries/compute-utils/function-views/src/variance-based-analysis/constants.ts","webpack://compute/./node_modules/@datagrok-libraries/compute-utils/function-views/src/variance-based-analysis/diff-studio/workers/analysis.ts","webpack://compute/./node_modules/@datagrok-libraries/compute-utils/function-views/src/variance-based-analysis/diff-studio/sens-analysis-utils.ts","webpack://compute/./node_modules/@datagrok-libraries/compute-utils/function-views/src/variance-based-analysis/diff-studio/defs.ts","webpack://compute/webpack/bootstrap","webpack://compute/webpack/runtime/define property getters","webpack://compute/webpack/runtime/ensure chunk","webpack://compute/webpack/runtime/get javascript chunk filename","webpack://compute/webpack/runtime/global","webpack://compute/webpack/runtime/hasOwnProperty shorthand","webpack://compute/webpack/runtime/publicPath","webpack://compute/webpack/runtime/importScripts chunk loading","webpack://compute/webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","var next = __webpack_require__.x;\n__webpack_require__.x = () => {\n\treturn __webpack_require__.e(44).then(next);\n};","/* eslint-disable max-len */\n// Specific sensitivity analysis constants\n\n/** Dock ratios */\nexport enum DOCK_RATIO {\n COR_PLOT = 0.5,\n PC_PLOT = 0.6,\n GRAPH = PC_PLOT,\n BAR_CHART = 0.2,\n }\n\n/** Size constants */\nexport const ROW_HEIGHT = 25;\n\nenum HELP_ITEMS {\n METHOD = '`Method`',\n SAMPLES = '`Samples`',\n};\n\nexport const LOCAL_HELP = '/help/compute/function-analysis#sensitivity-analysis';\nexport const HELP_LINK = `https://datagrok.ai${LOCAL_HELP}`;\n\n/** Starting help markdown */\nexport const STARTING_HELP = `# Sensitivity Analysis\n\nSensitivity Analysis runs the computation multiple times with varying inputs, \nand analyzes the relationship between inputs and outputs.\n\nUse one of the following methods:\n\n* **Monte Carlo** explores a function \nat randomly taken points\n\n* **Sobol** decomposes output variance into fractions, which can be attributed to inputs\n\n* **Grid** studies a function at the points of a grid with the specified step\n\n## Monte Carlo\n\nOnce you've chosen it in ${HELP_ITEMS.METHOD}\n\n* Set in ${HELP_ITEMS.SAMPLES} the number of random points \n\n* Use switchers to specify varied inputs and outputs to be analyzed\n\n* Press **Run** or <i class=\"fas fa-play\"></i> on the top panel. You will get \n\n * [Correlation plot](https://datagrok.ai/help/visualize/viewers/correlation-plot) for exploring\ncorrelations between varied inputs and the specified outputs\n\n * [PC plot](https://datagrok.ai/help/visualize/viewers/pc-plot) visualizing multivariate data\nand providing variations of the selected inputs & outputs\n\n * [Line chart](https://datagrok.ai/help/visualize/viewers/line-chart) or \n[Scatterplot](https://datagrok.ai/help/visualize/viewers/scatter-plot) (dependently on the varied\ninputs count) showing a behavior of each output separately\n\n * [Grid](https://datagrok.ai/help/visualize/viewers/grid) containing inputs and outputs values \nof each function evaluation\n\n* Press **?** on the top panel to learn more about [Sensitivity Analysis](${HELP_LINK})\n\n## Sobol\n\nThis method performs \n[variance-based sensitivity analysis](https://en.wikipedia.org/wiki/Variance-based_sensitivity_analysis). \nIt provides the same visualizations \nas **Monte Carlo** and [bar charts](https://datagrok.ai/help/visualize/viewers/bar-chart) showing \nSobol' indices:\n\n* First-order indices indicate the contribution to the output variance of varying each input alone\n\n* Total-order indices measure the contribution to the output variance of each input,\n including all variance caused by its interactions with any other inputs\n \n ## Grid\n \n This method provides the same visualization as the previous ones. Unlike them, it evaluates a function \n at the points of uniform grid within the specified ranges.`;\n\nexport const DIFF_GROK_OUT_IDX = 0;\n\nexport const LAST_ROW_IDX = -1;\nexport const FIRST_ROW_IDX = 0;\nexport const NULL_RAW = -2;\n","// Worker for sensitivity analysis of Diff Studio model\n\nimport {NO_ERRORS, RESULT_CODE, WorkerTask} from '../defs';\nimport {getAnalysis} from '../sens-analysis-utils';\n\n\nonmessage = async function(evt) {\n try {\n const task = evt.data.task as WorkerTask;\n const batchSize = task.pipelines.length;\n const rowVals = new Array<Float64Array>(batchSize);\n const analysisRes = new Array<string>(batchSize);\n\n for (let idx = 0; idx < batchSize; ++idx) {\n try {\n rowVals[idx] = getAnalysis({\n ivp2ww: task.ivp2ww,\n pipeline: task.pipelines[idx],\n inputVec: task.inputVecs[idx],\n rowIdx: task.rowIdx,\n argColIdx: task.argColIdx,\n argVal: task.argVal,\n });\n\n analysisRes[idx] = NO_ERRORS;\n } catch (e) {\n analysisRes[idx] = e instanceof Error ? e.message : 'Platform issue: in-webworker analysis failed';\n }\n }\n\n postMessage({\n 'callResult': RESULT_CODE.SUCCEED,\n 'rowVals': rowVals,\n 'analysisRes': analysisRes,\n });\n } catch (e) {\n postMessage({\n 'callResult': RESULT_CODE.FAILED,\n 'msg': e instanceof Error ? e.message : 'Platform issue: in-webworker analysis failed',\n });\n }\n};\n","// Sensitivity analysis routine for Diff Studio models\n\nimport * as DGL from '@datagrok/diff-grok';\nimport {AnalysisTask, DEFAULT_NUM} from './defs';\nimport {LAST_ROW_IDX, FIRST_ROW_IDX} from '../constants';\n\nfunction getSolutionRow(solution: Float64Array[], rowIdx: number): Float64Array {\n const outputsCount = solution.length;\n const result = new Float64Array(outputsCount);\n\n for (let i = 0; i < outputsCount; ++i)\n result[i] = solution[i][rowIdx];\n\n return result;\n}\n\nfunction getIndexOfClosestValue(args: Float64Array, targetVal: number): number {\n let targetIdx = 0;\n let deviation = Math.abs(args[targetIdx] - targetVal);\n let current: number;\n\n for (let curIdx = 1; curIdx < args.length; ++curIdx) {\n current = Math.abs(args[curIdx] - targetVal);\n\n if (current < deviation) {\n deviation = current;\n targetIdx = curIdx;\n }\n }\n\n return targetIdx;\n}\n\nexport function getAnalysis(task: AnalysisTask): Float64Array {\n // evaluate model\n const solution = DGL.applyPipeline(\n task.pipeline,\n task.ivp2ww,\n task.inputVec,\n );\n\n const solutionTableRowCount = solution[0].length;\n const rowIdx = task.rowIdx;\n\n // extract target row\n if (rowIdx !== DEFAULT_NUM) {\n switch (rowIdx) {\n case FIRST_ROW_IDX:\n return getSolutionRow(solution, 0);\n\n case LAST_ROW_IDX:\n return getSolutionRow(solution, solutionTableRowCount - 1);\n\n default:\n throw new Error(`Incorrect row idx: ${rowIdx}`);\n }\n }\n\n // extract row by the target argument\n const index = getIndexOfClosestValue(solution[task.argColIdx], task.argVal);\n\n return getSolutionRow(solution, index);\n}\n","// Sensitivity Analysis definitions for Diff Studio models\n\nimport {IVP2WebWorker, Pipeline} from '@datagrok/diff-grok';\n\n/** Task for sensitivity analysis of Diff Studio model */\nexport type AnalysisTask = {\n ivp2ww: IVP2WebWorker,\n pipeline: Pipeline,\n inputVec: Float64Array,\n rowIdx: number,\n argColIdx: number,\n argVal: number,\n};\n\nexport const DEFAULT_NUM = -10;\nexport const MIN_WORKERS_COUNT = 1;\nexport const WORKERS_COUNT_DOWNSHIFT = 2;\n\n/** Task to pass to the workers */\nexport type WorkerTask = {\n ivp2ww: IVP2WebWorker,\n pipelines: Pipeline[],\n inputVecs: Float64Array[],\n indices: number[],\n rowIdx: number,\n argColIdx: number,\n argVal: number,\n};\n\nexport enum RESULT_CODE {\n SUCCEED = 0,\n FAILED = 1,\n};\n\nexport const NO_ERRORS = 'Success';\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// the startup function\n__webpack_require__.x = () => {\n\t// Load entry module and return exports\n\t// This entry module depends on other loaded chunks and execution need to be delayed\n\tvar __webpack_exports__ = __webpack_require__.O(undefined, [44], () => (__webpack_require__(4377)))\n\t__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n\treturn __webpack_exports__;\n};\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks and sibling chunks for the entrypoint\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + chunkId + \".js\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\n\t\tscriptUrl = document.currentScript.src;\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) {\n\t\t\tvar i = scripts.length - 1;\n\t\t\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\n\t\t}\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/^blob:/, \"\").replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","// no baseURI\n\n// object to store loaded chunks\n// \"1\" means \"already loaded\"\nvar installedChunks = {\n\t377: 1\n};\n\n// importScripts chunk loading\nvar installChunk = (data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\tfor(var moduleId in moreModules) {\n\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t}\n\t}\n\tif(runtime) runtime(__webpack_require__);\n\twhile(chunkIds.length)\n\t\tinstalledChunks[chunkIds.pop()] = 1;\n\tparentChunkLoadingFunction(data);\n};\n__webpack_require__.f.i = (chunkId, promises) => {\n\t// \"1\" is the signal for \"already loaded\"\n\tif(!installedChunks[chunkId]) {\n\t\tif(true) { // all chunks have JS\n\t\t\timportScripts(__webpack_require__.p + __webpack_require__.u(chunkId));\n\t\t}\n\t}\n};\n\nvar chunkLoadingGlobal = self[\"webpackChunkcompute\"] = self[\"webpackChunkcompute\"] || [];\nvar parentChunkLoadingFunction = chunkLoadingGlobal.push.bind(chunkLoadingGlobal);\nchunkLoadingGlobal.push = installChunk;\n\n// no HMR\n\n// no HMR manifest","// run startup\nvar __webpack_exports__ = __webpack_require__.x();\n"],"names":["deferred","next","DOCK_RATIO","HELP_ITEMS","LAST_ROW_IDX","FIRST_ROW_IDX","onmessage","evt","task","data","batchSize","pipelines","length","rowVals","Array","analysisRes","idx","ivp2ww","pipeline","inputVec","inputVecs","rowIdx","argColIdx","argVal","e","Error","message","postMessage","SUCCEED","FAILED","getSolutionRow","solution","outputsCount","result","Float64Array","i","getAnalysis","solutionTableRowCount","args","targetVal","current","targetIdx","deviation","Math","abs","curIdx","getIndexOfClosestValue","DEFAULT_NUM","RESULT_CODE","NO_ERRORS","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","m","x","__webpack_exports__","O","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","j","Object","keys","every","key","splice","r","d","definition","o","defineProperty","enumerable","get","f","chunkId","Promise","all","reduce","promises","u","g","globalThis","this","Function","window","obj","prop","prototype","hasOwnProperty","call","scriptUrl","importScripts","location","document","currentScript","tagName","toUpperCase","src","scripts","getElementsByTagName","test","replace","p","installedChunks","chunkLoadingGlobal","self","parentChunkLoadingFunction","push","bind","moreModules","runtime","pop","then"],"sourceRoot":""}
|