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?

 채택된 답변

Greg Heath
Greg Heath 2016년 1월 6일
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 Exchange에서 Biotech and Pharmaceutical에 대해 자세히 알아보기

질문:

2015년 12월 29일

답변:

2016년 1월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by