How to create a .mat file and format the data with 5 features to classify using ANN

1 回表示 (過去 30 日間)
Apoorva Maiya
Apoorva Maiya 2020 年 6 月 26 日
回答済み: Image Analyst 2021 年 9 月 18 日
Hello community! I have attached an excel file with 21 columns and 6 rows. The first column can be ignored as it only contains the names. each column represents measurements taken from a patient. There are 20 columns with measurements first 10 representing abnormal and next 10 normal. Each row from 1 to 5 represents the 5 feature values extracted. The last row represents the group -1 meaning cancerous and 1 meaning normal. Now, I want to create a .mat file with 7 variables. namely:
F- first row values
L-second row values
C- third row values
Co- fourth row values
E- fifth row values
grp- sixth row values
and a variable Y which has columns as number of patients and rows with all the five features. I am trying to do something similar to formatting the data discussed here- https://in.mathworks.com/help/deeplearning/ug/cancer-detection.html Please someone guide me through this. Thank you in advance.

回答 (1 件)

Image Analyst
Image Analyst 2021 年 9 月 18 日
Try the Classification Learner App on the Apps tab of the tool ribbon. Let us know if you can't figure it out.

カテゴリ

Help Center および File ExchangeGet 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!

Translated by