Topic Modeling with 'BERTopic'


[Up] [Top]

Documentation for package ‘BERTopic’ version 0.1.0

Help Pages

as.data.frame.bertopic_r Coerce to data.frame
bertopic_as_document_topic_matrix Coerce to a document-topic probability matrix
bertopic_available Is Python + BERTopic available?
bertopic_find_topics Find nearest topics for a query string
bertopic_fit Fit BERTopic from R
bertopic_get_document_info Document-level information
bertopic_get_representative_docs Representative documents for a topic
bertopic_has_embedding_model Does the model have a usable embedding model?
bertopic_load Load a BERTopic model
bertopic_reduce_topics Reduce/merge topics
bertopic_save Save a BERTopic model
bertopic_self_check Quick self-check for the BERTopic R interface
bertopic_session_info Summarize Python/BERTopic session info
bertopic_set_embedding_model Replace or set the embedding model
bertopic_set_topic_labels Relabel topics
bertopic_topics Get topic info as a tibble
bertopic_topics_over_time Compute topics over time
bertopic_topic_terms Get top terms for a topic
bertopic_transform Transform new documents with a fitted BERTopic model
bertopic_update_topics Update topic representations
bertopic_visualize_barchart Visualize a topic barchart
bertopic_visualize_distribution Visualize topic probability distribution
bertopic_visualize_documents Visualize embedded documents
bertopic_visualize_heatmap Visualize topic similarity heatmap
bertopic_visualize_hierarchical_documents Visualize hierarchical documents and topics
bertopic_visualize_hierarchy Visualize hierarchical clustering of topics
bertopic_visualize_term_rank Visualize term rank evolution
bertopic_visualize_topics Visualize topic map
bertopic_visualize_topics_over_time Visualize topics over time
bertopic_visualize_topics_per_class Visualize topics per class
coef.bertopic_r Coefficients (top terms) for BERTopic
fortify.bertopic_r Fortify method for ggplot2
install_py_deps Install Python dependencies for BERTopic (auto route)
install_py_deps_conda Install Python dependencies for BERTopic (Conda route)
install_py_deps_venv Install Python dependencies for BERTopic (virtualenv route)
predict.bertopic_r Predict method for BERTopic models
print.bertopic_r Print method for bertopic_r
set_bertopic_seed Set random seed for R and Python backends
sms_spam SMS Spam Collection (UCI) - subset for examples
summary.bertopic_r Summary for BERTopic models
use_bertopic Bind current R session to the BERTopic environment (auto route)
use_bertopic_condaenv Bind current R session to a BERTopic Conda environment
use_bertopic_virtualenv Bind current R session to a BERTopic virtualenv