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.
32 lines
676 B
32 lines
676 B
'use strict';
|
|
|
|
var debug = require('debug')('base:cli:process');
|
|
|
|
/**
|
|
* Load pipeline plugins. Requires the [base-pipeline][] plugin to be
|
|
* registered.
|
|
*
|
|
* _(Modules must be locally installed and listed in `dependencies` or
|
|
* `devDependencies`)_.
|
|
*
|
|
* ```json
|
|
* {"verb": {"plugins": {"eslint": {"name": "gulp-eslint"}}}}
|
|
* ```
|
|
* @name plugins
|
|
* @api public
|
|
*/
|
|
|
|
module.exports = function(app) {
|
|
return function(plugins, key, config, next) {
|
|
if (typeof app.plugin === 'undefined') {
|
|
next();
|
|
return;
|
|
}
|
|
|
|
for (var prop in plugins) {
|
|
debug('loading plugin "%s"', prop);
|
|
app.plugin(prop, plugins[prop].fn);
|
|
}
|
|
next();
|
|
};
|
|
};
|
|
|