Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

nn-project

0.0.2 • Public • Published

Neural Networks Data CLI

For Queen's CMPE 452

Getting Started

npm install -g nn-project

Usage

  normalize [options] <path | file>
  
    path | file             A path to a CSV or a CSV filename to load into the normalizer
    
  Options:
      
    -h, --help                          Output usage information
    -c, --csv                           Output normalized data as a CSV (default)
    -j, --json                          Output normalized data as a JSON
    -o FILE, -output=FILE               The filename for the normalized data. NOTE: The output type file extension will be appended to the supplied filename. (defaults to <INPUT_FILE>.normalized.<EXTENSION>)
    --moving-averages=AVG_1,...,AVG_N   The moving averages to use. (defaults to 5,50,100,200)
    
  Examples:
  
  - Normalize a CSV referenced by a relative path
  
    $ normalize my-data.csv
    
  - Normalize a CSV referenced by a relative path
  
    $ normalize /Users/Me/Documents/my-data.csv
    
  - Specify output to be JSON
  
    $ normalize --json my-data.csv
    
  - Specify an output path
  
    $ normalize -o my-normalized-data.csv my-data.csv
    
    or
    
    $ normalize --output="/Users/Me/Documents/my-normalized-data.csv" my-data.csv
  
  - Specify custom moving averages
  
    $ normalize --moving-averages="2,3,4,5" my-data.csv
 

License

MIT © Zack Harley

Keywords

none

install

npm i nn-project

Downloadsweekly downloads

6

version

0.0.2

license

MIT

last publish

collaborators

  • avatar