필터 지우기
필터 지우기

How to convert an array of type single to a datastore compatible for CNN

조회 수: 1 (최근 30일)
Basu Sau
Basu Sau 2021년 5월 27일
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개)

카테고리

Help CenterFile Exchange에서 Parallel and Cloud에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by