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

How to use the regression method of RBF Network

2025-01-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

This article mainly introduces "how to use the regression method of RBF network". In the daily operation, I believe that many people have doubts about how to use the regression method of RBF network. The editor consulted all kinds of data and sorted out simple and easy-to-use operation methods. I hope it will be helpful for you to answer the doubts about "how to use the regression method of RBF network". Next, please follow the editor to study!

% clear environment variables

Clc

Clear

% generate input and output data

% set step size

Interval=0.01

% generate x1 x2

X1=-1.5:interval:1.5

X2=-1.5:interval:1.5

According to the function, the corresponding function value is obtained first as the output of the network.

F = 20 + x1 ^ 2-10*cos (2*pi*x1) + x2 ^ 2-10*cos (2*pi*x2)

%% Network Establishment and training

The input of% network establishment is [x1bot x2] and the output is F. Spread uses the default.

Net=newrbe ([x1x x2], F)

Effect verification of%% network

% We will bring back the original data to test the network effect:

Ty=sim (net, [x1bot x2])

We use images to see the fitting effect of the network on nonlinear functions.

Figure

Plot3 (x1 ~ x2 ~ F ~ r')

Hold on

Plot3 (x1 ~ x2 ~ tyj ~ bm.)

View (1136.36)

Title ('visual method to observe the fitting effect of accurate RBF neural network')

Xlabel ('x1')

Ylabel ('x2')

Zlabel ('F')

Grid on

At this point, the study on "how to use the regression method of RBF network" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

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