ppsample: ppsample

Description Usage Arguments Value Author(s)

View source: R/ppsample.R

Description

Processes the pre processed data set by selecting features, randomizing, scaling and slicing.

Usage

1
2
3
4
5
6
7
8
9
ppsample(
  pprosdf,
  skip_timestep = NULL,
  p = 0.9,
  features = select_features(pprosdf),
  offset = 0,
  tag,
  scale = T
)

Arguments

pprosdf

pre processed dataset

skip_timestep

time step to be skipped in the sample (cross validation)

p

train/test data split

features

Boolean vector list containing the selected features

offset

offset value for 0 centered scale outputs

tag

tag param

scale

should values be scaled or not

Value

Sample training in matrix format

Author(s)

Marcos Alves


mppalves/mrscpmule documentation built on Sept. 2, 2021, 9:50 p.m.