clean_eload: Clean the elaod data

Description Usage Arguments Value

View source: R/preprocessing.R

Description

clean_eload This function removes the observations, which have negative eload values or with eload values higher or lower than some upper and lower thresholds. The upper threshold is defined as n percent higher than the quantile corresponding to the given upper probability U_ptresh and the lower threshold is defined as n percent lower than the quantile corresponding to the given lower probability L_ptresh.

Usage

1
clean_eload(Data, n = 0.2, L_ptresh = 0.005, U_ptresh = 0.995)

Arguments

n

An integer that correspond to a multiplicative coefficient that is used to define the thresholding value. The default value is 0.2 which correspond to 20 percent.

L_ptresh

A numeric that correspond to the probability of the lower quantile used for filtering

U_ptresh

A numeric that correspond to the probability of the upper quantile used for filtering

data

A dataframe of training or prediction data.

Value

A dataframe that correspond to the cleaned data


LBNL-ETA/RMV2.0 documentation built on Nov. 9, 2020, 5:44 a.m.