wsvm: wsvm to solve the subject-weighted SVM

Description Usage Arguments Value

View source: R/WSVM.R

Description

wsvm to solve the subject-weighted SVM

Usage

1
wsvm(X, A, wR, kernel = "linear", sigma = 0.05, C = 1, e = 1e-05)

Arguments

X:

n by p feature matrix

A:

label

wR:

instance weight

kernel:

propensity score with length n, can be either "rbf" or "linear", default is "linear"

sigma:

hyper-parameter in SVM rbf kernel

C:

hyper-parameter in SVM rbf kernel

e:

least tolerated error

Value

object in rbfcl or linearcf classs


sambiostat/RICWL documentation built on Dec. 31, 2020, 3:17 a.m.