Math
yumowutong
这个作者很懒,什么都没留下…
展开
-
Generating Random Variables from Distributions
Generating Random Variables from DistributionsGeneral Methods for Continuous DistributionsTransformation: only suitable for the distribution function F(x) whose inverse F^(-1) i原创 2007-05-04 13:30:00 · 995 阅读 · 0 评论 -
Numerical Example of K-Means Clustering
The basic step of k-means clustering is simple. In the beginning we determine number of cluster K and we assume the centroid or center of these clusters. We can take any random objects as the initial centroids or the first K objects in sequence can also se原创 2010-10-20 15:57:00 · 834 阅读 · 0 评论 -
Euclidean distance vs Pearson correlation vs cosine similarity?
Pearson correlation and cosine similarity are invariant to scaling, i.e. multiplying all elements by a nonzero constant. Pearson correlation is also invariant to adding any constant to all elements. For example, if you have two vectors X1 and X2, and your原创 2010-10-20 15:17:00 · 1653 阅读 · 0 评论 -
Kappa Statistic
<br />Kappa statistic 这个指标用于评判分类器的分类结果与随机分类的差异度。(Kappa is a measure of agreement normalized for chance agreement.) P(A) - P(E)<br />> K = -----------<br />> 1 - P(E)> Where P(A) is the percentage agreement (e.g., between your classifier and<b原创 2010-10-24 01:52:00 · 3660 阅读 · 0 评论