摘要:
『Convex Optimization Basics - YouTube』 【Convex Sets】Some properties: The empty set ∅ and ℝd are both convex. Preserved by scaling and translation. Int 阅读全文
摘要:
以实现 x-y 坐标为例,定义一个类: 1 class Coordinate(object): 2 def __init__(self, x, y): 3 self.x = x 4 self.y = y 5 def distance(self, other): 6 x_diff_sq = (self 阅读全文