我对强制 python 代码成为 PEP8 有点陌生,PEP8 这行代码的首选方法是什么:
emissionprob = preprocessing.normalize(self.random_state.rand(self.n_components, self.n_symbols), norm='l1', axis=1, copy=False)
我个人有点奇怪,喜欢这样,这算PEP8吗?
emissionprob = preprocessing.normalize(
self.random_state.rand(
self.n_components,
self.n_symbols
),
norm='l1',
axis=1,
copy=False
)