From 65926438256c1ed46993e1c8611597af5a9c23f1 Mon Sep 17 00:00:00 2001 From: jvech Date: Wed, 7 Aug 2024 10:06:35 -0500 Subject: add: CLI improvements and small documentation updates Things done: * config path should search config file in the following order: cli option, environment, xdg_path * Implement a retrain command. * when you require more keys than the ones available in the input, stop the program. --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 1e53f55..413d64a 100644 --- a/README.md +++ b/README.md @@ -26,15 +26,20 @@ sudo make uninstall ## Usage ``` -Usage: ml train [Options] JSON_FILE - or: ml predict [-o FILE] FILE +Usage: ml [re]train [Options] FILE + or: ml predict [-Ohv] [-f FORMAT] [-o FILE] [-p INT] FILE Options: -h, --help Show this message + -f, --format=FORMAT Define input or output FILE format if needed -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) + -O, --only-out Don't show input fields (only works with predict) -c, --config=FILE Configuration filepath [default=~/.config/ml/ml.cfg] + -p, --precision=INT Decimals output precision (only works with predict) + [default=auto] + Examples: -- cgit v1.2.3-70-g09d2