firefly-cpp / NiaAML

Python automated machine learning framework.
MIT License
29 stars 11 forks source link

🧑‍💻added `niaaml` CLI #97

Closed LaurenzBeck closed 3 months ago

LaurenzBeck commented 3 months ago

‍💻added and documented niaaml CLI

💬 Description

This PR adds niaaml/cli.py and makes sure, that the CLI tool will be available when installing the package with pip.

❗ Issue Links

Fixes #84

🧪 How Has This Been Tested?

Nothing was changed in the rest of the package, which should qualify the PR as a minor change. I made sure that the tests still pass locally though.

I tested the CLI locally with a test file:

niaaml optimize tests\tests_files\dataset_header_classes.csv --number-of-pipeline-evaluations 2 --number-of-inner-evaluations 2

afterwards, you can use the pipeline for inference:

niaaml infer tests\tests_files\dataset_header_classes.csv

✅ Checklist

firefly-cpp commented 3 months ago

This is amazing. Thanks @LaurenzBeck and thanks also to @sisco0 for great ideas.

Supporting this CLI with man file may also be beneficial to the users.