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.
20 lines
466 B
20 lines
466 B
4 years ago
|
'use strict';
|
||
|
|
||
|
module.exports = function inspect(app, task) {
|
||
|
if (app.options && app.options.inspectFn === false) {
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
if (app.options && typeof app.options.inspectFn === 'function') {
|
||
|
task.inspect = function() {
|
||
|
return app.options.inspectFn.call(app, task);
|
||
|
};
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
task.inspect = function() {
|
||
|
var list = '[' + task.options.deps.join(', ') + ']';
|
||
|
return '<Task "' + task.name + '" deps: ' + list + '>';
|
||
|
};
|
||
|
};
|