createBalanceScale: Balance Scale dataset

Description Usage Arguments Details Value References See Also

Description

Task: Multiclass: formula(Class ~ . )

Usage

1
2
createBalanceScale(file = getfilepath("balancescale.rds"), write = TRUE,
  read = TRUE)

Arguments

file

character; path/filename to write data file to

write

logical; should the dataset be written to disk for later use? (default: TRUE)

read

logical; should we try to read the dataset from the specified location first? (default: TRUE)

Details

From UCI: "This data set was generated to model psychologicalexperimental results. Each example is classified as having thebalance scale tip to the right, tip to the left, or bebalanced. The attributes are the left weight, the leftdistance, the right weight, and the right distance. Thecorrect way to find the class is the greater of (left-distance * left-weight) and (right-distance * right-weight). If they are equal, it is balanced."

Value

The dataset as a data.table

References

Siegler, R. S. (1976). Three Aspects of CognitiveDevelopment. Cognitive Psychology, 8, 481-520.

See Also

https://archive.ics.uci.edu/ml/datasets/Balance+Scale


jkrijthe/createdatasets documentation built on May 19, 2019, 12:44 p.m.