Statistical-Learning-Methods icon indicating copy to clipboard operation
Statistical-Learning-Methods copied to clipboard

Implement Statistical Learning Methods, Li Hang the hard way. 李航《统计学习方法》一书的硬核 Python 实现

Results 1 Statistical-Learning-Methods issues
Sort by recently updated
recently updated
newest added

in the class defination: class SVM: ... def _smo_objective(self, i, j): alpha, Y, K = self.alpha, self.Y, self.K return (alpha[i] * Y[i] * alpha * K[i:] * Y).sum() + (alpha[j]...