How can I create a neural network for data classification using the Neural Network Toolbox?

2 次查看(过去 30 天)
I want to create and train a neural network which can classify the input data. For example, I would like to classify rocks into one of eight different classes based on the relative concentrations of the different minerals of which these rocks consist.

采纳的回答

Greg Heath
Greg Heath 2016-5-10
Documentation:
help patternnet
doc patternnet
Examples:
greg patternnet
Hope this helps.
Greg

更多回答(1 个)

MathWorks Support Team
A number of neural network types may be trained to perform classification tasks.
For example, this is the textbook job of a perceptron network. It uses one or several hardlimit neurons to divide the input space into 2 or more categories. A single hardlimit neuron splits the input space into 2 halves that are separated by a linear divider (i.e.: a line, a plane, a hyperplane, etc.). Two hardlimit neurons split the space into as many as 4 categories, again separated by linear dividers. Three hardlimit neurons can split the space into as many as 8 categories, and so forth.
The perceptron network has limitations, though: the dividing lines will be linear, and your data may not actually fit the constraints of the classification. Such complication will require more and different neurons. Consult standard texts like Hagan, Demuth, and Beale's Neural Network Design for more information.
The Learning Vector Quantization (LVQ) network is also well-suited for classification applications. It is not bound by the linearity limitations of the textbook perceptron, and it may be more easily adapted to the complications mentioned above. See the attached file "myScript.m" for an example of constructing and training an LVQ network.
  2 个评论
farzad
farzad 2015-2-26
This was Awesome help , finally I found a good book , they are reeeeallly few people answering and helping on Neural Networks here , WHY ??????????????????????????????????????
Greg Heath
Greg Heath 2015-7-23
Yeah, the answer is pretty lame. My guess is that the help and documentation is the purview of expert programmers who are not necessarily experts in NNs.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by