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.
23 lines
771 B
23 lines
771 B
4 years ago
|
"use strict";
|
||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
var Observable_1 = require("../Observable");
|
||
|
var Subscription_1 = require("../Subscription");
|
||
|
function scheduleArray(input, scheduler) {
|
||
|
return new Observable_1.Observable(function (subscriber) {
|
||
|
var sub = new Subscription_1.Subscription();
|
||
|
var i = 0;
|
||
|
sub.add(scheduler.schedule(function () {
|
||
|
if (i === input.length) {
|
||
|
subscriber.complete();
|
||
|
return;
|
||
|
}
|
||
|
subscriber.next(input[i++]);
|
||
|
if (!subscriber.closed) {
|
||
|
sub.add(this.schedule());
|
||
|
}
|
||
|
}));
|
||
|
return sub;
|
||
|
});
|
||
|
}
|
||
|
exports.scheduleArray = scheduleArray;
|
||
|
//# sourceMappingURL=scheduleArray.js.map
|