1
$\begingroup$

I am using SVM algorithm for text classification. I need to know where can I find twitter dataset and how can I use it in weka tool or any other tool?

$\endgroup$
2
  • 1
    $\begingroup$ The best way to collect data from a website is by building a webcrawler that way you can customize what you take out of the HTML page as you may need it. $\endgroup$
    – JahKnows
    Commented Mar 15, 2017 at 21:52
  • 1
    $\begingroup$ Twitter Provide Api which can be used to collect data from twitter. $\endgroup$ Commented Jul 14, 2017 at 4:06

3 Answers 3

1
$\begingroup$

Twitter has rules that limit sharing of complete datasets, instead limiting sharing to the tweet ids (see this discussion and the developer agreement). Tools such as twarc can be used to "rehydrate" the tweet metadata by calling the Twitter api and retrieving the info. The Twitter API has rate limiting which can make this a somewhat slow process.

For a package that works in R, see RTextTools or check out RWeka which bridges the gap between R and Java to use Weka. If using Python, you can also use scikit-learn's svm implementation.

$\endgroup$
0
$\begingroup$

This collection of twitter datasets might help you find the dataset you're looking for. Mainly sentiment analysis datasets, but moderation and classification datasets too.

$\endgroup$
0
$\begingroup$

These are a few sites I found for that. I am not an R programmer so I don't know any Weka tools and how to use them but hope this helps. You can find them here and here.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.