node-arff
1.1.0 • Public • Published ARFF Tools for node.js
See the WEKA wiki for
details on the file format.
Usage
First, install node.js and get the node-arff
NPM module using npm:
$ npm install node-arff
Then, get yourself an ARFF file (http://axon.cs.byu.edu/data/ has a few) to read.
var arff = require('node-arff');
arff.load('data/some-file.arff', function(err, data) {
if (err) {
return console.error(err);
}
var oldest = data.max('age');
var youngest = data.min('age');
var mostcommon = data.mode('age');
var average = data.mean('age');
data.normalize();
data.randomize();
})
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 1.1.0
0
Version History
Package Sidebar
Install
Weekly Downloads