getTest {FKBL}R Documentation

Gets the train data from a problem

Description

This function belongs to a pair, whose other function is getTrain. It divides the problem in the number of chunks given. And returns the i-th chunck.

Usage

 getTest(data,chunks,i)

Arguments

Takes the data, the number of chunks and the test chunck.

data The data of the problem.
chunks The number of chunks to divide the data.
i The chunk to return.

Value

A dataset with the test data.

Examples

 data(trainA)
 getTest(trainA,10,1)

[Package FKBL version 0.50-4 Index]