由买买提看人间百态

topics

全部话题 - 话题: covari
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
h*********r
发帖数: 210
1
来自主题: CS版 - 问一个简单的svd问题
是不是还要先算data的covariant matrix,再做svd
d******e
发帖数: 7844
2
来自主题: CS版 - 求助Kernel PCA的matlab code
你怎么算sample covariance matrix啊。
不得先把样本变成sample mean 0么?
不然X'X怎么可能是sample covaraince matrix啊
c******r
发帖数: 300
3
来自主题: CS版 - 牛人很神奇的简历啊
说到引用,这个文章很夸张
Dempster, A.P.; Laird, N.M.; Rubin, D.B. (1977). "Maximum Likelihood from
Incomplete Data via the EM Algorithm".
citation > 20k
另外Dempster
Covariance selection Biometrics 28, 157-175, 1972
提出了undirected graphical model for Gaussian distribution
可惜没啥人知道这个。。。
MJ也就是把graphical model在cs中应用发扬光大,算不上什么顶级大师吧。
c******r
发帖数: 300
4
来自主题: CS版 - 牛人很神奇的简历啊
说到引用,这个文章很夸张
Dempster, A.P.; Laird, N.M.; Rubin, D.B. (1977). "Maximum Likelihood from
Incomplete Data via the EM Algorithm".
citation > 20k
另外Dempster
Covariance selection Biometrics 28, 157-175, 1972
提出了undirected graphical model for Gaussian distribution
可惜没啥人知道这个。。。
MJ也就是把graphical model在cs中应用发扬光大,算不上什么顶级大师吧。
s****e
发帖数: 1180
5
【 以下文字转载自 Statistics 讨论区 】
发信人: sheide (shei), 信区: Statistics
标 题: 诚心请教大data set到底该怎么分析?
发信站: BBS 未名空间站 (Wed Jun 22 18:39:19 2011, 美东)
诚心请教大data set到底该怎么分析?今天面试的一个问题,说是有一个data set要分
析,有100 million个observations,200 thousand个covariates,公司不用SAS,只用
R和Python,但这么大的data set R 完全handle不了,问我该怎么办?用C?我会C。好
象版上以前有讨论过大data set,但好象一般学校的phd program 都没这方面的
project(whatever,我胡说的,反正我们学校是这样,不知道其他学校怎么样?),今
天终于让我碰上了。大家知道这方面一般都怎么办?有什么常规方法?或是有什么实用
的参考书吗?还有如果用C的话,我一般就用 dev c++ IDE,或是用linux gcc,请问这
两种C平台能分析了这么大的data se... 阅读全帖
d******e
发帖数: 7844
6
就是correlation和covariance的关系。
correlation是scale-invariant。
G***l
发帖数: 355
7
来自主题: DotNet版 - 谈谈我的.NET
asp.net不熟,不过楼主对.net的认识完全看不出来是从.net出事前就开始“研究”的。
linq可不只是数据库工具。linq加上lambda expression是写代码的利器。linq2sql只
是很一个简单的orm的实现,EF是足够还是复杂不是一个人一个项目说了算的,我还说
这些玩意都复杂,我写用ado.net+sql就行了呢。Java的Hibernate也很复杂。
关于.net4,随便说几个,C#4.0有parallel task跟concurrent collection,还有其他
很多async跟parallel的东西,对写这方面的程序帮助很大。Covariance和
Contravariance也是很重要的language feature。CLR也有很多进步,比如一些GC的优
化,DLR之类。
还是要多看看书,多学习多尝试新东西。

