Iteration determine in Self-Organizing Map to Cluster Data

2 ビュー (過去 30 日間)
ahmad karim
ahmad karim 2017 年 6 月 29 日
コメント済み: Qichen Deng 2022 年 4 月 6 日
in the attach i share an example of Self-Organizing Map that provided by MATLAB my problem is that the iteration number is fixed in 200. change it with other value like 150, 100, 500..
Regards
  1 件のコメント
Qichen Deng
Qichen Deng 2022 年 4 月 6 日
Could it be net.trainParam.epochs?
"epochs is maximum number of training iterations before training is stopped."
net.trainParam.epochs = some number
will change the number of training iterations

サインインしてコメントする。

採用された回答

Greg Heath
Greg Heath 2017 年 6 月 29 日
Type, without ending semicolon
net = net
then all properties will be displayed.
Chose the one that corresponds to iteration number.
Then change it.
Something along the lines of
net.property.iteration number = 100.
to change 200 to 100.
Hope this helps.
Thank you for formally accepting my answer
Greg

その他の回答 (1 件)

ahmad karim
ahmad karim 2017 年 6 月 29 日
Thanks alot sir, but when i type net=net. the informations that listed below are displayed bu there is not any information about iterartion. net =
Neural Network
name: 'Self-Organizing Map'
userdata: (your custom info)
dimensions:
numInputs: 1
numLayers: 1
numOutputs: 1
numInputDelays: 0
numLayerDelays: 0
numFeedbackDelays: 0
numWeightElements: 4800
sampleTime: 1
connections:
biasConnect: false
inputConnect: true
layerConnect: false
outputConnect: true
subobjects:
input: Equivalent to inputs{1}
output: Equivalent to outputs{1}
inputs: {1x1 cell array of 1 input}
layers: {1x1 cell array of 1 layer}
outputs: {1x1 cell array of 1 output}
biases: {1x1 cell array of 0 biases}
inputWeights: {1x1 cell array of 1 weight}
layerWeights: {1x1 cell array of 0 weights}
functions:
adaptFcn: 'adaptwb'
adaptParam: (none)
derivFcn: 'defaultderiv'
divideFcn: (none)
divideParam: (none)
divideMode: 'sample'
initFcn: 'initlay'
performFcn: 'mse'
performParam: .regularization, .normalization
plotFcns: {'plotsomtop', plotsomnc, plotsomnd,
plotsomplanes, plotsomhits, plotsompos}
plotParams: {1x6 cell array of 6 params}
trainFcn: 'trainbu'
trainParam: .showWindow, .showCommandLine, .show, .epochs,
.time
weight and bias values:
IW: {1x1 cell} containing 1 input weight matrix
LW: {1x1 cell} containing 0 layer weight matrices
b: {1x1 cell} containing 0 bias vectors
methods:
adapt: Learn while in continuous use
configure: Configure inputs & outputs
gensim: Generate Simulink model
init: Initialize weights & biases
perform: Calculate performance
sim: Evaluate network outputs given inputs
train: Train network with examples
view: View diagram
unconfigure: Unconfigure inputs & outputs
  1 件のコメント
Greg Heath
Greg Heath 2017 年 7 月 3 日
Check the defaults of
adaptwb and trainbu
Hope this helps.
Greg

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSequence 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