-
Notifications
You must be signed in to change notification settings - Fork 15
Creating a script to automate predictions
byron wallace edited this page Jun 6, 2014
·
2 revisions
The key script to generate predictions (which will update the priority queue internally, thus reflecting in abstrackr) is now the generate_predictions.py
module. This can be invoked directly (assuming one has sklearn/numpy installed!):
python generate_predictions.py
At present, you'll need to manually futz with the database connection string within said file, but this is straightforward (just drop in your username/password).
At Brown we use an Apple server, which means we rely on launchd to make nightly predictions. In our case, the plist file lives at /Library/LaunchDaemons/abstrackr_predict.plist
, and just invokes the above
launchctl list | grep abstrackr