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.
 
 
 
 
StackGenVis/frontend/node_modules/arr-map/index.js

23 lines
455 B

/*!
* arr-map <https://github.com/jonschlinkert/arr-map>
*
* Copyright (c) 2015, 2017, Jon Schlinkert.
* Released under the MIT License.
*/
'use strict';
var iterator = require('make-iterator');
module.exports = function map(arr, fn, thisArg) {
if (arr == null) return [];
fn = iterator(fn, thisArg);
var len = arr.length;
var res = new Array(len);
for (var i = 0; i < len; i++) {
res[i] = fn(arr[i], i, arr);
}
return res;
};