Description Usage Arguments Value Examples
Partition Data
1 |
dat |
Original data |
QI |
Quasi-Identifiers |
TA |
Target Attribute |
... |
Partitioning Data by Quasi-Identifiers and Target Attribute
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | data(AdultUCI, package='arules')
# TA (Target)
TA <- c('income')
# QI (Quasi-Identifiers)
QI <- c('age', 'workclass', 'education', 'marital.status', 'occupation', 'race', 'sex', 'native.country')
#QI <- c('age', 'workclass', 'education', 'marital.status')
# SA (Sensitive Attributes)
SA <- c('capital.gain', 'capital.loss')
# IS (Insensitive)
IS <- c('relationship', 'hours.per.week', 'education.num')
# Remove
RM <- c('fnlwgt')
parda(AdultUCI, QI, TA)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.