0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

NaNってこった。

Posted at

統計処理のプログラムが期待した動作をしていない。

  • python でnumpyベースのプログラムをしていて、データファイルを切り替えた。
  • 書式をそろえて解析できるようにしたはずだった。
  • 結果がおかしい。
  • assertをつぎ込んでいくとassertでプログラムが停止するように異常の発生の場所を絞りん込んだ。
  • 統計関数の戻り値がNaNだった。
  • 判明したこと:
    • ある種の統計関数は、入力データにNaNがあると、結果がNaNになってしまう。
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?