alexhock / sofia-ml

Automatically exported from code.google.com/p/sofia-ml

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The ids in cluster output are formatted scientific notation rather than ints

GoogleCodeExporter opened this issue · comments


This effects large ids.

The issue is in cluster-src/sofia-kmeans.cc

The solution diff is:

345c345
<             << test_data->VectorAt(i).GetY() << std::endl;

---
>             << (int)test_data->VectorAt(i).GetY() << std::endl;




Original issue reported on code.google.com by clive....@rummble.com on 6 Mar 2013 at 2:37