one-hot-enum
one hot encoding enumerations
Installation
Using npm:
npm install one-hot-enum
In Node.js:
var onehot = ;
Usage
let list = 'one' 'two' 'three' 'one' 'three' 'three' 'two'; let enumaration = onehot;let encoded = onehot; console;console;
Encoder
Used to generate one hot encoding on the fly.
let encoder = onehot;_;console;console;
License
MIT © Andre Stehle