-
Notifications
You must be signed in to change notification settings - Fork 175
Description
Can you please share your keras version with which you have run this python file. I have tried with keras 1.2.2 and it is giving me following warnings while executing feature_engineering.py.
administrators-MacBook-Pro:is_that_a_duplicate_quora_question-master priyadhingra$ python feature_engineering.py
feature_engineering.py:24: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
s1 = [w for w in s1 if w not in stop_words]
feature_engineering.py:25: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
s2 = [w for w in s2 if w not in stop_words]
feature_engineering.py:33: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
s1 = [w for w in s1 if w not in stop_words]
feature_engineering.py:34: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
s2 = [w for w in s2 if w not in stop_words]
235it [00:01, 115.30it/s]feature_engineering.py:51: RuntimeWarning: invalid value encountered in double_scalars
return v / np.sqrt((v ** 2).sum())
404351it [02:21, 2862.68it/s]
404351it [02:17, 2932.63it/s]
/usr/local/lib/python2.7/site-packages/scipy/spatial/distance.py:702: RuntimeWarning: invalid value encountered in double_scalars
dist = 1.0 - uv / np.sqrt(uu * vv)
Please help here
Thanks in advance!!