了.
l*s
发帖数: 783
8
来自主题: DotNet版 - [合集] 谈谈我的.NET
☆─────────────────────────────────────☆
Cklein (Calvin Klein) 于 (Mon Aug 6 20:03:32 2012, 美东) 提到:
从事IT将近20年, .NET出生前就开始研究.NET, 我可以大言不惭的说我是.NET 牛人了.
可是对.NET的近期发展很是失望.
.Net 2.0 在语言上已是顶峰. LinQ 是一个VERY NICE数据库工具.
时至今日, 我的标准配置还是:
.Net 3.5 SP1, Linq2Sql, ASP.NET, WCF
其它后来所有的新版本, 新FEATURE, 感觉都有点脱裤子放屁. .NET4.0 我研究了很长
时间, 还是觉得没有必要升级. 没有任何新的东西.升级风险很大, 得不偿失.
EF也做的越来越臃肿, 复杂. LINQ 2 SQL足够了.
MVC也扯淡. ASP.NET本来不是MVC的东西, 硬要用这个基础做一个MVC出来. 要做干脆另
起炉灶, 现在搞得不伦不类, 太像业余选手. 还搞不同的SCRIPTING ENGINE, 感觉象业
余的OPENSOURCE... 阅读全帖
m**c
发帖数: 2103
9
来自主题: Hardware版 - 令人失望的Thinkpad T430
这比那个是严谨可信一些。不过本着学术钻牛角尖的精神,该报告还有几点问题。仅供
娱乐哦。
首先这个第三方保险是自愿的,那就要考虑adverse selection.如果买该保险的用户无
法代表整个使用laptop的用户群那该报告就有问题。
其次该报告没有讲detail. 比如那个malfunction faliure rate, 难道就是把2年来的
统计数据tabulate一下? 考虑到censoring至少估计下survival function吧,就算是
基本的parametric estimate with covariates.
这家公司很有意思,所有品牌的电脑保费都一样,只看价格。我瞅了一眼比联想自己的
质保贵不少,比苹果的便宜一些和戴尔的差不多。从这个角度看或许可以回答联想包不
包括IBM.既然thinkpad 基本上只能从官网买而官网质保更便宜,那么参保square
trade的联想用户更可能是从比如bestbuy,马鬃等买ideapad的用户。当然这仅仅是推测
,或许07年的时候联想官方质保更贵。
我第一台笔记本是ASUS,当时就瞅着其坚如磐石的口号,结果不幸中了转轴门,... 阅读全帖
e***g
发帖数: 158
10
来自主题: Java版 - A question about inheritance

i guess the most important role of a method is as interface, instead of
chunk of code of implemenation, for java.lang.reflect.Method.
the subclass method contract is 'consistent' with super's, but it doesn't have
to be identitcal. it can differ in declaringClass(duh!), modifiers(less
restrictive), exceptionTypes(less declared exception types), returnType
(covariant return type in 1.5? not sure).
so C's method is not equal to A's method. you can call C's method on
A2 object, but you cannot call
r****r
发帖数: 115
11
来自主题: Programming版 - 一个C#似疑模板问题
最近我也碰到了这个问题 (covariance),http://blogs.msdn.com/rmbyers/archive/2
005/02/16/375079.aspx
反正我最后就是写了个函数来做cast,不知道有没有更好的方法
X****r
发帖数: 3557
12
Because an "overd *" can be used in place of an "overb *",
but an "overd" cannot be used directly in place of an "overb".
(check Liskov substitution principle)
Think about this:
overd d;
overb b = d;
And this:
overd* pd;
overb* pb = pd;
They are totally different.
z****e
发帖数: 2024
13
五体投地。
w****m
发帖数: 146
14
upcasting only applies to pointer
z****e
发帖数: 2024
15
还有reference 啦。
z****e
发帖数: 2024
16
这不covariant吗?
z****e
发帖数: 2024
17
Base版的是叫early binding,也叫静态束定。
我靠,这些道理自以为都明白了,看了个covariant,以为什么牛鼻东东,又被忽悠了。
r****t
发帖数: 10904
18
covariant return 用在自己身上好像不行啊。
n*w
发帖数: 3393
19
来自主题: Programming版 - C# is light-years ahead of Java now
下面这段是别人写于2009年的,其中“"a language that's run by a corporation
rather than a community" is actually more of an issue with Java than it is C
#;”这句现在还适用吗?
"
There's nothing "sudden" about the popularity of C#, it's been quite popular
since its birth at the turn of the century.
Also, I don't understand how you can consider C# to be a step backwards from
Java; if anything, C# is several steps ahead of Java. The cross-platform "
issue" you mention is only an issue of politics and not one of technical
cap... 阅读全帖
x**n
发帖数: 461
20
来自主题: Programming版 - C# is light-years ahead of Java now
大家都觉得C#有很多新feature,而JAVA没有,跟我的感觉差不少。C#
的以下feature我都在用:
LINQ
Lambda Expressions
WCF
WPF
Closures
Dynamic types and the DLR
Named and Optional arguments
Covariance and Contravariance
Task
事实上可以把他们都当作扩展库,除了Dynamic是真正新东西,而且最终Dynamic从我们
的code中消失了。
但是我最想用的AOP在.NET上基本就是靠attribute了,想weaver只能靠做梦,即使有
weaver也是动态的,没有象Java那样有一堆的静态weaver。首先作为一个坚定的POCO支
持者,为了AOP而用attribute是不可理喻的。其次,动态weaver的performance
penalty有多大还不知道,如果实在不行恐怕最后还是只能回到原始的OO的路上了。
k*****a
发帖数: 1463
21
来自主题: Programming版 - Linq不是syntactic sugar
As some suggested, there is lot of syntactical sugars from either java or C#
.
However, the language features are something that makes them different
typing( reified generics, use-site covariance, late/dynamic binding).
functional programing (expression tree, closures, lambda).
for these to work as C#, java developer need to add own logical coding (and
associated tests) to achieve and (verify) it.
c******o
发帖数: 1277
22
来自主题: Programming版 - Scala又被吐槽了
举个例, 你先设计了一个库,为了让它能和high kinds/inheritance 结合,必须要
variance, 然后不久别人想要extend你的库,这时候就不好做了,任何的改动都要保持
以前的variance behavior, 改动越多,越不可能实现,到最后很有可能自相矛盾,一
个东西必须是covariance,也必须是contravariance.
implicit 更明显,你有一个implicit 转换了,然后再看中了另一个好的库,加进来,
这下好,三方转换了,都要implicit么?以前有的怎么办? 再加一个库呢?
当然,我还是热爱scala的,后端语言我的第一选择。
X****r
发帖数: 3557
23
来自主题: Programming版 - [c++] virtual member?
看起来楼主想要使这个成员的类型和类本身covariant,就是
class Node {
protected:
Node *next;
};
class Node1D : public Node {
protected:
Node1D *next;
};
但是这两个next是同一个成员。这个不能直接这样写,但是可以用setter/getter模拟:
class Node {
private:
Node *next;
protected:
Node *getNext() { return next; }
void setNext(Node *newNext) { next = newNext; }
};
class Node1D : public Node {
protected:
Node1D *getNext() { return (Node1D *)Node::getNext(); }
void setNext(Node1D *newNext) { Node::setNext(newNext); }
};
好久没写C++了,语法错了勿怪。
a***n
发帖数: 538
24
来自主题: Programming版 - [c++] virtual member?
不过set不行,parameter不支持covariant。
p*u
发帖数: 2454
25
来自主题: Programming版 - [c++] virtual member?

