shockley/sofia-ml

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

Opened this issue · 0 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