TrainModel: This function trains a model given a fixed training data set.

Description Usage Arguments Value Author(s)

Description

Given features for a class of sRNA, this function will learn robust features for the given class of sRNA and return the coefficients for all the features. Non-robust features will have coefficients equal to zero.

Usage

1
TrainModel(Y, X, bootstrap_iterations = 1000, Kfold = 10)

Arguments

Y

Class labels of the rows of X. There can only be 2 class labels

X

The feature matrix.

bootstrap_iterations

The number of iterations for bootstrapping.

Kfold

An integer specifying K fold cross-validation.

Value

return the coefficients for the learned model. Non-robust features will be set to zero.

Author(s)

Carl Tony Fakhry , Kourosh Zarringhalam, Rahul Kulkarni and Ping Chen.


carltonyfakhry/InvenireSRNA documentation built on May 13, 2019, 12:49 p.m.