Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

poliblog

A collection of political blogs with ratings.


Description

A collection of 773 political blogs in LDA format with conservative/liberal ratings.

Usage

data(poliblog.documents)
data(poliblog.vocab)
data(poliblog.ratings)

Format

poliblog.documents and poliblog.vocab comprise a corpus of 773 political blogs conforming to the LDA format.

poliblog.ratings is a numeric vector of length 773 which gives a rating of liberal (-100) or conservative (100) to each document in the corpus.

Source

Blei, David M. and McAuliffe, John. Supervised topic models. Advances in Neural Information Processing Systems, 2008.

See Also

lda.collapsed.gibbs.sampler for the format of the corpus.

Examples

data(poliblog.documents)
data(poliblog.vocab)
data(poliblog.ratings)

lda

Collapsed Gibbs Sampling Methods for Topic Models

v1.4.2
LGPL
Authors
Jonathan Chang
Initial release
2015-11-22

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.