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/invert-permutation
Angelos Chatzimparmpas e069030893 fix the frontend 3 years ago
..
test fix the frontend 3 years ago
.npmignore fix the frontend 3 years ago
LICENSE fix the frontend 3 years ago
README.md fix the frontend 3 years ago
index.js fix the frontend 3 years ago
package.json fix the frontend 3 years ago

README.md

invert-permutation

Computes the inverse of a permutation

Example

console.log( require("invert-permutation")([1,3,0,2]) )

//Prints:
//          [ 2, 1, 3, 0 ]

Install

npm install invert-permutation

API

`require("invert-permutation")(perm[, result])

Inverts a permutation

  • perm is the permutation to invert
  • result is an optional array that gets the result of inverting the permutation

Returns result or a newly allocated array if nothing is specified

Credits

(c) 2013 Mikola Lysenko. MIT License