public interface DataSplitter
Modifier and Type | Interface and Description |
---|---|
static class |
DataSplitter.SplitterType
The types of the splitter.
|
Modifier and Type | Method and Description |
---|---|
SparseMatrix |
getTestData()
Get test data.
|
SparseMatrix |
getTrainData()
Get train data.
|
SparseMatrix |
getValidData()
Get valid data.
|
void |
setDataConvertor(DataConvertor dataConvertor)
Set the data convertor of this splitter.
|
void |
splitData()
Split the data.
|
void splitData() throws LibrecException
LibrecException
- if error occurs during splittingvoid setDataConvertor(DataConvertor dataConvertor)
dataConvertor
- a data convertor for this splitter.SparseMatrix getTrainData()
SparseMatrix
object built by the train set.SparseMatrix getTestData()
SparseMatrix
object built by the test set.SparseMatrix getValidData()
SparseMatrix
object built by the valid set.Copyright © 2017. All Rights Reserved.