我有一个 python 3 函数,定义如下:
def hidden_markov_model(distribution, K=3, N=100, *args):
当我调用该函数时,我收到此错误:
Q_hmm = hidden_markov_model(Gaussian, K=K, N=N,
mu, K*[std**(-2)*np.identity(2)],
)
SyntaxError: positional argument follows keyword argument
怎么了?