Usage
rule_double(data, label, train_rows = length(label), iterations = 1000,
minimal_score = 25, minimal_node = 5, false_negatives = 2,
seed = 11111)
Arguments
data
The data.frame containing the features to make association rules on, or the scoring matrix. Missing values are not allowed.
label
The target label as an integer vector (each value must be either 0 or 1). 1 must be the miniority label.
train_rows
The rows used for training the association rules. Must be your training set, whose length is equal to length(labels)
. Defaults to length(label)
.
iterations
The amount of iterations allowed for limited-memory Gradient Descent
minimal_score
The association rule finder will not accept any node under the allowed outlying score. Defaults to 25
.
minimal_node
The association rule finder will not accept any node containing under that specific amount of samples. Defaults to 5
.
false_negatives
The association rule will allow at most (false_negatives - 1
) false negatives. A higher allows a more permissive algorithm, lower makes it very difficult to converge (or to find any rule at all). Defaults to 2
.
seed
The random seed for reproducibility. Defaults to 11111
.