Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
szcf-weiya committed Feb 4, 2018
1 parent 47a0b31 commit a68b4e0
Show file tree
Hide file tree
Showing 75 changed files with 13,188 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ $$
这里期望是对输入变量$X$的分布取的。接着我们可以将平均偏差的平均(average squared bias)写成
$$
\begin{align}
E_{x_0}[f(x_0)-E\hat f_\alpha(x_0)]^2&=E_{x_0}[f(x_0)-x_0^T\beta_*]^2+E_{x_0}[x_0^T\beta_*-Ex_0^T\hat\beta_\alpha]^2\\
&E_{x_0}[f(x_0)-E\hat f_\alpha(x_0)]^2\\
&=E_{x_0}[f(x_0)-x_0^T\beta_*]^2+E_{x_0}[x_0^T\beta_*-Ex_0^T\hat\beta_\alpha]^2\\
&=\text{Ave[Model Bias]}^2+\text{Ave[Estimation Bias]}^2\qquad (7.14)
\end{align}
$$
Expand Down
20 changes: 20 additions & 0 deletions docs/css/misc.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.md-typeset__table a {
color: red;
}

.md-typeset__table {
display: block !important;
}

img {
display: block;
margin-left: auto;
margin-right: auto;
width: 80%;
}

img.emojione {
display: -webkit-inline-box;
width: 1.5rem;
vertical-align: text-bottom;
}
20 changes: 17 additions & 3 deletions docs/css/newsprint.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,18 @@
src: local('PT Serif'), local('PTSerif-BoldItalic'), url('./newsprint/PT_Serif-Web-BoldItalic.ttf')
}
*/
/*
html {
font-size: 16px;
}
*/

html, body {
background-color: #f3f2ee;
font-family: "lucida grande", "lucida sans unicode", lucida, 'Open Sans', helvetica, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
color: #1f0909;
font-size: 1.1em;
line-height: 1.5em;
font-size: 1em;
line-height: 1em;
}

ol,
Expand All @@ -58,6 +60,10 @@ q:after {
table {
border-collapse: collapse;
border-spacing: 0;
/*center*/
width: 90%;
margin-left: auto;
margin-right: auto;
}
/* styles */

Expand Down Expand Up @@ -114,7 +120,7 @@ h1 {

a {
text-decoration: none;
color: #065588;
/*color: #065588;*/
}
a:hover,
a:active {
Expand Down Expand Up @@ -415,3 +421,11 @@ header, .context-menu, .megamenu-content, footer {
width: 50%;
margin-left: 0;
}

/* img */
img {
display: block;
margin-left: auto;
margin-right: auto;
width: 80%;
}
Binary file added docs/img/favicon.ico
Binary file not shown.
4 changes: 4 additions & 0 deletions docs/img/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
64 changes: 64 additions & 0 deletions docs/img/logo_white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions docs/js/baiduzhanzhang.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
(function(){
var bp = document.createElement('script');
var curProtocol = window.location.protocol.split(':')[0];
if (curProtocol === 'https'){
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
}
else{
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
}
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(bp, s);
})();
40 changes: 40 additions & 0 deletions docs/js/mathjax.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
window.MathJax = {
tex2jax: {
inlineMath: [['$','$'], ['\\(','\\)']],
processEscapes:true
},
TeX: {
Macros: {
A: "{\\mathbf{A}}",
B: "{\\mathbf{B}}",
C: "{\\mathbf{C}}",
D: "{\\mathbf{D}}",
R: "{\\mathbf{R}}",
IR: "{\\mathrm{I\!R}}",
S: "{\\mathbf{S}}",
I: "{\\mathbf{I}}",
J: "{\\mathbf{J}}",
X: "{\\mathbf{X}}",
Y: "{\\mathbf{Y}}",
U: "{\\mathbf{U}}",
V: "{\\mathbf{V}}",
W: "{\\mathbf{W}}",

LOG: "{\\mathrm{log}\\;}",
E: "{\\mathrm{E}\\;}",
1: "{\\boldsymbol 1}",
Cov: "{\\mathrm{Cov}\\;}",
Var: "{\\mathrm{Var}\\;}",
det: "{\\mathrm{det}\\;}",
cosh: "{\\mathrm{cosh}\\;}",
arg: "{\\mathrm{arg}\\;}",
max: "{\\mathrm{max}\\;}",
min: "{\\mathrm{min}\\;}",

sign: "{\\mathrm{sign}}",
df: "{\\mathrm{df}}",
tr: "{\\mathrm{tr}}"
},
entensions: ["color.js"]
}
};
1 change: 1 addition & 0 deletions material/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{% extends "base.html" %}{% block content %} <h1>404 - Not found</h1>{% endblock %}
Expand Down
Empty file added material/__init__.py
Empty file.
Binary file added material/assets/images/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions material/assets/images/icons/bitbucket.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions material/assets/images/icons/github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions material/assets/images/icons/gitlab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit a68b4e0

Please sign in to comment.