Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Carlos Mejia
2S-SOM_versionCM
Commits
f5d3f6ea
Commit
f5d3f6ea
authored
May 07, 2019
by
Carlos Mejia
Browse files
Adding Alpha and Beta coeficients array to the main level of returned St
parent
5fe676e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
Code-2S-SOM/learn_2s_som.m
Code-2S-SOM/learn_2s_som.m
+9
-7
No files found.
Code-2S-SOM/learn_2s_som.m
View file @
f5d3f6ea
...
...
@@ -443,8 +443,9 @@ function [StsMap sMap_denorm Resultout sMapPTout] = learn_2s_som(A,nb_neurone,va
'trainlen'
,
trlen_2s_som
,
...
'tracking'
,
tracking
);
Result
(
i
,
j
)
.
lambda
=
lambda
(
i
);
Result
(
i
,
j
)
.
eta
=
eta
(
j
);
Result
(
i
,
j
)
.
lambda
=
lambda
(
i
);
Result
(
i
,
j
)
.
eta
=
eta
(
j
);
Result
(
i
,
j
)
.
DimData
=
DimData
;
current_perf
=
som_distortion
(
Result
(
i
,
j
)
.
sMap
,
sD_norm
);
fprintf
(
1
,
' --> som_distortion=%s\n'
,
num2str
(
current_perf
));
...
...
@@ -514,11 +515,12 @@ function [StsMap sMap_denorm Resultout sMapPTout] = learn_2s_som(A,nb_neurone,va
end
if
(
bool_2ssom
)
St
.
lambda
=
Result
(
iBest
)
.
lambda
;
St
.
eta
=
Result
(
iBest
)
.
eta
;
St
.
bmus
=
Result
(
iBest
)
.
bmus
;
St
.
Alpha
=
Result
(
iBest
)
.
Alpha
;
St
.
Beta
=
Result
(
iBest
)
.
Beta
;
St
.
lambda
=
Result
(
iBest
)
.
lambda
;
St
.
eta
=
Result
(
iBest
)
.
eta
;
St
.
bmus
=
Result
(
iBest
)
.
bmus
;
St
.
Alpha
=
Result
(
iBest
)
.
Alpha
;
St
.
Beta
=
Result
(
iBest
)
.
Beta
;
St
.
DimData
=
Result
(
iBest
)
.
DimData
;
St
.
sMapPT
=
sMapPT
;
if
bool_norm
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment