Skip to content

Commit

Permalink
스타일 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
metamath1 committed Jul 12, 2019
1 parent 81e595b commit dc60dab
Show file tree
Hide file tree
Showing 14 changed files with 448 additions and 218 deletions.
4 changes: 4 additions & 0 deletions CNN/transconv_fullconv.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
"source": [
"# 합성곱 신경망에서 컨벌루션과 트랜스포즈드 컨벌루션의 관계 Relationship between Convolution and Transposed Convolution in CNN \n",
"\n",
"<p style=\"text-align: right;\">2019.05.09 조준우 [email protected]</p>\n",
"\n",
"<hr/>\n",
"\n",
"이 문서의 목적은 CNN에서 CONV층의 포워드 패스 컨벌루션의 백워드 연산이 상류층 그래디언트를 필터로 하는 컨벌루션이며 이 백워드 패스 컨벌루션이 결국 포워드 패스의 컨벌루션에 대한 트랜스포즈드 컨벌루션<sup>transposed convolution</sup>이라는 것을 알아보고자 하는 것이다.\n",
"\n",
"CNN의 CONV층에서 일어나는 포워드 패스 연산을 컨벌루션<sup>convolution</sup>이라고 이야기하는데 정확하게 표현하면 이 연산을 코릴레이션<sup>correlation, [1]</sup>이라고 해야한다. 수학적으로 정의된 컨벌루션에 맞게 연산을 하려면 필터를 180도 돌리고 패딩을 줘서 연산을 해야한다. 그런데 신기하게도 코릴레이션의 백워드 패스 연산을 구해보면 정확하게 컨벌루션이 되는 것을 확인할 수 있다. 본 문서에서는 코릴레이션과 컨벌루션을 관행처럼 모두 컨벌루션이라고 이야기하고 구분이 필요한 경우 필터를 돌리지 않는 경우를 포워드 패스 컨벌루션, 필터를 돌려서 풀 컨벌루션하는 경우를 백워드 패스 컨벌루션으로 구분하도록 했다.\n",
Expand Down
6 changes: 5 additions & 1 deletion EM/Kmeans.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# K 평균 군집화 K-means Clustering\n"
"# K 평균 군집화 K-means Clustering\n",
"\n",
"<p style=\"text-align: right;\">2019.07.10 조준우 [email protected]</p>\n",
"\n",
"<hr/>"
]
},
{
Expand Down
15 changes: 8 additions & 7 deletions GAN/GANs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# GANs (Generative Adversarial Networks)"
"# GANs (Generative Adversarial Networks)\n",
"\n",
"<p style=\"text-align: right;\">2017.05.10 조준우 [email protected]</p>\n",
"\n",
"<hr/>\n",
"\n"
]
},
{
Expand Down Expand Up @@ -1278,9 +1283,7 @@
},
{
"cell_type": "markdown",
"metadata": {
"collapsed": true
},
"metadata": {},
"source": [
"결과를 다시 한번 찍어보면 아래처럼 모양이 그럭저럭 잘 나오는 것을 확인할 수 있습니다."
]
Expand Down Expand Up @@ -1350,9 +1353,7 @@
},
{
"cell_type": "markdown",
"metadata": {
"collapsed": true
},
"metadata": {},
"source": [
"<div style=\"line-height:30px;font-size:15px;\">\n",
"위 그래프를 보면 $z$=0 근방에서 기울기가 급하고 0.2~0.8까지 기울기가 완만하다가 0.8 이상에서 다시 기울기가 증가하는 모습을 확인할 수 있습니다. 히스토그림 결과를 보면 8 근방의 값이 목표보다 많이 생성되고 있는것이 확인되는데 이는 $G(\\boldsymbol{z})$의 매핑상태가 0.0~0.2구간보다 기울기가 완만하게 이루어져 있어서 그렇게 된 것입니다. 좀 더 이상적인 함수 $G(\\boldsymbol{z})$는 다음과 같은 모양이 될 것입니다.\n",
Expand Down
94 changes: 70 additions & 24 deletions GAN/change_of_variable.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"metadata": {},
"source": [
"# Change of continuous random variable\n",
"\n",
"<p style=\"text-align: right;\">2017.06.09 조준우 [email protected]</p>\n",
"\n",
"<hr/>\n",
"\n",
"어떤 확률 변수 $Z$가 있고 $X=g(Z)$관계에 의해 정의되는 확률변수 $X$가 있다. \n",
Expand Down Expand Up @@ -312,9 +315,7 @@
},
{
"cell_type": "markdown",
"metadata": {
"collapsed": true
},
"metadata": {},
"source": [
"## 참고문헌\n",
"<hr/>\n",
Expand All @@ -338,18 +339,37 @@
{
"data": {
"text/html": [
"<link href='https://fonts.googleapis.com/earlyaccess/nanummyeongjo.css' rel='stylesheet' type='text/css'>\n",
"<link href='http://fonts.googleapis.com/earlyaccess/nanumgothiccoding.css' rel='stylesheet' type='text/css'>\n",
"<link href='http://fonts.googleapis.com/earlyaccess/notosanskr.css' rel='stylesheet' type='text/css'>\n",
"<link href='https://fonts.googleapis.com/earlyaccess/notosanskr.css' rel='stylesheet' type='text/css'>\n",
"<!--https://github.com/kattergil/NotoSerifKR-Web/stargazers-->\n",
"<link href='https://cdn.rawgit.com/kattergil/NotoSerifKR-Web/5e08423b/stylesheet/NotoSerif-Web.css' rel='stylesheet' type='text/css'>\n",
"<!--https://github.com/Joungkyun/font-d2coding-->\n",
"<link href=\"http://cdn.jsdelivr.net/gh/joungkyun/font-d2coding/d2coding.css\" rel=\"stylesheet\" type=\"text/css\">\n",
"<style>\n",
" p { font-family: 'Nanum Myeongjo'; font-size: 12pt; line-height: 200%; text-indent: 10px; }\n",
" li { font-family: 'Nanum Myeongjo'; font-size: 12pt; line-height: 200%; }\n",
" li > p { text-indent: 0px; }\n",
" code, pre { font-family: 'Nanum Gothic Coding' !important; }\n",
" \n",
" .code-body { font-family: 'Nanum Gothic Coding'; }\n",
" .ns { font-family: 'Noto Sans KR'; font-size: 15pt;}\n",
"</style>"
" h1 { font-family: 'Noto Sans KR' !important; color:#348ABD !important; }\n",
" h2 { font-family: 'Noto Sans KR' !important; color:#467821 !important; }\n",
" h3 { font-family: 'Noto Sans KR' !important; color:#A60628 !important; }\n",
" h4 { font-family: 'Noto Sans KR' !important; color:#7A68A6 !important; } \n",
" \n",
" p:not(.navbar-text) { font-family: 'Noto Serif KR', 'Nanum Myeongjo'; font-size: 11pt; line-height: 200%; text-indent: 10px; }\n",
" li:not(.dropdown):not(.p-TabBar-tab):not(.p-MenuBar-item):not(.jp-DirListing-item):not(.p-CommandPalette-header):not(.p-CommandPalette-item):not(.jp-RunningSessions-item):not(.p-Menu-item) \n",
" { font-family: 'Noto Serif KR', 'Nanum Myeongjo'; font-size: 12pt; line-height: 200%; }\n",
" table { font-family: 'Noto Sans KR' !important; font-size: 11pt !important; } \n",
" li > p { text-indent: 0px; }\n",
" li > ul { margin-top: 0px !important; } \n",
" sup { font-family: 'Noto Sans KR'; font-size: 9pt; } \n",
" code, pre { font-family: D2Coding, 'D2 coding' !important; font-size: 11pt !important; line-height: 130% !important;}\n",
" .code-body { font-family: D2Coding, 'D2 coding' !important; font-size: 11pt !important;}\n",
" .ns { font-family: 'Noto Sans KR'; font-size: 15pt;}\n",
" .summary {\n",
" font-family: 'Georgia'; font-size: 12pt; line-height: 200%; \n",
" border-left:3px solid #D55E00; \n",
" padding-left:20px; \n",
" margin-top:10px;\n",
" margin-left:15px;\n",
" }\n",
" .green { color:#467821 !important; }\n",
" .comment { font-family: 'Noto Sans KR'; font-size: 10pt; }\n",
"</style>\n"
],
"text/plain": [
"<IPython.core.display.HTML object>"
Expand All @@ -361,19 +381,45 @@
],
"source": [
"%%html\n",
"<link href='https://fonts.googleapis.com/earlyaccess/nanummyeongjo.css' rel='stylesheet' type='text/css'>\n",
"<link href='http://fonts.googleapis.com/earlyaccess/nanumgothiccoding.css' rel='stylesheet' type='text/css'>\n",
"<link href='http://fonts.googleapis.com/earlyaccess/notosanskr.css' rel='stylesheet' type='text/css'>\n",
"<link href='https://fonts.googleapis.com/earlyaccess/notosanskr.css' rel='stylesheet' type='text/css'>\n",
"<!--https://github.com/kattergil/NotoSerifKR-Web/stargazers-->\n",
"<link href='https://cdn.rawgit.com/kattergil/NotoSerifKR-Web/5e08423b/stylesheet/NotoSerif-Web.css' rel='stylesheet' type='text/css'>\n",
"<!--https://github.com/Joungkyun/font-d2coding-->\n",
"<link href=\"http://cdn.jsdelivr.net/gh/joungkyun/font-d2coding/d2coding.css\" rel=\"stylesheet\" type=\"text/css\">\n",
"<style>\n",
" p { font-family: 'Nanum Myeongjo'; font-size: 12pt; line-height: 200%; text-indent: 10px; }\n",
" li { font-family: 'Nanum Myeongjo'; font-size: 12pt; line-height: 200%; }\n",
" li > p { text-indent: 0px; }\n",
" code, pre { font-family: 'Nanum Gothic Coding' !important; }\n",
" \n",
" .code-body { font-family: 'Nanum Gothic Coding'; }\n",
" .ns { font-family: 'Noto Sans KR'; font-size: 15pt;}\n",
" h1 { font-family: 'Noto Sans KR' !important; color:#348ABD !important; }\n",
" h2 { font-family: 'Noto Sans KR' !important; color:#467821 !important; }\n",
" h3 { font-family: 'Noto Sans KR' !important; color:#A60628 !important; }\n",
" h4 { font-family: 'Noto Sans KR' !important; color:#7A68A6 !important; } \n",
" \n",
" p:not(.navbar-text) { font-family: 'Noto Serif KR', 'Nanum Myeongjo'; font-size: 11pt; line-height: 200%; text-indent: 10px; }\n",
" li:not(.dropdown):not(.p-TabBar-tab):not(.p-MenuBar-item):not(.jp-DirListing-item):not(.p-CommandPalette-header):not(.p-CommandPalette-item):not(.jp-RunningSessions-item):not(.p-Menu-item) \n",
" { font-family: 'Noto Serif KR', 'Nanum Myeongjo'; font-size: 12pt; line-height: 200%; }\n",
" table { font-family: 'Noto Sans KR' !important; font-size: 11pt !important; } \n",
" li > p { text-indent: 0px; }\n",
" li > ul { margin-top: 0px !important; } \n",
" sup { font-family: 'Noto Sans KR'; font-size: 9pt; } \n",
" code, pre { font-family: D2Coding, 'D2 coding' !important; font-size: 11pt !important; line-height: 130% !important;}\n",
" .code-body { font-family: D2Coding, 'D2 coding' !important; font-size: 11pt !important;}\n",
" .ns { font-family: 'Noto Sans KR'; font-size: 15pt;}\n",
" .summary {\n",
" font-family: 'Georgia'; font-size: 12pt; line-height: 200%; \n",
" border-left:3px solid #D55E00; \n",
" padding-left:20px; \n",
" margin-top:10px;\n",
" margin-left:15px;\n",
" }\n",
" .green { color:#467821 !important; }\n",
" .comment { font-family: 'Noto Sans KR'; font-size: 10pt; }\n",
"</style>"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down
18 changes: 14 additions & 4 deletions PRML/prml-chap2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,17 @@
},
"source": [
"# Pattern Recognition and Machine Learning \n",
"\n",
"<p style=\"text-align: right;\">2017.11.08 조준우 [email protected]</p>\n",
"<hr/>\n",
"<img src=\"https://images.gr-assets.com/books/1347401011l/55881.jpg\" align=\"left\" width=\"200\" style=\"border:1px solid #CCC;\">\n",
"\n",
"<span class=\"ns\">원제 : Pattern Recognition and Machine Learning </span>\n",
"\n",
"<span class=\"ns\">지은이 : 크리스토퍼 비숍 <sup>Christopher Bishop</sup></span>\n",
"\n",
"<span class=\"ns\">Springer</span>\n"
"<span class=\"ns\">Springer</span>\n",
"\n",
"\n"
]
},
{
Expand Down Expand Up @@ -2266,7 +2269,7 @@
},
{
"cell_type": "code",
"execution_count": 22,
"execution_count": 2,
"metadata": {},
"outputs": [
{
Expand All @@ -2288,7 +2291,7 @@
" .ns { font-family: 'Noto Sans KR'; font-size: 15pt;}\n",
" .summary {font-family: 'Georgia'; font-size: 12pt; line-height: 200%; \n",
" border-left:3px solid #FF0000;padding-left:20px;margin-top:10px; }\n",
"</style>"
"</style>\n"
],
"text/plain": [
"<IPython.core.display.HTML object>"
Expand Down Expand Up @@ -2318,6 +2321,13 @@
" border-left:3px solid #FF0000;padding-left:20px;margin-top:10px; }\n",
"</style>"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down
3 changes: 3 additions & 0 deletions fitting/matrix-derivative.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"metadata": {},
"source": [
"# 벡터, 행렬에 대한 미분\n",
"\n",
"<p style=\"text-align: right;\">2018.01.02 조준우 [email protected]</p>\n",
"\n",
"<hr/>\n",
"\n"
]
Expand Down
Loading

0 comments on commit dc60dab

Please sign in to comment.