Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

LogisticRegression

(Regularized) Logistic Regression implementation


Description

Implementation of Logistic Regression that is useful for comparisons with semi-supervised logistic regression implementations, such as EntropyRegularizedLogisticRegression.

Usage

LogisticRegression(X, y, lambda = 0, intercept = TRUE, scale = FALSE,
  init = NA, x_center = FALSE)

Arguments

X

matrix; Design matrix for labeled data

y

factor or integer vector; Label vector

lambda

numeric; L2 regularization parameter

intercept

logical; Whether an intercept should be included

scale

logical; Should the features be normalized? (default: FALSE)

init

numeric; Initialization of parameters for the optimization

x_center

logical; Should the features be centered?

See Also


RSSL

Implementations of Semi-Supervised Learning Approaches for Classification

v0.9.3
GPL (>= 2)
Authors
Jesse Krijthe [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.