我正在使用python的自动梯度库来计算logistic回归的代价函数的梯度。LR的fit方法代码如下: import numpy as np def __init__(selfTypeError: loop of ufunc does not support argument 0 of type ArrayBox which has
user/test.py", line 1847, in cos_max_longitudeTypeError: loop of ufunc does not support argument 0 of type decimal.Decimal which has no callable arccos method