Classification of many vectors of the same length
3 次查看(过去 30 天)
显示 更早的评论
Hi, I have 6000 datasets in shape of vectors (300x1 for each vector). Every vector represent how an electricity customer consumes electricity over time.
I want to make different customer profiles (around 10) and vectors with similar properties should be placed in the same profile. I.e households and factories shouldn´t be in the same profile.
Is there any good way to do this in Matlab?
// Henrik
1 个评论
回答(1 个)
laurie
2013-2-13
you could add one column/line at the beginning or end of each of the 6000 vectors you have that would take a value from 1 to 10 representing "customer profile" (eg. 1 for household, 2 for factory, etc.)
or you could have a structure that would be like this :
clients.data=vector(300x1) clients.profile='household'
...
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!