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.
27 lines
539 B
27 lines
539 B
4 years ago
|
'use strict';
|
||
|
|
||
|
var paths = require('../shared/paths');
|
||
|
|
||
|
/**
|
||
|
* Normalize the given `--dest` path. If defined by the user,
|
||
|
* `dest` is normalized to be an absolute filepath, otherwise
|
||
|
* `dest` is set to `app.cwd`.
|
||
|
*
|
||
|
* ```sh
|
||
|
* $ --dest=foo
|
||
|
* ```
|
||
|
* @name dest
|
||
|
* @api public
|
||
|
*/
|
||
|
|
||
|
module.exports = function(app, base, options) {
|
||
|
return function(val, key, config, schema) {
|
||
|
val = paths('dest', val, config, schema);
|
||
|
if (typeof val === 'undefined') {
|
||
|
return;
|
||
|
}
|
||
|
val = config[key] = app.cwd;
|
||
|
return val;
|
||
|
};
|
||
|
};
|