evaluate {niarules} | R Documentation |
Evaluate a candidate solution.
Description
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.
Usage
evaluate(solution, features, instances)
Arguments
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. |
Value
The fitness of the association rule and identified rule.
[Package niarules version 0.1.0 Index]