Skip to content

Commit

Permalink
Updated roxygen2 docs based on discussion in Issue #57.
Browse files Browse the repository at this point in the history
  • Loading branch information
pcarbo committed Dec 12, 2024
1 parent f075a01 commit 4dc3185
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 11 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Encoding: UTF-8
Type: Package
Package: fastTopics
Version: 0.6-193
Date: 2024-11-05
Version: 0.6-194
Date: 2024-12-12
Title: Fast Algorithms for Fitting Topic Models and Non-Negative
Matrix Factorizations to Count Data
Authors@R: c(person("Peter","Carbonetto",role=c("aut","cre"),
Expand Down
16 changes: 11 additions & 5 deletions R/fit_poisson_nmf.R
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,18 @@
#' updates. When \code{nc} is \code{NA}, the number of threads is
#' determined by calling
#' \code{\link[RcppParallel]{defaultNumThreads}}. This setting is
#' ignored for the multiplicative upates (\code{method = "mu"}).}
#' ignored for the multiplicative upates (\code{method = "mu"}).
#' Please note that best multithreading performance is typically
#' achieved when the number of BLAS threads is set to 1, but
#' controlling this in R is not always possible; see the
#' \dQuote{\code{nc.blas}} control option for more information.}
#'
#' \item{\code{nc.blas}}{Number of threads used in the numerical
#' linear algebra library (e.g., OpenBLAS), if available. For best
#' performance, we recommend setting this to 1 (i.e., no
#' multithreading).}
#' linear algebra library (e.g., OpenBLAS), if available. Typically
#' setting this to 1 (i.e., no multithreading) results in best
#' performance. Note that setting the number of BLAS threads relies on
#' the RhpcBLASctl package, and may not work for all multithreaded
#' BLAS libraries.}
#'
#' \item{\code{min.delta.loglik}}{Stop performing updates if the
#' difference in the Poisson NMF log-likelihood between two successive
Expand Down Expand Up @@ -449,7 +455,7 @@ fit_poisson_nmf <- function (X, k, fit0, numiter = 100,
cat(sprintf("Running at most %d %s updates, %s extrapolation ",
numiter,method.text,
ifelse(control$extrapolate,"with","without")))
cat("(fastTopics 0.6-193).\n")
cat("(fastTopics 0.6-194).\n")
}

# INITIALIZE ESTIMATES
Expand Down
14 changes: 10 additions & 4 deletions man/fit_poisson_nmf.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4dc3185

Please sign in to comment.