why do u need covariant for set???
l**********n
发帖数: 8443
26
来自主题: Programming版 - 第一次面试几个.NET Web码工
1. 如何使用yield。
2. 什么是Covariance and Contravariance。
3. Lambda Expressions
N******n
发帖数: 3003
27
有一个symmetric matrix, 我是平方得来的,应当是positive definite: 看了
eigvalue 都是正的,但是在matlab上用cholcov: Cholesky-like covariance
decomposition
出不来:
[T,err] = cholcov(sigma)
T是空的。不知道为什么,谢谢
A=
sigma =
0.4382 -0.3990 -1.2396 -1.0880 0.9084 1.5463 -0.6721 0.
4587
-0.3990 0.5448 1.3429 1.1029 -1.0068 -1.7077 0.6971 -0.
4047
-1.2396 1.3429 15.4717 10.6047 -10.6348 -18.3169 6.8657 -6.
0160
-1.0880 1.1029 10.6047 7.5741 -7.2716 -12.7805 4.8757 ... 阅读全帖
r*****3
发帖数: 143
28
来自主题: Programming版 - Python for Finance
About This Book
Estimate market risk, form various portfolios, and estimate their variance-
covariance matrixes using real-world data
Explains many financial concepts and trading strategies with the help of
graphs
A step-by-step tutorial with many Python programs that will help you learn
how to apply Python to finance
Who This Book Is For
Python for Finance is perfect for graduate students, practitioners, and
application developers who wish to learn how to utilize Python to handle
their financia... 阅读全帖
p*****2
发帖数: 21240
29
来自主题: Programming版 - Scala又被鄙视了
In my experience, Scala's is much more complicated. It has to be, in order
to interoperate with Java, include object-oriented programming, and
therefore use a lot of subtyping and attempt to impose principle on it.
Scala seems to be a bazaar in which concepts from Java and Haskell collide,
and there's even some Erlang thrown in (the actor model). Type-wise, these
sub-languages don't always get along well. For what it must do, Scala does a
good job. The problem is that its mandatory first-class s... 阅读全帖
p*****2
发帖数: 21240
30
来自主题: Programming版 - 我觉得在scala上浪费时间没意思

