machine learning normalizing data
2 次查看(过去 30 天)
显示 更早的评论
i need to predict supervisory post grade in a group of organization.The supervisory post have subordinates with lower grade( G1 to G10). The goal to input the subordinates grade and job family(occ).The output should predict supervisory(Head) grade and level.
example of a group in organization:
OCC TITLE GRADE Level
0510 Head cost control E 2 <-----predict this
0510 Sr. Accountant P 6 <------input
0510 Accountant P 5 <-----input
0503 Financial specialist G 9 <-----input
OCC is a category not numerical, so what is the best way to form the matrix and prepare in the datasets to have a normalized data? currently I am working with classification learner.
0 个评论
回答(1 个)
Aditya Patil
2020-8-17
I understand that you want to consider OCC as categorical data. Use the categorical function to create a categorical array from a numerical array.
For example,
occ = [0510, 0510, 0510, 0503];
occ_cat = categorical(occ);
Then use the this array in classification learner app.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Classification 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!