Implementing different length arrays into Classification Learner

Hi all, I am new to the whole deep learning stuff and I am just looking for some clarification. I have been collecting data about machine failures, the data tends to vary in length due to the nature of how the machine fails. In order to use this data with the classification learner I have been stretching the data to equal lengths using imresize(A, [B,C], 'bilinear') and then compiling the data into 1 array. I have added an extra column in order to classify each row based on a scale of 0-100 to try predict a wear percent essentially. As I am currently still learning how to use the software I have only been using a small data pool size of 9 samples, the samples are recorded from the machine at 0% wear up to failure. Am I on the right track for implementing the classification learner?
Along with this I have used the 'All Quick-To-Train' and have got an accuracy of 85.0% with accuracy percentages on the confusion matrix around 90% at wear of 70% and above. Am I correct in thinking that I can export this model and then input data points in order to output a predicted wear level of the machine?
Thank you

10 Comments

what kind of data is being recorded such that imresize could have a chance of being relevant ??
I am recording the output vs time, I hope this what you mean
What is the second dimension ? The imresize you use resizes to fixed height and width .
I was using imresize on a single dimension of the array, so if the array was 85000 rows by 1 column I would stretch to 100000 rows by 1 column for example
Ah okay, as far as using classification learner am I on the correct track with extending data and training based on a wear scale? Thank you
if you want to predict wear in a range between 0...100% maybe a regression is the better choice. Classification would mean to have 100 categorical possible results, i think.
How would I setup the data for regression as opposed to classification?
There is also a regression learner app... It is the same look and feel - should be no problem.
For inputting data input the regression learner app would I format it the same way? As in a column for each data stream and also a seperate column representing their wear?

Sign in to comment.

Answers (0)

Products

Release

R2018a

Asked:

on 7 Jan 2019

Commented:

on 8 Jan 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!