Data calibration in ANN

3 Ansichten (letzte 30 Tage)
NN
NN am 12 Okt. 2023
Beantwortet: Neha am 16 Okt. 2023
Which are the different calibration techniques in ANN that is used in basic ann forecasting model?
Any example files is there to refer?
  1 Kommentar
NN
NN am 12 Okt. 2023
How can i calibrate the data in nntraintool?
Below is the code that i am using.
% Setup Division of Data for Training, Validation, Testing
net.divideParam.trainRatio = 65/100;
net.divideParam.valRatio = 5/100;
net.divideParam.testRatio = 30/100;

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Neha
Neha am 16 Okt. 2023
Hi,
I understand that you want to know about the data calibration techniques used in ANN. You can refer to the following common calibration (or data preprocessing) techniques used in ANN:
Normalization: This technique scales the data to fit within a certain range, usually 0 to 1 or -1 to 1. You can use "mapminmax" function to normalize your data. You can refer to the following documentation link for more information on "mapminmax":
However if you are using deep learning workflows, you can normalize the data in the input layer itself (Eg: "sequenceInputLayer", "imageInputLayer", "featureInputLayer", etc) using normalization name-value pair instead of using "mapminmax".
Standardization: This technique transforms the data to have zero mean and unit variance. This is useful when the data follows a Gaussian distribution. You can use "mapstd" function to standardize the data. You can refer to the following documentation link for more information on "mapstd":
Apart from the above two techniques, if your data is categorical, you can use the "onehotencode" function to create a binary column for each category and mark it with a 1 for the corresponding category. You can refer to the following documentation link for more information on "onehotencode":
You have also mentioned that you have used "nntraintool" for neural network training, since this function is deprecated, you can use the "train" function instead to train shallow neural networks:
Hope this helps!

Kategorien

Mehr zu Sequence and Numeric Feature Data Workflows finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by