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
607 B
20 lines
607 B
#!/usr/bin/env node
|
|
|
|
var rewind = require('./'),
|
|
concat = require('concat-stream'),
|
|
fs = require('fs'),
|
|
sharkdown = require('sharkdown'),
|
|
argv = require('minimist')(process.argv.slice(2), {
|
|
boolean: 'counterclockwise'
|
|
});
|
|
|
|
if (process.stdin.isTTY && !argv._[0]) {
|
|
process.stdout.write(sharkdown(fs.readFileSync(__dirname + '/HELP.md')));
|
|
process.exit(1);
|
|
}
|
|
|
|
(argv._.length ? fs.createReadStream(argv._[0]) : process.stdin).pipe(concat(convert));
|
|
|
|
function convert(data) {
|
|
process.stdout.write(JSON.stringify(rewind(JSON.parse(data), argv.counterclockwise), argv));
|
|
}
|
|
|