pac.partition: Machine learning data partition

View source: R/util.r

pac.partitionR Documentation

Machine learning data partition

Description

A method of partitioning data between training and testing sets based on the fraction of data used for training

Usage

pac.partition(x, y, l, train_size = 0.7, rand_state = sample(1:2^15, 1))

Arguments

x, y

Numeric data

l

Numeric labels data

train_size

Fraction of total data that the SVM will train on

rand_state

Value of the random state used to set the seed

Value

Two data frames and a list of indicies for the training set


PharaohCola13/pacviz documentation built on March 15, 2023, 8:11 a.m.