R/coef.ftrlprox.r

Defines functions coef.ftrlprox

Documented in coef.ftrlprox

##------------------------------------------------------------------------------
#' coef.ftrlprox
#' 
#' Extract model coefficients.
#' 
#' This function can be used to extract the coefficients of a model trained using the ftrlprox package.
#' 
#' @param object The model object
#' @param ... additional arguments are not used.
#' @return an array with the regression coefficients
#' 
#' @author Vilhelm von Ehrenheim
#' @export
##------------------------------------------------------------------------------
coef.ftrlprox <- function(object, ...) {
  object$theta
}

Try the FTRLProximal package in your browser

Any scripts or data that you put into this service are public.

FTRLProximal documentation built on May 29, 2017, 5:39 p.m.