read_uci_dataset: Read UCI data set stored in arff format and transform all...

Description Usage Arguments Value

Description

Read UCI data set stored in arff format and transform all columns to factors.

Usage

1
2
read_uci_dataset(datapath, dataset, factorize = FALSE, na.omit = TRUE,
  remove_constant = TRUE)

Arguments

datapath

The path to the directory containing the datasets, with trailing slash.

dataset

The name of the dataset without file suffix.

factorize

Should the columns be transformed to factors. Default is FALSE

na.omit

Omit NAs. Default is TRUE.

Value

The classification accuracy.


bwrc/astrid-r documentation built on May 13, 2019, 9:08 a.m.