Given a dataframe, un scale and un center the continous features

unscale_uncenter(x, categoricalFeatureCols, colMeans, colSd)

Arguments

x

A dataframe in order to be processed.

categoricalFeatureCols

A vector of the categorical features, we don't want to scale/center these. Should be 1-indexed.

colMeans

A vector of the means to add to each column.

colSd

A vector of the standard deviations to rescale each column with.

Value

A dataset x in it's original scaling