Skip to content

Commit

Permalink
Remove transformations to str categories
Browse files Browse the repository at this point in the history
  • Loading branch information
aPovidlo committed Dec 7, 2023
1 parent 5f62ef4 commit b962148
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fedot/api/api_utils/input_analyser.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,5 +115,5 @@ def control_categorical(self, input_data: InputData) -> bool:
"""

categorical_ids, _ = find_categorical_columns(input_data.features)
uniques = np.unique(input_data.features[:, categorical_ids].astype(str))
uniques = np.unique(input_data.features[:, categorical_ids])
return len(uniques) > self.max_cat_cardinality

0 comments on commit b962148

Please sign in to comment.