Internal function for converting integer features
.parse_integer_features(data, outcome_type)
data.table with integer features converted to double.
data.table with feature data
character, indicating the type of outcome
This function parses columns containing integer feature data to features to double. This prevents, e.g., errors when the result of an operation on the feature data yields a non-integer (i.e. floating point) result.