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
af22e204
Commit
af22e204
authored
Feb 08, 2019
by
Carlos Mejia
Browse files
Adding NO-2S-SOM Option to Code-2S-SOM/learn_2s_som.m to avoid 2S-SOM optimisation phase
parent
9687455b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
Code-2S-SOM/learn_2s_som.m
Code-2S-SOM/learn_2s_som.m
+6
-3
No files found.
Code-2S-SOM/learn_2s_som.m
View file @
af22e204
...
...
@@ -94,7 +94,7 @@ function [StsMap sMap_denorm Resultout sMapPTout] = learn_2s_som(A,nb_neurone,va
i
=
1
;
while
(
i
<=
length
(
varargin
))
if
ischar
(
varargin
{
i
})
switch
varargin
{
i
},
switch
lower
(
varargin
{
i
}
)
,
case
{
'verbose'
,
'-verbose'
},
bool_verbose
=
true
;
case
{
'returnstruct'
,
'return-struct'
,
'struct'
,
'-return-struct'
,
'-struct'
},
...
...
@@ -124,10 +124,13 @@ function [StsMap sMap_denorm Resultout sMapPTout] = learn_2s_som(A,nb_neurone,va
case
'trainlen-2s-som'
bool_trlen_2s_som
=
true
;
trlen_2s_som
=
varargin
{
i
+
1
};
i
=
i
+
1
;
case
'
S
2-
SOM
'
case
'
s
2-
som
'
disp
(
'** S2-SOM Active **'
);
bool_2ssom
=
true
;
case
'DimData'
case
'no-s2-som'
disp
(
'** S2-SOM Inactive, only SOM training **'
);
bool_2ssom
=
false
;
case
'dimdata'
DimData
=
varargin
{
i
+
1
};
i
=
i
+
1
;
for
di
=
1
:
length
(
DimData
)
DimBloc
(
di
)
.
Dim
=
DimData
(
di
);
...
...
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