摘要: 特征空间中两个实例点的距离是两个实例点相似程度的反应,其中Lp距离的定义如下: $L_p(x_i,x_j)=(\sum_{l=1}^n{|x_i^{(l)} x_j^{(l)}|^p})^{\frac{1}{p}} (p\geq1)$ \ 当 p = 1 时,称为曼哈顿距离,即: $L_1(x_i, 阅读全文
posted @ 2018-09-28 20:48 默写年华 阅读(1346) 评论(0) 推荐(1) 编辑
摘要: "原题:372. Super Pow" Your task is to calculate ab mod 1337 where a is a positive integer and b is an extremely large positive integer given in the form 阅读全文
posted @ 2018-09-28 10:51 默写年华 阅读(98) 评论(0) 推荐(0) 编辑