Specific activities and the corresponding degree of failure

Published: 12-09-2019| Version 2 | DOI: 10.17632/tcscykf5hn.2


Open MATLAB and double click .mat file will load the data set. DataSet4.mat is the data set with input of 4 specific activities. DataSet6.mat is the data set with input of 6 specific activities. DataSet23.mat is the data set with input of 23 specific activities. After opening the file, input_norm is the normalized specific activities, input_max is the maximum specific activities, input_min is the minium specific activies, and the target is the corresponding one-hot encoding degree of failure. For example, {1,0,0,0,0,0} is failure of degree 1, {0,0,1,0,0,0} is failure of degree 3. Input of the function TrainN is number of neurons in the hidden layer1. For example, running TrainN(10) will train the neural network with 10 neurons in the hidden layer 1.