Neural network - target dataset

3 次查看(过去 30 天)
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
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 个)

Community Treasure Hunt

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

Start Hunting!

Translated by