knitr::opts_chunk$set( collapse = TRUE, comment = "#>", message = FALSE, warning = FALSE, error = FALSE )
library(dplyr) library(deepSentimentR) data("sentiment140_train") sentiment140_train %>% freq_by_polarity(user_list = c("", "mcraddictal"), start_date_time = lubridate::as_datetime("2009-05-30"), end_date_time = lubridate::as_datetime("2009-06-03"), keyword_list = c(""))
time_series()
bigram_network()
word_cor_network()
predict_polarity_keras(model_load_path = system.file("extdata", "train_no_glove_lstm.rds", package = "deepSentimentR", mustWork = TRUE))
predict_polarity_keras(model_load_path = system.file("extdata", "train_glove_lstm.rds", package = "deepSentimentR", mustWork = TRUE))
predict_polarity_keras(model_load_path = system.file("extdata", "train_no_glove_conv_1d.rds", package = "deepSentimentR", mustWork = TRUE))
predict_polarity_keras(model_load_path = system.file("extdata", "train_glove_conv_1d.rds", package = "deepSentimentR", mustWork = TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.