calculate_border {niarules} | R Documentation |
Calculate the border value based on feature information and a given value.
Description
This function calculates the border value for a feature based on the feature information and a given value.
Usage
calculate_border(feature_info, value)
Arguments
feature_info |
Information about the feature. |
value |
The value to calculate the border for. |
Value
The calculated border value.
Examples
feature_info <- list(type = "numerical", lower_bound = 0, upper_bound = 1)
border_value <- calculate_border(feature_info, 0.5)
[Package niarules version 0.1.0 Index]