필터 지우기
필터 지우기

How to get the value of each stage in a neural network?

조회 수: 2 (최근 30일)
Nilna Almumtazah
Nilna Almumtazah 2022년 12월 20일
댓글: Nilna Almumtazah 2022년 12월 23일
I'm trying to classify using the backpropagation neural network method. My code is successful but I need values from each process/stage such as values from z_inj, z_j, y_ink, y_k, etc. How to get this value? This is my code
net = newff(minmax(feature_tr),[100 1],{'logsig', 'purelin'},'traingdx');
[net_output,tr,Y,E] = train(net,feature_tr,target_tr);
output_ts = round(sim(net_output,feature_ts));
I would be very grateful if anyone would help me.
  댓글 수: 4
prasanth s
prasanth s 2022년 12월 22일
편집: prasanth s 2022년 12월 22일
weights,bias and many other parameters are present in 'net_output' variable. access these parameters using dot notation. e.g net_output.weights.
im not sure about 'z_inj' values.
Nilna Almumtazah
Nilna Almumtazah 2022년 12월 23일
OK, thanks for your answer

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by