microsoft / BatteryML

MIT License
516 stars 109 forks source link

Add CLI `batteryml` and organize the repo using setup.py #19

Closed fingertap closed 1 year ago

fingertap commented 1 year ago

This PR uses setup.py to support pip utilities, where we also added the support for a new command line interface batteryml. The logic for downloading, preprocessing, and running configs are now handled by the convenient CLI. The tests for downloading, preprocessing, and config-based running for MATR datasets are tested.