UFT_func: Title Unsupervised Feature Transformation

Description Usage Arguments Value Examples

View source: R/UFT_func.R

Description

Title Unsupervised Feature Transformation

Usage

1
UFT_func(Data, Seed)

Arguments

Data

is the original data we want to deal with. It should be of data fram format. It may contain both categorical and numerical features. The UFT_Func will split the data and drop the already numerical features.

Seed

is for reproducibility reasons.

Value

The output from the UFT_Func is a dataframe of numerical columns replacing the original categorical features.

Examples

1
2
X <- data.frame("ID" = as.numeric(c(1,2,3,4)), "Age" = c(21,15,44,14), "Sex" = c("Male", "Male", "Female", "Female" ), "Name" = c("John","Samer", "Sara", "Carolina"), Smoking = c("Yes","No", "No","Yes"))
uft_x <- UFT_func(Data = X,Seed = 11)

ranibasna/NumericalTransformation documentation built on Sept. 2, 2021, 9:50 a.m.