purple_classifier now uses parameters instead of having hardcoded values