tune.it: tune.it

Description Usage Arguments Value Author(s)

View source: R/tuning.R

Description

Tuning methods.

Usage

1
2
tune.it (formula, dat.train, dat.tune, method, kernel, verbose=TRUE, step.size = 2)
get.gamma0 (formula, dat.train)

Arguments

formula

a formula object.

dat.train

a data frame. Training data

dat.tune

a data frame. Tuning data. If NULL, gacv is done.

method

a string. "svm" or "rauc"

kernel

a string. "rbf" or "linear"

verbose

logical

step.size

step size for lambda as in step.size^seq(-3,3,1), please see code for more details

Value

tune.it returns a vector of one or two elements: lamcost and gamma, depending on the kernel.
get.gamma0 returns .5/quantile(dist., c(.9,.75,.5)), where dist. is the Eucledian distance between objects from two classes.

Author(s)

Shuxin Yin
Youyi Fong [email protected]
Krisztian Sebestyen [email protected]


aucm documentation built on May 30, 2017, 3:14 a.m.

Related to tune.it in aucm...