skm_mls_cpp: skm_mls_cpp

Description Usage Arguments Details Value See Also

View source: R/RcppExports.R

Description

solve skm with multiple runs in serial and return all w. optim and s_init stratified sampled w.r.t g

Usage

1
skm_mls_cpp(x, k, g, s_must, max_it, max_at)

Arguments

x

an m x n matrix often m < n, as a convention index rows of x with s, and cols of x with t so x(i, j) can be expressed as (s_i, t_j) equally.

k

number of index to be selected from x row index start from 0.

g

stratify structure, often info on grouping of v so that algorithm should make random initialization from stratified sample across groups.

s_must

an index vector set should be selected before selecting other index.

max_it

max number of iterations can run for optimizing result. max number of iterations within a single initial run on optimal path.

max_at

max number of attempts or repeats on running for optimial results, max number of random initialization for finding optimial results.

Details

refer skm_sgl_cpp

Value

skmSolution skmSolution present in r list

See Also

Other skm: skm_mlp_cpp, skm_rgi_cpp, skm_rgs_cpp, skm_sgl_cpp


gyang274/skm documentation built on May 17, 2019, 9:41 a.m.