Neural network - target dataset

1 view (last 30 days)
vidhya v
vidhya v on 7 Mar 2020
Commented: vidhya v on 10 Mar 2020
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

Accepted Answer

michael scheinfeild
michael scheinfeild on 7 Mar 2020
Edited: michael scheinfeild on 7 Mar 2020
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 Comment
vidhya v
vidhya v on 10 Mar 2020
I apologize for the late reply sir. Thank you so much for your response sir. I will definitely try it.
Thank you again.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!