Cannot update model in Predictive service

User 481 | 9/21/2015, 5:05:20 AM

I am getting this error

IOError: Cannot save changes. The Predictive Service has changed. Please reload your Predictive Service first

Any idea why?


User 1178 | 9/21/2015, 3:39:42 PM


It seems like other people(or you through a different Python session) has made changes to your predictive service after you last loaded the predictive service into your current Python session. To get the latest changes, you may reload your predictive service object by doing:

ps = gl.deploy.predictive_service.load(<path-to-your-ps>)

Note that this will cause all your pending changes to the predictive service to lose, so make sure you have the proper reference to the models/functions you are about to add in your Python session before doing this reload.

Thanks! Ping