摘要:
『Convex Optimization Basics - YouTube』 【Convex Sets】Some properties: The empty set ∅ and ℝd are both convex. Preserved by scaling and translation. Int 阅读全文
posted @ 2021-09-12 19:36
harman-chen
阅读(86)
评论(0)
推荐(0)
摘要:
以实现 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 阅读全文
posted @ 2021-09-12 15:13
harman-chen
阅读(47)
评论(0)
推荐(0)
浙公网安备 33010602011771号