Notes From The Workbench

A blog about tools, ideas, and the routines.

math

[math] Recall, Precision, F1, Macro-F1, Balanced Accuracy

Recall 每个真实class里的case里,有多少是真的。(和per class accuracy每个class的accuracy是一样的) Example 二分类里 recall 不等于 overall accuracy ,但可以理解成“某一个 class 内部的 accuracy”。 假设把 1 当 positive class : | | 预测 1

[math] Statistical test

data is not normally distributed, non paired: Mann Whitney U test , or named Wilcoxon Rank Sum Test Ranks all observations from both groups together, calculates the sum of ranks fo

[math] Power rule

复习一下 Power rule 求根号x的导数 添加图片注释,不超过 140 字(可选) Power rule公式的来源 来自于微积分 添加图片注释,不超过 140 字(可选) 二项式定理Binomial Theorem展开右边的上面 添加图片注释,不超过 140 字(可选) 除以h: 添加图片注释,不超过 140 字(可选) 由于h是一个很小的数,右边那一

[math] Normalize

methods in normalizing values, independent of each other probability x/x.sum Compress range log x Standardize x mean or median /std min max x min / max min divide by max x/max

[math] Entropy

Shannon entropy 公式 添加图片注释,不超过 140 字(可选) entropy用H来表示 最大entropy是所有p uniform相等 添加图片注释,不超过 140 字(可选) Cross entropy 公式 添加图片注释,不超过 140 字(可选) 用于multi class,每个class的p加起来等于1 softmax 会让logi

[math] Statistics

t test & p value tanh h,herperbolic, hyperbola双曲线的意思。双曲线就是平面上到两个定点的距离差的绝对值是一个常数的点的轨迹。 添加图片注释,不超过 140 字(可选) 添加图片注释,不超过 140 字(可选) FC + p value 可以把FC和pvalue 合在一起 添加图片注释,不超过 140 字(可选)