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.
42 lines
1.1 KiB
42 lines
1.1 KiB
4 years ago
|
(function() {
|
||
|
'use strict';
|
||
|
|
||
|
var gulp = require('gulp'),
|
||
|
fs = require('fs'),
|
||
|
pkg = require('./package.json'),
|
||
|
open = require('gulp-open'),
|
||
|
jshint = require('gulp-jshint'),
|
||
|
clean = require('gulp-clean'),
|
||
|
uglify = require('gulp-uglify'),
|
||
|
rename = require('gulp-rename'),
|
||
|
header = require('gulp-header'),
|
||
|
extend = require('lodash.assign');
|
||
|
|
||
|
var srcPath = 'src/cint.js',
|
||
|
destPath = './',
|
||
|
docsPath = 'docs';
|
||
|
|
||
|
gulp.task('default', ['clean'], function() {
|
||
|
|
||
|
var buildPackage = extend(pkg, { buildtime: (new Date()).toUTCString() });
|
||
|
var headerTemplate = fs.readFileSync('header.ejs');
|
||
|
|
||
|
gulp.src(srcPath)
|
||
|
.pipe(jshint('.jshintrc'))
|
||
|
.pipe(jshint.reporter('jshint-stylish'))
|
||
|
.pipe(jshint.reporter('fail'))
|
||
|
.pipe(header(headerTemplate, buildPackage))
|
||
|
.pipe(gulp.dest(destPath))
|
||
|
.pipe(uglify())
|
||
|
.pipe(header(headerTemplate, buildPackage))
|
||
|
.pipe(rename({ suffix: '.min' }))
|
||
|
.pipe(gulp.dest(destPath))
|
||
|
});
|
||
|
|
||
|
gulp.task('clean', function() {
|
||
|
gulp.src(['docs'], {read: false})
|
||
|
.pipe(clean({force:true}));
|
||
|
});
|
||
|
|
||
|
})();
|