Classification Learner Input Data format
显示 更早的评论
How does multidimensional input data (multiple long vectors) need to be formatted so Classification Learner can train on it, and how do you attach categories for classification to this data?
Scenario: I have multiple logs of power draw from various appliances in my house. I have data on my toaster, blender, fridge, lights, etc. For each appliance, I have ~50 data vectors, each representing one day of usage. Each day of use is 15-20k data points long, but not every day's worth of data is the same length (a quirk in my logging).
Ideally I'd assemble a structure with fields "toaster", "blender", etc, and each field would be a cell array of length 50 (days), where each cell contained one vector of length 15-20k, or each field could be an array of 50 columns, where each column was one (variable length) day's worth of data. But there isn't great documentation on how this kind of data is ingested into the CL App.
Basically, how do I package each appliance's 50 days of data into a variable, associate the identifier (appliance name) with it's chunk of 50 days, and then run this through the classification learner so it can predict which appliance a data set (one day's worth of data) represents?
Tables have "one restriction that each variable must have the same number of rows" so I don't know how that would work. Other
4 个评论
madhan ravi
2018-8-26
Upload your code and the files required.
Tim Jenks
2018-8-29
madhan ravi
2018-8-29
describe which data you want to extract?
Tim Jenks
2018-8-30
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Material Sciences 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!