detect.feats: Detect feature types

Description Usage Arguments Value Author(s) Examples

View source: R/detect_features.R

Description

Detects the type of features present in a data.frame

Usage

1
2
detect.feats(data, x = NULL, text.threshold = 100, sample.size = 0.3,
  progress = TRUE)

Arguments

data

[required | data.frame] Dataset containing categorical features

x

[required | character] A vector of numeric feature names present in the dataset

text.threshold

[optional | integer | default=100] Maximum characters in a feature before it is identified as a text feature

sample.size

[optional | numeric | default=0.3] Percentage to down sample data for decreased computation time

progress

[optional | logical | default=TRUE] Display a progress bar

Value

Data.frame with categorical, numeric, date, and text feature types

Author(s)

Xander Horn

Examples

1

XanderHorn/lazy documentation built on Jan. 16, 2021, 6:15 p.m.