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

BUG: fix the csv reader in TrainRegression

No related merge requests found
Showing with 1 addition and 2 deletions
+1 -2
......@@ -272,8 +272,7 @@ void ParseCSVPredictors(std::string path, ListSampleType* outputList)
elem.Fill(0.0);
for (unsigned int i=0 ; i<nbCols ; ++i)
{
iss.str(words[i]);
iss >> elem[i];
elem[i] = std::stod(words[i]);
}
outputList->PushBack(elem);
}
......
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