Skip to content

Commit

Permalink
remove minor category of notes, and instead put it into issue szcf-we…
Browse files Browse the repository at this point in the history
  • Loading branch information
szcf-weiya committed Oct 16, 2021
1 parent 5dd4f23 commit 82682ab
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 10 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
-23.46593 -38.87807 -21.65298 -34.17146 0.1373686 6.54052 -1.106839 415.3279 -9.539146 -57.8684 -24.80954
4.460695 7.659138 5.739805 9.370045 -0.1301199 0.5595222 4.853548 -9.539146 8.624844 44.06165 16.30311
26.78380 45.62307 32.51291 52.81752 -0.6544886 3.075708 27.34078 -57.8684 44.06165 244.7962 85.19911
10.28612 18.00413 15.38182 24.70565 -0.3764559 1.543320 13.07754 -24.80954 16.30311 85.19911 46.50951
10.28612 18.00413 15.38182 24.70565 -0.3764559 1.543320 13.07754 -24.80954 16.30311 85.19911 46.50951
Original file line number Diff line number Diff line change
Expand Up @@ -7463,4 +7463,4 @@
-100.7719 -140.7710 -37.05364 -129.0207 -12.13496 22.06881 -13.86721 296.2414 -29.34166 -125.1945 -72.2675
-95.97193 -140.8910 -36.05364 -130.9207 -16.83496 -23.55119 -59.26721 104.2414 -29.34166 -133.2645 -71.2675
-89.47193 -138.2810 -49.12364 -130.4207 -11.93496 5.568807 -39.76721 187.2414 14.15834 1246.985 -70.8275
-93.57193 -144.3710 -47.55364 21.87926 -4.134962 -20.02119 -67.46721 264.2414 -29.34166 -134.0145 -71.6175
-93.57193 -144.3710 -47.55364 21.87926 -4.134962 -20.02119 -67.46721 264.2414 -29.34166 -134.0145 -71.6175
6 changes: 3 additions & 3 deletions docs/notes/HighDim/sim18_1.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@
| 发布 | 2017-12-29 |
| 更新 | 2018-02-04 |

本笔记是[ESL18.1节](https://esl.hohoweiya.xyz/18%20High-Dimensional%20Problems/18.1%20When%20p%20is%20Much%20Bigger%20than%20N/index.html)例子的模拟。
本笔记是[ESL18.1节](/18-High-Dimensional-Problems/18.1-When-p-is-Much-Bigger-than-N/index.html)例子的模拟。

## 生成数据

生成$N$个样本,每个样本都是$p$个成对相关系数为0.2的标准高斯特征$X$.
生成 $N$ 个样本,每个样本都是 $p$ 个成对相关系数为 0.2 的标准高斯特征 $X$.

```R
library(MASS)
genX <- function(p, N = 100){
# mu
mu = numeric(p)
# due to var(x_j) = 1
# covariance matrix equals to correlation matrix
Sigma = matrix(0.2, nrow=p, ncol=p)
diag(Sigma) = 1
library(MASS)
X = mvrnorm(N, mu, Sigma)
if (is.null(dim(X)))
X = matrix(X, ncol = p)
Expand Down
6 changes: 1 addition & 5 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,7 @@ pages:
- 个人笔记:
- 笔记列表:
- 列表: 'notes/ipynb/list.md'
- 习题解答:
- 索引: 'notes/manual.md'
- 习题 Ex. 17.7: 'notes/Graph/ex-17-7.md'
- 模拟实验:
- 实验重现:
- 模拟 Fig. 3.18: 'notes/linear-reg/sim-3-18.md'
- 模拟 Fig. 4.3: 'notes/LDA/sim-4-3.md'
- 模拟 Fig. 4.5: 'notes/LDA/sim-4-5.md'
Expand All @@ -210,7 +207,6 @@ pages:
- 模拟 Eq. 10.2: 'notes/boosting/sim-eq-10-2.md'
- 模拟 Tab. 12.2: 'notes/SVM/skin-of-the-orange.md'
- 模拟 Fig. 9.7: 'notes/tree/sim-9-7.md'
- 算法实现:
- 算法 Alg. 17.1: 'notes/Graph/alg-17-1.md'
- 比较总结:
- 估计高斯混合模型参数的三种方式: 'notes/Mixture-Gaussian.md'
Expand Down

0 comments on commit 82682ab

Please sign in to comment.