In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article Xiaobian for you to introduce in detail "matlab how to achieve single-layer competitive neural network data classification", the content is detailed, the steps are clear, and the details are handled properly. I hope this "matlab how to achieve single-layer competitive neural network data classification" article can help you solve your doubts, following the editor's ideas slowly in-depth, together to learn new knowledge.
In the case of no supervision and no expected output, the neural network based on tutor learning is often powerless. Self-organizing neural network can be observed, analyzed and compared repeatedly to objective events, and the glyph problem is its inherent rule. And correctly classify things with common characteristics, this kind of network is more similar to the learning mode of biological neural network in human brain, that is, it can be self-organized by automatically finding the inherent laws and essential attributes in the samples. adaptively change the parameters and structure of the network, which is also the origin of self-organizing name. the learning rules of self-organizing neural networks mostly adopt competitive learning rules.
The basic idea of the competitive neural network is that each neuron in the competitive layer of the network competes to get the opportunity to respond to the input pattern through competition. in the end, only one neuron becomes the winner of the competition. and the weight of each connection related to the winning neuron is adjusted to a direction that is more conducive to its competition, and the self-organizing competitive network can learn adaptively. It further broadens the application of neural network in pattern classification and recognition.
% clear environment variables
Clc
Clear
% enter input data
Load data and divide the data into two categories: training and prediction
Load gene.mat
Data=gene
P=data (1Pluto 40Di:)
T=data (41PUR 60J:)
% is in accordance with the input format of neural network after transpose.
Please P'
Trout'
%% Network Establishment and training
Establish a competitive network:
Net = competlayer (2)
% initialize the network and set network parameters:
Net=init (net)
Net.trainparam.epochs=20
% training network:
Net=train (net,P)
Effect verification of%% network
% bring back the original data to test the network effect:
A=sim (net,P)
Ac=vec2ind (a)
%% network for classified prediction
Below, bring the last 20 data into the neural network model and observe the network output:
Y=sim (net,T)
Yc=vec2ind (Y)
After reading this, the article "how to realize the data classification of single-layer competitive neural network with matlab" has been introduced. If you want to master the knowledge points of this article, you still need to practice and use it yourself to understand it. If you want to know more about related articles, you are welcome to follow the industry information channel.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un