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.
25 lines
608 B
25 lines
608 B
'use strict';
|
|
|
|
var utils = require('../utils');
|
|
|
|
/**
|
|
* This plugin is used by collections and the main application
|
|
* instance to ensure that certain methods and settings will
|
|
* always exist on views.
|
|
*/
|
|
|
|
module.exports = function decorateView(app, view, options) {
|
|
if (!utils.isValid(view, 'templates-plugins-view', ['view', 'item'])) {
|
|
return;
|
|
}
|
|
|
|
utils.define(view, 'compile', function() {
|
|
app.compile.bind(app, this).apply(app, arguments);
|
|
return this;
|
|
});
|
|
|
|
utils.define(view, 'render', function() {
|
|
app.render.bind(app, this).apply(app, arguments);
|
|
return this;
|
|
});
|
|
};
|
|
|