comments bug
This commit is contained in:
parent
b2aa2df0f7
commit
c87a85b818
|
@ -31,6 +31,8 @@ class MultinomialNaiveBayes:
|
|||
y = dataset['Label']
|
||||
print(y[:12])
|
||||
|
||||
# bis hierhin stimmt noch alles...
|
||||
|
||||
if sklearn_cv:
|
||||
cv = CountVectorizer()
|
||||
|
||||
|
@ -62,6 +64,9 @@ class MultinomialNaiveBayes:
|
|||
# use sklearn CountVectorizer
|
||||
# fit the training data and then return the matrix
|
||||
print('Title + Text von train')
|
||||
|
||||
# aber ab hier stimmt was nicht. irgendwie rutschen da NaNs mit rein...
|
||||
|
||||
print(X[train])
|
||||
|
||||
print('Label von train')
|
||||
|
|
Loading…
Reference in New Issue