How to convert an array of type single to a datastore compatible for CNN
2 次查看(过去 30 天)
显示 更早的评论
Hi
After performing some operations, I have a reached to a point where I get a "single" type of array, A of size 10x100.I would like to train my CNN classifier on this data with the respective classset, B of size 10x1(double).
But I notice that (thorough the error messages I get) CNN is accepting a datastore rathar than a single type of data.
My query is is it possible to make a datastore from A and B. I have seen few examples of datastore in documentation. Yet, I failed to grab the idea wholelly. As far as I understand I need a transform function (as per the examples). But here, in my case, what should be that transform function?
Can you please advise me how could I convert A with B a datastore?
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Parallel and Cloud 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!