Script exit with no output
./venv/lib/python3.6/site-packages/sklearn/base.py:334: UserWarning: Trying to unpickle estimator KMeans from version 0.22.1 when using version 0.23.1. This might lead to breaking code or invalid results. Use at your own risk.
UserWarning)
Traceback (most recent call last):
File "tgnews.py", line 112, in <module>
categories_handle(input_filenames)
File "tgnews.py", line 72, in categories_handle
print(dumps(n_c.predict_categories(file_names_list)))
File "./clustering/news_type.py", line 98, in predict_categories
clusters = self.predict_multiple(corpus[target_lang], target_lang)
File "./clustering/news_type.py", line 72, in predict_multiple
clusters = self.cluster_predict(vectors, lang)
File "./clustering/news_type.py", line 59, in cluster_predict
return self.cluster_algo_ru.predict(vectors)
File "./clustering/algos/k_mean_algo.py", line 18, in predict
return self.wrapped.predict(data)
File "./venv/lib/python3.6/site-packages/sklearn/cluster/_kmeans.py", line 1188, in predict
self.cluster_centers_, self._n_threads)[0]
AttributeError: 'KMeans' object has no attribute '_n_threads'