How can I prepare input and target matrix for RBF neural network?

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?

 Accepted Answer

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

More Answers (0)

Categories

Find more on Biotech and Pharmaceutical in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!