还有covariance,contravariance等等一堆概念
l******t
发帖数: 55733
31
来自主题: Programming版 - 我觉得在scala上浪费时间没意思

,
is
use
Scala
其实Martin Odersky还是很清楚他要干什么的。听他的course收获很大。implicit和
partial function都是为了context injection,manifest/typetag是解决erasure的问
题,covariant是为了解决OO继承的anti pattern。这里面大概除了manifest其他都可
以opt out。可是架不住别人会用所以还是要懂。scala为了OO/jvm compromise太多。
如果能有选择肯定直接haskell。
p***o
发帖数: 1252
32
clone这个标准做法20多年前就有共识,不说java直接设计成这样,
C++里还有covariant return type这样的语言特性来支持。
b**********h
发帖数: 419
33
感觉这些概念是编程课里某个重要Topic里的
有什么书可以系统学习这些概念的, 最好是Java的书,
谢谢
g****t
发帖数: 31659
34
都是洗脑用的商品。
c*********e
发帖数: 16335
35
immutable就是这个值不能变。
T*******x
发帖数: 8565
36
这个道理我还是没明白:如果C是A的subtype,为什么在Java中,list of C里不能存一
个type A的object,而在haskell里就可以。
n*w
发帖数: 3393
37
Java的list中又进又出。haskell只出
T*******x
发帖数: 8565
38
那为什么只出就可以呢?
n*w
发帖数: 3393
39
这样的话就是sub type关系了。
T*******x
发帖数: 8565
40
list(C) 是 list(A) 的 sub type?

这样的话就是sub type关系了。
n*w
发帖数: 3393
41
yes, 反直观的是contravariant.
T*******x
发帖数: 8565
42
谢谢。这个地方我还是没想明白,但是我不知道该问什么问题好了。
n*w
发帖数: 3393
43
想到一个contravariant解释,假如有一个function eat,接受一个参数,类型为鱼。
那么吃动物应该是其子类。大吃一鲸不是。
l******t
发帖数: 55733
44
这是oo继承固有的问题。fp没这个问题。fp的category是mixin的。
g****t
发帖数: 31659
45
来自主题: Programming版 - [bssd]有本书
我觉得可以看下几何学家如何处理Running index的命名和操作的。
计算机专家可能叫某种数据结构。
几何学家说不定叫moving frame, tensor什么的。
另外还有很多费解的名词都是这本书发明的。
Covariance contravariance之类的
当时在世纪转折出了好几种有意思的方案处理高维几何对象的表示和操作方法。


: 这个知识在本专业无用啊。

F********E
发帖数: 1025
46
有什么数值可以评价吗?(看到教科书上有covariance,但感觉不像)
最好有什么类似relative standard deviation的不依赖于原始数据大小的标准吗?
比如:如果是perfect的拟合,为0;如果是一塌糊涂的拟合,为1.
c*****e
发帖数: 619
47
I want to break oat genomic DNA into fragment of 10KB, what should be the
setting? So that I can get the fragment of the size I want?
Thank you!
m***T
发帖数: 11058
48
来自主题: Biology版 - 请教一个DNA sonication的问题
用Covaris S2可以shear到300bp。具体的查它家的protocol
y***i
发帖数: 11639
49
我的说法也不对
http://en.wikipedia.org/wiki/Standard_deviation
文章里找找这句话, 它下面的公式就是两个随机数和的标准方差计算公式。
The standard deviation of the sum of two random variables can be related
to their individual standard deviations and the covariance between them:
虽然要计算a-b 把b转成 -b,相减就变成相加:a+(-b),就能用上面的公式了。
B*M
发帖数: 1418
50
来自主题: Biology版 - 转个关于peer review的
希望年轻的PI们都能以此为榜样~~
http://www.psychologicalscience.org/observer/getArticle.cfm?id=
-------------------------------------
Twelve Tips for Reviewers
An occasional column by Henry L. Roediger, III
Many critical skills needed for becoming a successful academic are typically
not taught in graduate school, at least not in any formal way. One of these
is how to review journal articles. Few students coming out of graduate
school have much experience reviewing papers, and yet, at least for those
students ... 阅读全帖
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)