English
Open in Telegram

Message n = Train_PreProcessing.tfidf_vectorizer(m, 0)

17 January 2018
P
n = Train_PreProcessing.tfidf_vectorizer(m, 0) clf = pickle.load(open('BernoulliNB.sav', 'rb')) clf.predict(n)

Nearby in the feed

AAlireza KhaliliOk shod :))PPoppy Seed Bagelسلام دوستان موقعی که میخوام بردار tfidf رو بدم به مدل که predict کنه این ارور رو میگیرم: TypeError: expected string or bytes-like object اینم کد هست
this message
PPoppy Seed Bageltype(n) = <class 'scipy.sparse.csr.csr_matrix'>PPoppy Seed Bagelحل شد
PPython + Linux ExpertsPython + Linux Experts@PythonLinuxExperts · group · Tech
4 287members20writing in 30 days
Venue feed Open in Telegram

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · Index limits · Remove a page · Catalog · Search · How we count