Description Usage Arguments Details Value References See Also
Task: Multiclass: formula(Class ~ . )
1 2 | createBalanceScale(file = getfilepath("balancescale.rds"), write = TRUE,
read = TRUE)
|
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) |
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."
The dataset as a data.table
Siegler, R. S. (1976). Three Aspects of CognitiveDevelopment. Cognitive Psychology, 8, 481-520.
https://archive.ics.uci.edu/ml/datasets/Balance+Scale
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.