logo
Loading...

出現FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated的錯誤 - Cupoy

作業 1,2 出了以下 errorC:\Users\user\Anaconda3\lib\site-...

ml100-3-d10

出現FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated的錯誤

2019/09/14 01:04 PM
機器學習新手論壇
William Mok
觀看數:0
回答數:2
收藏數:0
ml100-3-d10

作業 1,2 出了以下 error

C:\Users\user\Anaconda3\lib\site-packages\scipy\stats\stats.py:1713: FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`. In the future this will be interpreted as an array index, `arr[np.array(seq)]`, which will result either in an error or a different result.   return np.add.reduce(sorted[indexer] * weights, axis=axis) / sumval 


但可以出圖表

Now scipy version : 1.1.0