Description Usage Arguments Value Examples
The model fit a dictonary of rules based on the frequency by outcomes in the training sample in order to predict classes. The predictors are concatenated to create rules based on the training sample. Only the most frequent outocome is selected for each rule. The rules are then joined to the testing sample to predict the results. If there is no match, the closest rules is created by removing the last predictor, until the prediction is complete. The entropy of the rules is calculated based on the frequencies of every similar rules.
1 |
data |
data frame |
x |
vector of variable names of predictors |
y |
name of the response variable |
sampsize |
percentage, between 0 and 1, of samples to draw from data to differentiate between testing and training samples |
sample |
vector of train/test. If provided sampsize is ignored |
... |
others arguments |
The function will return a dotrules object which is a list of input data, rules, and accuracy metrics
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.