evaluate {niarules} | R Documentation |
This function takes a canditate solution (vector), list of features, and instances, and evaluates the fitness of an association rule by calculating support and confidence.
evaluate(solution, features, instances)
solution |
A vector representing a candidate solution for the association rule. |
features |
A list containing information about features, including type and bounds. |
instances |
A data frame representing instances in the dataset. |
The fitness of the association rule and identified rule.