Skip to content

Commit 373ec65

Browse files
authored
Update README.rst
1 parent aadf586 commit 373ec65

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1641,7 +1641,7 @@ run DNN and see our result:
16411641
batch_size=128,
16421642
verbose=2)
16431643
1644-
predicted = model_DNN.predict(X_test_tfidf)
1644+
predicted = model_DNN.predict_class(X_test_tfidf)
16451645
16461646
print(metrics.classification_report(y_test, predicted))
16471647
@@ -1795,7 +1795,7 @@ convert text to word embedding (Using GloVe):
17951795
X_train = text[0:len(X_train), ]
17961796
X_test = text[len(X_train):, ]
17971797
embeddings_index = {}
1798-
f = open("C:\\Users\\kamran\\Documents\\GitHub\\RMDL\\Examples\\Glove\\glove.6B.50d.txt", encoding="utf8")
1798+
f = open(".\\Glove\\glove.6B.50d.txt", encoding="utf8")
17991799
for line in f:
18001800
18011801
values = line.split()
@@ -2045,7 +2045,7 @@ convert text to word embedding (Using GloVe):
20452045
X_train = text[0:len(X_train), ]
20462046
X_test = text[len(X_train):, ]
20472047
embeddings_index = {}
2048-
f = open("C:\\Users\\kamran\\Documents\\GitHub\\RMDL\\Examples\\Glove\\glove.6B.50d.txt", encoding="utf8")
2048+
f = open(".\\Glove\\glove.6B.50d.txt", encoding="utf8")
20492049
for line in f:
20502050
values = line.split()
20512051
word = values[0]

0 commit comments

Comments
 (0)