Numpy / Polyfit - Suppress printing of Intel MKL Error message

前端 未结 2 2001
醉话见心
醉话见心 2021-01-14 08:05

I\'m computing a polyfit multiple times during a program, and some of my inputs are np.nan and are going to get the algorithm problems. I know thi

2条回答
  •  渐次进展
    2021-01-14 08:18

    The error

    Intel MKL ERROR: Parameter 4 was incorrect on entry to DELSD

    occurs when you have Nan or Inf value in your input. Please check and impute it.

提交回复
热议问题