transformData: transformData

Description Usage Arguments Details

View source: R/pISVM.R

Description

This function transform a new data (dataframe) using center and scale transformation. This transformation is necesary previous to use svm method.

Usage

1
transformData(instances = instance, trainingSet = "default")

Arguments

instances

The data to be transformed

trainingSet

The training set used to apply transformation.

defaultTrainingSet

A flag to get the training set used in the transformation (if TRUE, default training set will be used)

Details

If trainingSet flag is not "default", "heller" or "branca", the current data will be used to apply the transformation requeried

before use a SVM model, the set supply must contains the following variables: calibrated, expasy and aaindex.


ypriverol/pIR documentation built on May 4, 2019, 5:33 p.m.