Normalization of test data - neural network

i am using neural network for training and testing the data. i use features like nucleus area, perimeter, diameter, eccentricity for training.
i have values for features like:
Area - 2513, Perimeter - 203.811, Diameter - 56.5655, Eccentricity - 0.736247.
i have to normalize those values and have to save the normalized values in same '.mat' file to test the model. please help me to solve this, and provide me with the correct code.
Thank you in advance.

4 件のコメント

Adam Danz
Adam Danz 2020 年 3 月 28 日
Normalization could mean scaling values to a range of 0:1 but it could also have many other meanings [-1 : 1], [some min value : some max value], etc.
"please help me to solve this"
I'd be happy to help to steer you in the right direction but you should clear up what you mean by 'normalize'. Is your question more basic, such as "what is normalization"?
vidhya v
vidhya v 2020 年 3 月 29 日
thank you for your response sir.
I'd be happy to help to steer you in the right direction but you should clear up what you mean by 'normalize'. Is your question more basic, such as "what is normalization"?
YES SIR. still i am not clear in this concept.
Adam Danz
Adam Danz 2020 年 3 月 29 日
I suggest you search for a tutorial to get you started in understanding normalization. I can provide one example that you're already familiar with: percentages.
Percentages convert a number from some absolute value to a values between 0 and 1 (or 0 and 100). If there are 7 people in a room with red hair and the room has 35 people, 20% (or 0.2) is the normalized value of people in the room with red hair.
To address your question, how to normalize the NN values, you'll need to dig a little deeper into your assignment and lecture notes to understand how your instructor defines normalization. There is not a single definition.
vidhya v
vidhya v 2020 年 3 月 30 日
thank you sir

サインインしてコメントする。

回答 (1 件)

Srivardhan Gadila
Srivardhan Gadila 2020 年 4 月 3 日

0 投票

The following resources might help you:
  1. Normalization Help Center
  2. normalize
  3. In case of Multilayer Shallow Neural Networks you might use net.inputs{i}.processFcns
  4. In case of Deep Neural Networks you might make use of 'Normalization' name-value pair argument for the Input Layers available in Deep Learning Toolbox

1 件のコメント

vidhya v
vidhya v 2020 年 4 月 7 日
thank you sir.
and sorry for the delay

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeGet Started with Statistics and Machine Learning Toolbox についてさらに検索

質問済み:

2020 年 3 月 28 日

コメント済み:

2020 年 4 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by