I don't think something like this works when you can change the model, retrain it, etc. Or at least its much more difficult to do.