I have a dataset of 130 cancer cell images and 8 features per image and also 130 normal cell images and 8 features per image so actually 8*130 matrix for cancer cell and 8*130 matrix for normal cell. How can I prepare this data set for neural network training and tesing for classification?

 採用された回答

Greg Heath
Greg Heath 2016 年 1 月 6 日

0 投票

input = [ input1 input2 ]
target = [ target1 target2 ]
size(input1) = [ 8 130 ]
target1 = repmat([1 0 ]',1,130)
size(input2) = [ 8 130 ]
target2 = repmat([0 1]',1,130)]
Hope this helps.
Thank you for formally accepting my answer
Greg

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeBiotech and Pharmaceutical についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by