comments bug

This commit is contained in:
annealias 2019-03-07 05:38:58 +01:00
parent b2aa2df0f7
commit c87a85b818
1 changed files with 5 additions and 0 deletions

View File

@ -30,6 +30,8 @@ class MultinomialNaiveBayes:
y = dataset['Label'] y = dataset['Label']
print(y[:12]) print(y[:12])
# bis hierhin stimmt noch alles...
if sklearn_cv: if sklearn_cv:
cv = CountVectorizer() cv = CountVectorizer()
@ -62,6 +64,9 @@ class MultinomialNaiveBayes:
# use sklearn CountVectorizer # use sklearn CountVectorizer
# fit the training data and then return the matrix # fit the training data and then return the matrix
print('Title + Text von train') print('Title + Text von train')
# aber ab hier stimmt was nicht. irgendwie rutschen da NaNs mit rein...
print(X[train]) print(X[train])
print('Label von train') print('Label von train')