How to Use “Categorical Array” to organize data for Machine Learning

Hello, Presently I am working on a Project. I have 9 (Nine) classes of data. Each Class has 8 Different training files(raw data) from which I am extracting 16 Features. Thus, putting it in a single Matrix, I’m getting a 8×16 Numeric Array for Each class. Finally, I concatenate all 9 (nine), 8×16 arrays in column and get a 72×16 table. Now I want a 17th column at the end, which should be a categorical column. But I don’t want to do this Manually at the end, because my data length might change and I would’ve to adapt. Here, in the figure I manually did it with Repmat function and entered a new table column, because I knew which row belonged to which class. but can I do it automatically…


Link to Full Article: How to Use “Categorical Array” to organize data for Machine Learning

Pin It on Pinterest

Share This

Join Our Newsletter

Sign up to our mailing list to receive the latest news and updates about homeAI.info and the Informed.AI Network of AI related websites which includes Events.AI, Neurons.AI, Awards.AI, and Vocation.AI

You have Successfully Subscribed!