ttsplit: test-train split

View source: R/mlUtils.R

ttsplitR Documentation

test-train split

Description

test-train split

Usage

ttsplit(df, k = 0.75)

Arguments

df

[data.frame, matrix] data table (n x p)

k

share of data obs in train

Value

list with test and train


apoorvalal/LalRUtils documentation built on Sept. 22, 2023, 5:53 p.m.