-
HELP needed.
How can I fix this error?
`
def bag_of_words(s, words):
bag = [0 for _ in range(len(words))]
s_words = nltk.word_tokenize(s)
s_words = [stemmer.stem(word.lower()) …
-
I'm super happy to have seen SIFT released recently. It recalls some memory from my computer vision course pre-deep-learning era :)
I quickly drafted (it should be double-checked for bugs) such a s…
-
This is my chatbot.py file, copied from the YouTube video. It yields an UnboundLocalError response that says the variable 'result' is referenced before it is assigned.
```
import random
import js…
-
**What's your use case?**
I want to use Neighbors to search a corpus of documents for items similar to one or more reference documents. Since Neighbors requires that Reference and Data have the s…
-
Post questions here for this week's fundamental readings:
Grimmer, Justin, Molly Roberts, Brandon Stewart. 2022. Text as Data. Princeton University Press: Chapters 5,7,9,11,16 —“Bag of Words”, “Th…
lkcao updated
6 months ago
-
**What's wrong?**
When I'm trying to classify text processed with Bag-of-Words using SVM, the SVM dialog box shows a warning "Input data is sparse, default preprocessing is to scale it" and it …
-
hey i m struggling with Bag Of Visual Words in java bytedeco ..i cant find any good example of using bag of visual words in java .i know how it works theoritically but dont know how to implement it cu…
-
Hi there,
I am wondering if I can use StellarGraph to perform node attributes prediction instead of node classification?
And also, is it possible that X (node attributes matrix) is 3-D instead o…
-
Post questions here for this week's fundamental readings: Grimmer, Justin, Molly Roberts, Brandon Stewart. 2022. Text as Data. Princeton University Press: Chapters 5,7,9,11,16 —“Bag of Words”, “The Ve…
-
I am a newbie i have studied a lot on data science and r programming but this is my first time implementing a R script to solve a problem it would be very kind of you if you can walk em through the fe…