Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Main Repositories
otb
Commits
e9635127
Commit
e9635127
authored
Jul 27, 2017
by
Cédric Traizet
Browse files
removed irrelevants comments
parent
9d87c506
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/cbTrainSOM.txx
View file @
e9635127
...
...
@@ -125,14 +125,14 @@ void cbLearningApplicationBaseDR<TInputValue,TOutputValue>
dimredTrainer->SetMaxWeight(GetParameterFloat("model.som.iv"));
typename TemplateEstimatorType::SizeType size;
std::vector<std::basic_string<char>> s= GetParameterStringList("model.som.s");
for (int i=0; i<dim; i++){
// This will be templated later (the 3)
for (int i=0; i<dim; i++){
size[i]=std::stoi(s[i]);
}
dimredTrainer->SetMapSize(size);
typename TemplateEstimatorType::SizeType radius;
std::vector<std::basic_string<char>> n= GetParameterStringList("model.som.n");
for (int i=0; i<dim; i++){
// This will be templated later (the 3)
for (int i=0; i<dim; i++){
radius[i]=std::stoi(n[i]);
}
dimredTrainer->SetNeighborhoodSizeInit(radius);
...
...
Write
Preview
Supports
Markdown
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