how can i find mean to training data set code in matlab?

 채택된 답변

Image Analyst
Image Analyst 2015년 5월 8일

0 개 추천

Um, how about mean() or mean2()? If not, why not?

추가 답변 (1개)

Suzanne Hussein
Suzanne Hussein 2015년 5월 9일

0 개 추천

I have data set divided it to training set and test set, i want to find mean of each one???

댓글 수: 4

Image Analyst
Image Analyst 2015년 5월 9일
m1 = mean(trainingSet(:));
m2 = mean(testSet(:));
Suzanne Hussein
Suzanne Hussein 2015년 5월 11일
i need mean point of training set such us, m1=[0 0],m2=[1 2]??
Suzanne Hussein
Suzanne Hussein 2015년 5월 11일
mean ponit for these two classes
Image Analyst
Image Analyst 2015년 5월 11일
What are your x and y variables called?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기

질문:

2015년 5월 8일

댓글:

2015년 5월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by