Python
utility to cross-validate an assistant workspace
pip install virtualenv
- Create a virtual environment and activate it via:
virtualenv ENV
source ENV/bin/activate
- Clone the repo and change your current working directory to that of the cloned repo.
- Place your exported workspace csv data in the cloned repo directory.
- Install the script's dependencies by running the following command:
pip install -r requirements.txt
- Export your assistant instance username and password as environment variables via the following commands:
export ASSISTANT_USERNAME=<your assistant service username>
export ASSISTANT_PASSWORD=<your assistant service password>
- Run the script via the command below. The
--folds
argument is optional, but if provided, must be at least2
.
python assistant_cv.py --data <path to your data> --folds <number of folds>