View source: R/model_functions.R
This function transform data based on the type of transfromation
1 2 | transform_data(X, type.transformation = "abs.alpha.power", power = 1,
cost = 3, bb = 2)
|
X |
is the matrix of the dataset with samples on the rows and features on the column |
type.transformation |
is a string indicating the type of transformation to be performed at the data before fitting the model. It can be one of the following: "none","abs","abs.alpha.power","mul","log.abs","log.abs.alpha.power"; none is the default parameter. |
power |
is a numeric power to be used in the abs.alpha.power transformation. Default is 1. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.