How to separate features and target (numeric values) in a tabular text datastore to import into Deep Network Design?
8 次查看(过去 30 天)
显示 更早的评论
Hello everyone, I have the following problem: I imported a csv file with numerical data containing the features and the target into a tabular text datastore, however, to import into Deep Network Design this tabular text datastore needs to contain separate features and target. I have no idea how to do this, can someone give me a hand?
For example, my csv file has 500 rows 10 features and the target.
Thank you very much!
0 个评论
回答(1 个)
yanqi liu
2021-12-3
yes,sir,may be choose the data to X and Y,such as
% 500 rows 10 features and the target.
X = Data(:, 1:10); % 10 features
Y = Data(:, end); % target
may be upload some data mat to do analysis
4 个评论
Olawale
2024-3-9,16:23
Hello Paulo, can you please explain the code ? seem this might solve the issue i am having too..
thank you
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!