split

abstract fun split(splitRatio: Double): Pair<Dataset, Dataset>

Splits datasets on two sub-datasets according splitRatio.