Logistic {SSOSVM}R Documentation

Logistic Loss Function

Description

Fit SVM with Logistic loss function.

Usage

Logistic(YMAT, DIM = 2L, EPSILON = 1e-05, returnAll = FALSE,
  rho = 1)

Arguments

YMAT

Data. First column is -1 or 1 indicating the class of each observation. The remaining columns are the coordinates of the data points.

DIM

Dimension of data. Default value is 2.

EPSILON

Small perturbation value needed in calculation. Default value is 0.00001.

returnAll

Return all of theta values? Boolean with default value FALSE.

rho

Sensitivity factor to adjust the level of change in the SVM fit when a new observation is added. Default value 1.0

Value

A list containing:

THETA

SVM fit parameters.

NN

Number of observation points in YMAT.

DIM

Dimension of data.

THETA_list

THETA at each iteration (new point observed) as YMAT is fed into the algorithm one data point at a time.

CHI

Intermediate value CHI at each iteration (new point observed).

Examples

YMAT <- generateSim(10^4)
l1<-Logistic(YMAT$YMAT,returnAll=TRUE)

[Package SSOSVM version 0.2.1 Index]