how to convert a numeric variable into categorical variable in matlab
25 次查看(过去 30 天)
显示 更早的评论
i have a normalized numeric vector which ranges between -1 and +1. i want to use this as a response variable in my classification learner which requires conversion into a categorical variable. i would like to have 3 categories - < 0, 0-0.5, > 0.5. Kindly help me with a matlab code.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Categorical Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!