# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#' Logistic gradient
#'
#' @param data A matrix with the data to use
#' @param theta The coefficient vector
#' @param idx The rows to use (base 0 for now)
#' @export
logisticG <- function(theta, data, idx) {
.Call(`_irls_sgd_logisticG`, theta, data, idx)
}
#' Gaussian gradient
#'
#' @param data A matrix with the data to use
#' @param theta The coefficient vector
#' @param idx The rows to use (base 0 for now)
#' @export
gaussianG <- function(theta, data, idx) {
.Call(`_irls_sgd_gaussianG`, theta, data, idx)
}
#' QR for least squares
#'
#' @param x The design matrix
#' @param w The weights vector
#' @param z The working response vector
#' @export
qrls <- function(x, w, z) {
.Call(`_irls_sgd_qrls`, x, w, z)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.