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.
17 lines
687 B
17 lines
687 B
4 years ago
|
"use strict";
|
||
|
|
||
|
var _minify = _interopRequireDefault(require("./minify"));
|
||
|
|
||
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||
|
|
||
|
module.exports = (options, callback) => {
|
||
|
try {
|
||
|
// 'use strict' => this === undefined (Clean Scope)
|
||
|
// Safer for possible security issues, albeit not critical at all here
|
||
|
// eslint-disable-next-line no-new-func, no-param-reassign
|
||
|
options = new Function('exports', 'require', 'module', '__filename', '__dirname', `'use strict'\nreturn ${options}`)(exports, require, module, __filename, __dirname);
|
||
|
callback(null, (0, _minify.default)(options));
|
||
|
} catch (errors) {
|
||
|
callback(errors);
|
||
|
}
|
||
|
};
|