Skip to content

Commit

Permalink
update head img
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnau committed Feb 18, 2023
1 parent 0435dd9 commit 753217d
Show file tree
Hide file tree
Showing 16 changed files with 36 additions and 31 deletions.
4 changes: 2 additions & 2 deletions content/posts/2017-07-26-new-start.md
Expand Up @@ -3,12 +3,12 @@ title: 工坊装修记录
date: 2017-07-27 01:31:19
---

![](https://my-imgshare.oss-cn-shenzhen.aliyuncs.com/8855672_p0.jpg)

很久没有动blog了.

<!--more-->

![](https://my-imgshare.oss-cn-shenzhen.aliyuncs.com/8855672_p0.jpg)

修整了一下, 希望能做得有趣一点, 别老更新冷冰冰的技术文, 也写点别的, 狗窝也得有个窝样是不是(x

1. 更换主题(感谢原作者Litten, 伊莉雅真快) (done)
Expand Down
4 changes: 1 addition & 3 deletions content/posts/2017-08-08-poisson.md
Expand Up @@ -3,10 +3,8 @@ title: Poisson Distribution Summary
date: 2017-08-08 15:47:56
tags:
- stat



---

泊松分布是随机过程中的一个重要分布

<!--more-->
Expand Down
4 changes: 3 additions & 1 deletion content/posts/2017-08-18-core-python-programming-1.md
Expand Up @@ -5,11 +5,13 @@ tags:
- python

---
![](https://my-imgshare.oss-cn-shenzhen.aliyuncs.com/080_S.jpg)

这本书翻译稀烂, 然而我还是忍着看完了第一部分

<!--more-->

![](https://my-imgshare.oss-cn-shenzhen.aliyuncs.com/080_S.jpg)

## Python基础
### 基本风格指南
1. 跨行代码可以使用反斜杠`\`
Expand Down
5 changes: 4 additions & 1 deletion content/posts/2017-08-20-python-functional-programming.md
Expand Up @@ -5,10 +5,13 @@ tags:
- python

---
![](https://my-imgshare.oss-cn-shenzhen.aliyuncs.com/gamersky_028small_056_201785187DEA.jpg)

不学好函数式编程, 总觉得人生有遗憾

<!--more-->

![](https://my-imgshare.oss-cn-shenzhen.aliyuncs.com/gamersky_028small_056_201785187DEA.jpg)

## 什么是函数
1. python函数可以返回一个值或对象, 但返回一个容器对象的时候看起来像是返回了多个值: `return 'abc', 'def'`实际上是返回了一个有两个元素的元组而已
2. 函数有标准调用和关键字调用两种形式. 有关可变长度参数调用参考后文
Expand Down
6 changes: 2 additions & 4 deletions content/posts/2017-09-04-gradient-boosting.md
Expand Up @@ -3,16 +3,14 @@ title: 梯度提升(Gradient Boosting)
date: 2017-09-04 22:05:06
tags:
- gbdt



---
![](https://my-imgshare.oss-cn-shenzhen.aliyuncs.com/50782598_p0.png)

自己写的老物了, 整理一下发出来, 可能会修改

<!--more-->

![](https://my-imgshare.oss-cn-shenzhen.aliyuncs.com/50782598_p0.png)

### 1. 任意损失函数的Boosting
损失函数的一般表示是:
$$ L(y\_i, f(x\_i)) $$
Expand Down
4 changes: 2 additions & 2 deletions content/posts/2017-09-21-numpy.md
Expand Up @@ -7,11 +7,11 @@ tags:

---

![](https://my-imgshare.oss-cn-shenzhen.aliyuncs.com/56167711_p0.jpg)
用了这么久numpy居然没有总结一下
<!--more-->

<!--more-->

![](https://my-imgshare.oss-cn-shenzhen.aliyuncs.com/56167711_p0.jpg)

```python
import numpy as np
Expand Down
3 changes: 2 additions & 1 deletion content/posts/2017-09-25-python-oop.md
Expand Up @@ -6,11 +6,12 @@ tags:

---

![](https://my-imgshare.oss-cn-shenzhen.aliyuncs.com/64495434_p0.jpg)
python有很好的OOP特性, 自由度也非常大

<!--more-->

![](https://my-imgshare.oss-cn-shenzhen.aliyuncs.com/64495434_p0.jpg)

## 命名规则
1. 小驼峰命名法(camel case), 适用于变量名: `varFirst`, `verSecond`
2. 大驼峰命名法, 适用于类名: `PersonFirst`, `PersonSecond`
Expand Down
4 changes: 3 additions & 1 deletion content/posts/2017-09-26-python-thread.md
Expand Up @@ -6,10 +6,12 @@ tags:

---

![](https://my-imgshare.oss-cn-shenzhen.aliyuncs.com/57080648_p0.jpg)
即使有GIL的存在使得python的多线程显得鸡肋, 但在重I/O应用中还是很实用, 并且multiprecessing是基于threading的, 有必要理解

<!--more-->

![](https://my-imgshare.oss-cn-shenzhen.aliyuncs.com/57080648_p0.jpg)

## GIL
全局解释器锁(Global Interpreter Lock, GIL)是Python虚拟机的一个特性, 保证了任意时刻只有一个线程在解释器中运行. Python虚拟机的执行方式如下:

Expand Down
6 changes: 4 additions & 2 deletions content/posts/2017-09-27-python-extend.md
Expand Up @@ -6,10 +6,12 @@ tags:

---

![](https://my-imgshare.oss-cn-shenzhen.aliyuncs.com/46228691_p0.jpg)
左手C++, 右手Python, 性能与表达力的完美融合
C++ 和 Python 混合编程可以兼顾性能与效率

<!--more-->

![](https://my-imgshare.oss-cn-shenzhen.aliyuncs.com/46228691_p0.jpg)

## Python扩展
[官方文档](https://docs.python.org/3/extending/extending.html)

Expand Down
7 changes: 2 additions & 5 deletions content/posts/2017-12-26-survival-models.md
Expand Up @@ -4,17 +4,14 @@ date: 2017-12-26 19:21:27
tags:
- stat
- GLM



---


![](https://my-imgshare.oss-cn-shenzhen.aliyuncs.com/58319465_p0.jpg)
生存模型(Survival Models)属于General Linear Model, 被广泛用于Censored Data的建模, 譬如用户流失预测. 这里介绍下最基本的生存模型以及在Censored Data上的MLE估计

<!--more-->

![](https://my-imgshare.oss-cn-shenzhen.aliyuncs.com/58319465_p0.jpg)

## Survival Function
Assume $T$ is a continuous random variable indicates the death occurrence time, we have:

Expand Down
3 changes: 2 additions & 1 deletion content/posts/2017-12-30-BinaryTreeTraverse.md
Expand Up @@ -5,12 +5,13 @@ tags:
- Algorithm

---
![](https://my-imgshare.oss-cn-shenzhen.aliyuncs.com/50592758_p0.jpg)

茴字有四种写法, 二叉树有三种遍历手段(递归, 栈, morris遍历)

<!--more-->

![](https://my-imgshare.oss-cn-shenzhen.aliyuncs.com/50592758_p0.jpg)

### 先序遍历
1. root进栈
2. 栈非空:
Expand Down
4 changes: 3 additions & 1 deletion content/posts/2018-01-29-LSTM.md
Expand Up @@ -7,11 +7,13 @@ tags:
- NLP
---

![](https://my-imgshare.oss-cn-shenzhen.aliyuncs.com/RNN3.png)

新年第一篇, 和永无止境的八月一样循环的神经网络(其实是存货

<!--more-->

![](https://my-imgshare.oss-cn-shenzhen.aliyuncs.com/RNN3.png)

## Standard RNN
![](http://colah.github.io/posts/2015-08-Understanding-LSTMs/img/RNN-unrolled.png)

Expand Down
4 changes: 2 additions & 2 deletions content/posts/2018-02-03-CRF.md
Expand Up @@ -8,13 +8,13 @@ tags:
- NLP

---
![](https://my-imgshare.oss-cn-shenzhen.aliyuncs.com/13010631_p0_master1200.jpg)
>你的PGM也会和Steins Gate的世界线一样收束吗?

可能是有史以来公式最多的文章. 敲到吐血

<!--more-->

{{< image src="https://my-imgshare.oss-cn-shenzhen.aliyuncs.com/13010631_p0_master1200.jpg" caption="你的PGM也会和Steins Gate的世界线一样收束吗?" height="5" width="5">}}

##
设输入是$x$, 输出是$y$, HMM刻画的是联合概率分布$P(x, y | \lambda)$, 因此是生成模型, 可以同时进行推断$P(y|x, \lambda)$和解码$P(x|y, \lambda)$. 而CRF刻画的是条件概率分布$P(y|x, \lambda)$, 是判别模型

Expand Down
5 changes: 2 additions & 3 deletions content/posts/2018-02-03-HMM.md
Expand Up @@ -8,11 +8,10 @@ tags:

---

![](https://my-imgshare.oss-cn-shenzhen.aliyuncs.com/4099531_p0_master1200.jpg)
使用HMM的赌徒, 你还好吗? hmmm....

<!--more-->

{{< image src="https://my-imgshare.oss-cn-shenzhen.aliyuncs.com/4099531_p0_master1200.jpg" caption="在 Cowboy Bebop 中, Faye 是个赌徒, 她使用HMM" height="5" width="5">}}

## 0. 定义

![HMM](https://my-imgshare.oss-cn-shenzhen.aliyuncs.com/HMM.png)
Expand Down
2 changes: 1 addition & 1 deletion content/posts/2023-02-14-refresh.md
Expand Up @@ -4,7 +4,7 @@ date: 2023-02-14T23:07:39+08:00
draft: false
---

经过一系列艰苦的考古, 找回了当时七牛云挂掉之后备份的阿里云图床. 这么多年来兢兢业业为我当图床还没跑路, 甚至也没花一分钱 (至今账上还有2块钱), 比隔壁的什么牛厉害多了. (参考[被坑经历]({{< ref "/posts/2018-10-08-imgshare-dead" >}})).
经过一系列艰苦的考古, 找回了当时七牛云挂掉之后备份的阿里云图床. 这么多年来兢兢业业为我当图床还没跑路, 甚至也没花一分钱 (至今账上还有2块钱), 比隔壁的什么牛厉害多了(参考[被坑经历]({{< ref "/posts/2018-10-08-imgshare-dead" >}})).

很高兴过去写的文章都回来了! 下一步就是进一步装修(比如图床全部转移到 github 上并且用 cdn 加速), 以及写新的文章啦! 上一次修整博客还远在[17年]({{< ref "/posts/2017-07-26-new-start" >}}). 但是人不能被懒惰战胜!

Expand Down
2 changes: 1 addition & 1 deletion public
Submodule public updated 81 files
+6 −6 2016-02-06-logistic-regression/index.html
+2 −2 2016-02-06-logistic-regression/index.md
+3 −3 2016-02-11-neural-networks-representation/index.html
+3 −3 2016-02-11-neural-networks-representation/index.md
+2 −2 2016-02-20-neural-networks-learning/index.html
+2 −2 2016-02-20-neural-networks-learning/index.md
+24 −24 2016-02-27-advice-for-applying-machine-learning/index.html
+8 −8 2016-02-27-advice-for-applying-machine-learning/index.md
+3 −3 2016-05-11-svm/index.html
+1 −1 2016-05-11-svm/index.md
+3 −3 2016-06-06-adaboost/index.html
+1 −1 2016-06-06-adaboost/index.md
+43 −43 2017-01-05-np2016/index.html
+11 −11 2017-01-05-np2016/index.md
+4 −4 2017-03-18-data-mining-assn1/index.html
+1 −1 2017-03-18-data-mining-assn1/index.md
+4 −4 2017-03-24-adaboost/index.html
+2 −2 2017-03-24-adaboost/index.md
+3 −3 2017-03-24-svm-cn/index.html
+1 −1 2017-03-24-svm-cn/index.md
+3 −3 2017-03-27-logistic-regression/index.html
+1 −1 2017-03-27-logistic-regression/index.md
+4 −4 2017-07-26-new-start/index.html
+1 −1 2017-07-26-new-start/index.md
+71 −71 2017-08-01-chinajoy/index.html
+18 −18 2017-08-01-chinajoy/index.md
+4 −4 2017-08-03-redinglist/index.html
+1 −1 2017-08-03-redinglist/index.md
+4 −4 2017-08-18-core-python-programming-1/index.html
+1 −1 2017-08-18-core-python-programming-1/index.md
+4 −4 2017-08-20-python-functional-programming/index.html
+1 −1 2017-08-20-python-functional-programming/index.md
+4 −4 2017-09-04-gradient-boosting/index.html
+1 −1 2017-09-04-gradient-boosting/index.md
+4 −4 2017-09-21-numpy/index.html
+1 −1 2017-09-21-numpy/index.md
+4 −4 2017-09-25-python-oop/index.html
+1 −1 2017-09-25-python-oop/index.md
+4 −4 2017-09-26-python-thread/index.html
+1 −1 2017-09-26-python-thread/index.md
+4 −4 2017-09-27-python-extend/index.html
+1 −1 2017-09-27-python-extend/index.md
+4 −4 2017-12-26-survival-models/index.html
+1 −1 2017-12-26-survival-models/index.md
+4 −4 2017-12-30-binarytreetraverse/index.html
+1 −1 2017-12-30-binarytreetraverse/index.md
+4 −4 2018-01-29-lstm/index.html
+1 −1 2018-01-29-lstm/index.md
+4 −4 2018-02-03-crf/index.html
+1 −1 2018-02-03-crf/index.md
+11 −11 2018-02-03-hmm/index.html
+3 −3 2018-02-03-hmm/index.md
+21 −21 2018-07-13-image-classification/index.html
+6 −6 2018-07-13-image-classification/index.md
+8 −8 2018-07-13-mask-rcnn/index.html
+2 −2 2018-07-13-mask-rcnn/index.md
+7 −7 2018-07-13-object-detection/index.html
+2 −2 2018-07-13-object-detection/index.md
+40 −40 2018-07-13-semantic-segmentation/index.html
+10 −10 2018-07-13-semantic-segmentation/index.md
+15 −15 2018-10-08-style-transfer/index.html
+5 −5 2018-10-08-style-transfer/index.md
+21 −21 code/2016-07-16-webscraper/index.html
+7 −7 code/2016-07-16-webscraper/index.md
+9 −9 code/2016-07-17-bilibili-scraper/index.html
+3 −3 code/2016-07-17-bilibili-scraper/index.md
+4 −4 code/2016-11-12-install-caffe-under-macos/index.html
+1 −1 code/2016-11-12-install-caffe-under-macos/index.md
+8 −8 code/2017-02-18-scrapy/index.html
+2 −2 code/2017-02-18-scrapy/index.md
+21 −21 code/2017-03-29-seaborn/index.html
+7 −7 code/2017-03-29-seaborn/index.md
+4 −4 code/2017-09-28-pandas/index.html
+1 −1 code/2017-09-28-pandas/index.md
+4 −4 code/index.xml
+8 −8 page/2/index.html
+24 −24 page/3/index.html
+20 −20 page/4/index.html
+4 −4 page/5/index.html
+12 −12 playground/2017-03-08-online-interview/index.html
+3 −3 playground/2017-03-08-online-interview/index.md

0 comments on commit 753217d

Please sign in to comment.