mailgun / talon

Apache License 2.0
1.26k stars 287 forks source link

Scikit-learn warning #158

Open alfonsomhc opened 6 years ago

alfonsomhc commented 6 years ago

It seems you get this error if you use a different scikit-version.

/home/user/anaconda3/lib/python3.6/site-packages/sklearn/base.py:311: UserWarning: Trying to unpickle estimator LinearSVC from version pre-0.18 when using version 0.19.1. This might lead to breaking code or invalid results. Use at your own risk.
  UserWarning)

I have just started testing the library, so I don't know if this is a problem.

tirkarthi commented 6 years ago

Possibly added as part of this PR : https://github.com/scikit-learn/scikit-learn/pull/7248 Relevant issue : https://github.com/scikit-learn/scikit-learn/issues/7135

I think this would require re-generation of the models in the data folder but I am not sure. Maybe someone else can chime in here on this.

libindavis commented 5 years ago

You really need to use the same version to generate and load model

w95 commented 5 years ago

Hey guys, could you please provide the code for regenerating the model?

libindavis commented 5 years ago

Hey guys, could you please provide the code for regenerating the model?

https://rasa.com/docs/nlu/quickstart/ check the section of 3. Train your Machine Learning NLU model.