I am doing project on sleep apnes (face recognition). I have to use artificial neural network for training and testing the dataset. For target dataset the values must be in 0s and 1s. how can i change my own target dataset into 0 and 1. Is there any code or something else from which i can get my correct target dataset to be trained. Pls help me with it.
I have attached my train and test data.
Thank you in advance

 채택된 답변

michael scheinfeild
michael scheinfeild 2020년 3월 7일
편집: michael scheinfeild 2020년 3월 7일

0 개 추천

i suppose first you can normilize the train set and use it to normalize test set
meant=mean(train)
mint=min(train)
maxt=max(train)
data=(data-mint)/(mint-maxt)
this for features , same for outputs, i think you need regression network
https://www.researchgate.net/post/how_to_normalize_data_using_matlab_How_do_you_now_use_the_normalized_data_set_to_forecast_using_ann_on_matlab

댓글 수: 1

vidhya v
vidhya v 2020년 3월 10일
I apologize for the late reply sir. Thank you so much for your response sir. I will definitely try it.
Thank you again.

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

추가 답변 (0개)

카테고리

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

질문:

2020년 3월 7일

댓글:

2020년 3월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by