2010-10-01から1日間の記事一覧

ファイル入出力系

seekg std::ios::beg ファイルの先頭 std::ios::cur ファイルの今見ている位置 std::ios::end ファイルの最後 tellg 現在の位置を取得する ファイルの先頭では 0 を返す EOFでは -1 を返す リンク3より,EOFになったファイルディスクリプタを最初に巻戻して…

クラスタリング

K-means++ K-meansと違って,初期値選択を確率的に行う. 収束が高速になるという. k-means++: The Advantages of Careful Seeding - Stanford InfoLab Publication Server K-means++ - Wikipedia, the free encyclopedia http://noble-gas.blogspot.com/20…