Classification Learner Input Data format
11 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Material Sciences en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!