2014年10月27日

摘要: ## Javapublic class MaxHeap> { private List list; private int len; private List unmodifiedList; public MaxHeap(){ list = new ArrayL... 阅读全文
posted @ 2014-10-27 02:15 Alain_cs 阅读(388) 评论(0) 推荐(0)

2014年10月10日

摘要: ## Shallow Copy### OperaitonsIn python, an operation of shallow copy is as follows:a = [...]b = a[:]b = list(a)###########a = {...}b = dict(a)########... 阅读全文
posted @ 2014-10-10 13:16 Alain_cs 阅读(166) 评论(0) 推荐(0)

2014年10月9日

摘要: As we know, in java, a primitive-type variable is passed to a function by value while a Object-type variable is passed by its reference(i.e, the addre... 阅读全文
posted @ 2014-10-09 14:54 Alain_cs 阅读(180) 评论(0) 推荐(0)
摘要: First note that we have Newton's Method in calculus and in optimization. Generally, Newton's Method is the one in calculus, which aims to find $x^\*$ ... 阅读全文
posted @ 2014-10-09 14:04 Alain_cs 阅读(154) 评论(0) 推荐(0)
摘要: ## How it looks likeVery simaple, just looks like as follows: class BaseEstimator(object): @classmethod def _get_param_names(cls): def ge... 阅读全文
posted @ 2014-10-09 14:01 Alain_cs 阅读(1135) 评论(0) 推荐(0)

导航