如何解决弃用警告

时间:2019-03-08 13:08:03

标签: pickle joblib

UserWarning: Trying to unpickle estimator SVC from version pre-0.18 when using version 0.20.3. This might lead to breaking code or invalid results. Use at your own risk.
  UserWarning)
C:/Users/Student/.PyCharmCE2018.3/config/scratches/prediction.py:7: DeprecationWarning: The file 'C:\Users\Student\.PyCharmCE2018.3\config\scratches\models/svc/svc.pkl' has been generated with a joblib version less than 0.10. Please regenerate this pickle file.
  model = joblib.load(model_dir)

如何解决此警告?

此外,我没有得到任何清晰的输出。如何从中获得输出?

0 个答案:

没有答案