Commit e9635127 authored by Cédric Traizet's avatar Cédric Traizet
Browse files

removed irrelevants comments

No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
...@@ -125,14 +125,14 @@ void cbLearningApplicationBaseDR<TInputValue,TOutputValue> ...@@ -125,14 +125,14 @@ void cbLearningApplicationBaseDR<TInputValue,TOutputValue>
dimredTrainer->SetMaxWeight(GetParameterFloat("model.som.iv")); dimredTrainer->SetMaxWeight(GetParameterFloat("model.som.iv"));
typename TemplateEstimatorType::SizeType size; typename TemplateEstimatorType::SizeType size;
std::vector<std::basic_string<char>> s= GetParameterStringList("model.som.s"); 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]); size[i]=std::stoi(s[i]);
} }
dimredTrainer->SetMapSize(size); dimredTrainer->SetMapSize(size);
typename TemplateEstimatorType::SizeType radius; typename TemplateEstimatorType::SizeType radius;
std::vector<std::basic_string<char>> n= GetParameterStringList("model.som.n"); 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]); radius[i]=std::stoi(n[i]);
} }
dimredTrainer->SetNeighborhoodSizeInit(radius); dimredTrainer->SetNeighborhoodSizeInit(radius);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment