How to create a Target data ? Neural Network Tool
显示 更早的评论
How do I create a Target data set in order to train it?
回答(1 个)
Walter Roberson
2018-9-17
According to the site documentation,
-- The 35th attribute is either "good" or "bad" according to the definition summarized above. This is a binary classification task.
When you look at the csv, the last column contains either the character 'g' or 'b' . Those are the class labels.
So you need to import the data, extract the first 34 columns as the data, and extract the 35th column as the class label.
You might find it easier to use categorical arrays.
类别
在 帮助中心 和 File Exchange 中查找有关 Get Started with Statistics and Machine Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!