Very likely you're not passing in numpy arrays, but a list instead. Pass in numpy arrays or do beta = np.array(beta) in your function.
確定! 回上一頁