sampling_train_test: Sampling training and testing row from dataframe

Description Usage Arguments Value Examples

Description

Sampling training and testing row from dataframe

Usage

1
sampling_train_test(df, n_test = 5 )

Arguments

df

dataframe with samples in the row and pixels in columns. The first column is the label or class

n_test

number of test samples for each class

Value

A list of train and test dataframes

Examples

1
2
3
4
5
## Not run: 

sampling_train_test(df, n_test = 5)

## End(Not run)

kmezhoud/papSmear documentation built on May 25, 2019, 8:32 p.m.