img

咖啡与代码

咖灰怪’s Blog

“当你发现自己的才华撑不起野心时,就请安静下来学习吧。”
NumPy 基础:数组和向量化计算
2019-10-16 16:43    Python    2061 阅读    0条回复

NumPy 本身不提供建模和科学函数。NumPy 属于比较基础的库,虽然也提供一些诸如读取数据之类的方法,但是很多时候我们会使用 Pandas(基于 NumPy)去实现。 NumPy ndarray: 多维数组对象 NumPy的核心特征之一:N-维数组对象 ndarray;ndarray 是一个通用的多维 同类 数据容器。 ndarray 属性 ndarray shape 属性,用来表征数组每一维...

正态分布及其概率计算
2019-10-14 14:35    统计学    2333 阅读    0条回复

正态分布的定义 若随机变量 X X X 的分布密度是 n ( x ; μ , σ ) = 1 2 π σ exp ( − 1 2 σ 2 ( x − μ ) 2 ) , − ∞ < x < ∞ n(x ; \mu, \sigma)=\frac{1}{\sqrt{2 \pi \sigma}} \exp \left(-\frac{1}{2 \sigma^{2}}(x-\mu)^{2}\ri...

Foundation of Data Analysis 学习笔记(2) Probability and Distributions
2019-10-09 00:23    学习笔记    1985 阅读    0条回复

Note for chapter 2 Probability and Distributions (概率与分布) 一些符号: 符号 表示 定义 ∀ \forall ∀ for all symbol 对所有 ∀ x : P ( x ) \forall x: P(x) ∀ x : P ( x ) 表示 P ( x ) P(x) P ( x ) 对于所有 x x x 为真 Probability 概率 ...

Foundation of Data Analysis 学习笔记(1) Data Visualization
2019-10-09 00:15    学习笔记    2266 阅读    0条回复

Note for chapter 1 Data Visualization (数据可视化) Vacabulary for this chapter left skewed 左倾斜 symmetric 对称 right skewed 右倾斜 outliers 异常值,极端值 Qualitative Variables and Quantitative Variables Categorical (q...

Mathematical Methods for Data Analysis 学习笔记(2) Decision Analysis
2019-09-24 20:43    学习笔记    2910 阅读    0条回复

Vacabulary for this chapter optimal strategy 最优策略 mutually exclusive 互相排斥的(相互独立) collectively exhaustive 完全穷尽 optimistic 乐观的 conservative 保守的 chronological 按(时间)先后顺序的 sensitivity 灵敏度 prior probability...

Mathematical Methods for Data Analysis 学习笔记(1) Introduction
2019-09-23 00:17    学习笔记    1964 阅读    0条回复

Vacabulary for this chapter Operations Research 运筹学 quantitative 定量的 alternative 选择性的; 替代选择,可供选择的事物 constraints 约束条件 criterion 准则 replicas 复制品 assumptions 假设 restrictions 限制 deterministic 确定性的 stochas...

Python 语言特性(语言语义上)
2019-09-19 13:29    Python    1900 阅读    0条回复

本文记录 Python 语言在语言语义层面上的语言特性。 动态引用、强类型 Python 是动态引用语言,类似 PHP。比如: In [ 18 ]: a = 5 In [ 19 ]: type(a) Out[ 19 ]: int In [ 20 ]: a = 'foo' In [ 21 ]: type(a) Out[ 21 ]: str 我们给 a 复制 int 类型和 string 类型都是没问...

img
线性代数,临时抱佛脚速撸系列(2)矩阵
2019-09-09 22:41    学习笔记 数学 线性代数   1728 阅读   0条回复

什么是矩阵 形如 ( 1 3 2 4 5 6 ) \left(\begin{array}{ll}{1} & {3} \\ {2} & {4} \\ {5} & {6}\end{array}\right) ⎝ ⎛ ​ 1 2 5 ​ 3 4 6 ​ ⎠ ⎞ ​ 矩阵加减 例如,已知 A = ( 1 3 2 4 5 6 ) A=\left(\begin{array}{ll}{1...

img
微积分,相关公式列表
2019-09-09 13:02    学习笔记 数学 微积分   1731 阅读   0条回复

The Theorem of Pythagoras(毕达哥拉斯定理) a 2 + b 2 = c 2 a^{2}+b^{2}=c^{2} a 2 + b 2 = c 2 if c c c is the length of the hypotenuse and a a a and b b b are the shorter side lengths of a right-angled triangl...

img
Precalculus
2019-08-31 23:49    学习笔记 数学 微积分   2051 阅读   0条回复

Real line, decimals and significant figures(实线,小数,和有效数字) Sets and elements A set is a collection of objects, referred to as elements. A set may be represented, for example, by a list of elements surro...