DeepNet
DeepNet is simple node based cli tool for creating machine learning classifiers you can use on the web.
root$ node deepnet/src/cli.js -h Usage: cli [options] [command] Options: -V, --version output the version number -h, --help output usage information Commands: train [options] <file> make-dataset [options] <positive_dataset_file> <negative_dataset_file> predict [options] <model> <test-data>
Train
root$ node deepnet/src/cli.js train -h Usage: train [options] <file> Options: -t, --test-dataset-percentage <n> percentage of datasets to keep
The train command require a JSON dataset file in the format below.
You may use the make-dataset
helper command to generate this file.
Make Dataset
root$ node deepnet/src/cli.js make-dataset -h Usage: make-dataset [options] <positive_dataset_file> <negative_dataset_file> Options: -n, --name <f> choose a dataset name -v, --vectorize <f> automatically vectorize strings -h, --help output usage information
Predict
You can use the predict command to load an existing model.
root$ node deepnetsrc/cli.js predict -h Usage: predict [options] <model> <test-data> Options: <model> path to the model .bin file <test-data> test data as string