diff options
author | jvech <jmvalenciae@unal.edu.co> | 2023-10-18 22:14:52 -0500 |
---|---|---|
committer | jvech <jmvalenciae@unal.edu.co> | 2023-10-18 22:14:52 -0500 |
commit | 5e7240fbe867e1dd3008e737995cda45d63c5083 (patch) | |
tree | cb8ba6715ac4d029f201d235b3da9040cfbcc3d6 | |
parent | 7c75037ec80efc01fe842ccca05fec304bb49741 (diff) |
doc: README added
Installation and uninstallation rules must be added on Makefile
-rw-r--r-- | README.md | 39 |
1 files changed, 38 insertions, 1 deletions
@@ -1,2 +1,39 @@ -# A neural network built from scratch +# ML +A simple neural network maker developed to train json data + +## Requirements + +* [openblas](https://www.openblas.net) +* [json-c](https://github.com/json-c/json-c) + +## Installation + +``` +git clone https://git.juanvalencia.xyz/ml +cd ml +sudo make install +``` + +## Uninstall + +``` +sudo make uninstall +``` + +## Usage +``` +Usage: ml train [Options] JSON_FILE + or: ml predict [-o FILE] FILE +Train and predict json data + +Options: + -h, --help Show this message + -a, --alpha=ALPHA Learning rate (only works with train) + -e, --epochs=EPOCHS Epochs to train the model (only works with train) + -o, --output=FILE Output file (only works with predict) + +Examples: + $ ml train -e 150 -a 1e-4 housing.json + $ ml predict housing.json -o predictions.json +``` |