Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Case Analysis of Transformer Fault based on probabilistic Neural Network PNN

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "transformer fault case analysis based on probabilistic neural network PNN". The content of the explanation in this article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "transformer fault case analysis based on probabilistic neural network PNN".

% clear environment variables

Clc

Clear

Close all

Nntwarn off

Warning off

%% data load

Load data

%% select training data and test data

Train=data (1 Pluto 23:)

Test=data (24Rd end:)

P_train=Train (:, 1:3)'

T_train=Train (:, 4)'

P_test=Test (:, 1:3)'

T_test=Test (:, 4)'

Convert expected categories to vectors

T_train=ind2vec (t_train)

T_train_temp=Train (:, 4)'

% use newpnn function to create PNN SPREAD and select 1.5

Spread=1.5

Net=newpnn (pendant recently recently tweeted spread)

%% training data back to view the classification effect of the network

% Sim function for network prediction

Y=sim (net,p_train)

Convert network output vectors to pointers

Yc=vec2ind (Y)

%% observe the effect of network classification on training data by drawing.

Figure (1)

Subplot (1pm 2pm 1)

Stem (1:length (Yc), Yc,'bo')

Hold on

Stem (1:length (Yc), tweets, temps, etc.)

Title ('effect after PNN network training')

Xlabel ('sample number')

Ylabel ('classification result')

Set (gca,'Ytick',1:5)

Subplot (1, 2, 2)

H=Yc-t_train_temp

Stem (H)

Title ('error diagram after PNN network training')

Xlabel ('sample number')

%% Network predicts unknown data effect

Y2=sim (net,p_test)

Y2c=vec2ind (Y2)

Figure (2)

Stem (1:length (Y2c), Y2C,'b ^')

Hold on

Stem (1:length (Y2c), tasking test recording ritual')

Title ('prediction effect of PNN network')

Xlabel ('Forecast sample number')

Ylabel ('classification result')

Set (gca,'Ytick',1:5)

Thank you for your reading. The above is the content of "Transformer Fault case Analysis based on probabilistic Neural Network PNN". After the study of this paper, I believe you have a deeper understanding of transformer fault case analysis based on probabilistic neural network PNN, and the specific application needs to be verified by practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report