<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>이지훈님의 블로그</title>
    <link>https://jihoonlee.tistory.com/</link>
    <description></description>
    <language>ko</language>
    <pubDate>Tue, 14 Apr 2026 18:35:57 +0900</pubDate>
    <generator>TISTORY</generator>
    <ttl>100</ttl>
    <managingEditor>개발자입니다.</managingEditor>
    <item>
      <title>MakeFile 튜토리얼</title>
      <link>https://jihoonlee.tistory.com/26</link>
      <description>&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;우선 빌드할 c파일을 생성한다.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);&quot;&gt;gcc option&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;table class=&quot;txc-table&quot; width=&quot;784&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; style=&quot;border:none;border-collapse:collapse;;font-family:&quot; 맑은=&quot;&quot; 고딕&quot;,=&quot;&quot; sans-serif;font-size:13px&quot;=&quot;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;width: 143px; height: 24px; border-width: 1px; border-style: solid; border-color: rgb(204, 204, 204);&quot;&gt;&lt;p&gt;&amp;nbsp; -o&amp;nbsp;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width: 640px; height: 24px; border-bottom: 1px solid rgb(204, 204, 204); border-right: 1px solid rgb(204, 204, 204); border-top: 1px solid rgb(204, 204, 204);&quot;&gt;&lt;p&gt;&amp;nbsp; output 파일 이름 지정&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;width: 143px; height: 24px; border-bottom: 1px solid rgb(204, 204, 204); border-right: 1px solid rgb(204, 204, 204); border-left: 1px solid rgb(204, 204, 204);&quot;&gt;&lt;p&gt;&amp;nbsp; -c&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width: 640px; height: 24px; border-bottom: 1px solid rgb(204, 204, 204); border-right: 1px solid rgb(204, 204, 204);&quot;&gt;&lt;p&gt;&amp;nbsp; object 파일 생성&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;width: 143px; height: 24px; border-bottom: 1px solid rgb(204, 204, 204); border-right: 1px solid rgb(204, 204, 204); border-left: 1px solid rgb(204, 204, 204);&quot;&gt;&lt;p&gt;&amp;nbsp; -I&amp;nbsp;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width: 640px; height: 24px; border-bottom: 1px solid rgb(204, 204, 204); border-right: 1px solid rgb(204, 204, 204);&quot;&gt;&lt;p&gt;&amp;nbsp; header file 위치 지정 -I&amp;lt;폴더이름&amp;gt;&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;width: 143px; height: 24px; border-bottom: 1px solid rgb(204, 204, 204); border-right: 1px solid rgb(204, 204, 204); border-left: 1px solid rgb(204, 204, 204);&quot;&gt;&lt;p&gt;&amp;nbsp; -l&amp;nbsp;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width: 640px; height: 24px; border-bottom: 1px solid rgb(204, 204, 204); border-right: 1px solid rgb(204, 204, 204);&quot;&gt;&lt;p&gt;&amp;nbsp; 라이브러리&amp;nbsp;&amp;nbsp;파일 지정 -l&amp;lt;파일이름&amp;gt;&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;width: 143px; height: 24px; border-bottom: 1px solid rgb(204, 204, 204); border-right: 1px solid rgb(204, 204, 204); border-left: 1px solid rgb(204, 204, 204);&quot;&gt;&lt;p&gt;&amp;nbsp; -L&amp;nbsp;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width: 640px; height: 24px; border-bottom: 1px solid rgb(204, 204, 204); border-right: 1px solid rgb(204, 204, 204);&quot;&gt;&lt;p&gt;&amp;nbsp; 라이브러리 폴더 지정 -L&amp;lt;폴더이름&amp;gt;&amp;nbsp;&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);&quot;&gt;main.c&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;brush: c&quot;&gt;#include &lt;stdio.h&gt;
int main() {
    printf(&quot;Hello World\n&quot;);
 	return 0;
}

&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;이 파일을 빌드하기 위해서는 다음의 gcc를 이용해 실행파일을 만들어야 한다.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;pre class=&quot;brush: shell&quot;&gt;gcc -c main.c
gcc -o main.out main.o
&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;gcc를 이용해 실행파일을 만들어야 한다.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;이를 조금 매끄럽게 처리하는 Makefile을 생성한다.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);&quot;&gt;Makefile&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);&quot;&gt;

&lt;/span&gt;&lt;pre class=&quot;brush: shell&quot;&gt;main.out : main.o
	gcc -o main.out main.o
	
main.o : main.c
	gcc -c main.c

&lt;/pre&gt;&lt;p&gt;Makefile은 목표(target)가 되는 main.out이 있고, 전제조건(&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px;&quot;&gt;prerequisite)&lt;/span&gt;이 되는 main.o, 그리고 gcc -o main.out main.o 처럼 타겟을 만들 수 있도록&amp;nbsp;하는 방법(recipe)가 있다.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt; &lt;a href=&quot;https://www.gnu.org/software/make/manual/html_node/Rules.html&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;Make Rule&lt;/a&gt; &amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt; &lt;a href=&quot;https://www.gnu.org/software/make/manual/html_node/Rule-Example.html#Rule-Example&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;Make Rule Example &lt;/a&gt;&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;이제&amp;nbsp; main.c를 hello word를 출력하는 hello.c, hello.h로 파일을 분리하자.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);&quot;&gt;main.c&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;pre class=&quot;brush: c&quot;&gt;#include &quot;hello.h&quot; 
int main() {
    HelloWorld();
    return 0;
}
&lt;/pre&gt;&lt;div&gt;&lt;p&gt;&lt;br /&gt;&lt;span style=&quot;background-color: rgb(0, 0, 0); color: rgb(255, 255, 255); font-size: 12pt;&quot;&gt;&lt;b&gt;hello.c&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;brush: c&quot;&gt;#include &lt;hello.h&gt;
    void HelloWorld() {
        printf(&quot;Hello World\n&quot;);
}
&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;&lt;br /&gt;&lt;span style=&quot;background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);&quot;&gt;hello.h&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;brush: c&quot;&gt;void HelloWorld();
&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;Makefile을 수정한다.&lt;/p&gt;
&lt;pre class=&quot;brush: shell&quot;&gt;main.out : main.o hello.o
	gcc -o main.out main.o hello.o

main.o : main.c
	gcc -c main.c

hello.o : hello.c
	gcc -c hello.c
&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;셀에서 ls를 실행하면 폴더가 복잡해진 것을 볼 수 있다. 이제 폴더를 조금 깔끔하게 정리해보자.&lt;/p&gt;
&lt;p&gt;hello폴더를 생성하고 hello.c, hello.h를 이동시킨다.&lt;/p&gt;
&lt;p&gt;그리고 object 파일들을 생성할 hello폴더와 라이브러리를 가지고 있는 lib폴더를 생성한다.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;pre class=&quot;brush: c&quot;&gt;ROOT_DIR:=$(PWD)
HELLO_DIR=$(ROOT_DIR)/hello
OBJ_DIR=$(ROOT_DIR)/object
LIB_DIR=$(ROOT_DIR)/lib

main.out : main.o hello.o hello.a
	gcc -o main.out main.o $(LIB_DIR)/hello.a

main.o : main.c
	gcc -c main.c -o main.o -I$(HELLO_DIR)
	
hello.a : hello.o
	ar rc $(LIB_DIR)/hello.a $(OBJ_DIR)/hello.o
	
hello.o : $(HELLO_DIR)/hello.c
	gcc -c $(HELLO_DIR)/hello.c -o $(OBJ_DIR)/hello.o 
&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>ARMv8 Embedded</category>
      <author>개발자입니다.</author>
      <guid isPermaLink="true">https://jihoonlee.tistory.com/26</guid>
      <comments>https://jihoonlee.tistory.com/26#entry26comment</comments>
      <pubDate>Tue, 28 Aug 2018 22:35:06 +0900</pubDate>
    </item>
    <item>
      <title>Naive Bayesian Classification (python code)</title>
      <link>https://jihoonlee.tistory.com/22</link>
      <description>&lt;p&gt;&lt;span style=&quot;font-size: 18pt; color: rgb(0, 0, 0);&quot;&gt;&lt;u&gt;&lt;b&gt;Naive Bayesian Classification&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; &lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;lt; &lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;https://ko.wikipedia.org/wiki/%EB%82%98%EC%9D%B4%EB%B8%8C_%EB%B2%A0%EC%9D%B4%EC%A6%88_%EB%B6%84%EB%A5%98&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;위키피디아&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt; &amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;나이브 베이즈 분류는&amp;nbsp;특성들 사이의 독립을 가정하는 베이즈 정리를 적용한 확률 분류기의 일종이다.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;베이즈 정리 설명 전에 기본적인 확률에 개념을 확인해보자.&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;조건부 확률 (Conditional probability) &amp;lt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://ko.wikipedia.org/wiki/%EC%A1%B0%EA%B1%B4%EB%B6%80_%ED%99%95%EB%A5%A0&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;위키피디아&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt; &amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;어떤 사건 B가 일어났을 때 사건 A가 일어날 확률을 의미한다. 사건 B가 발생했을 때 사건 A가 발생할 확률은 사건 B의 영향을 받아 변하는데 이를 조건부 확률이라 한다.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/2198A033596C750E20&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28P%28A%7CB%29%3D%5Cfrac%20%7B%20P%28A%5Ccap%20B%29%20%7D%7B%20P%28B%29%20%7D%20%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A12%2C%0A0xFFFFFF&quot; width=&quot;146&quot; height=&quot;50&quot;&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;사건 A와 B가 독립사건일 경우&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/25BACA33596C88F733&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28P%28A%5Ccap%20B%29%5Cquad%20%3D%5Cquad%20P%28A%29%5Cquad%20%5Ctimes%20%5Cquad%20P%28B%29%5C%5C%20P%28A%7CB%29%5Cquad%20%3D%5Cquad%20P%28A%29%5C%5C%20P%28B%7CA%29%5Cquad%20%3D%5Cquad%20P%28B%29%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A12%2C%0A0xFFFFFF&quot; width=&quot;199&quot; height=&quot;74&quot;&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;&lt;b&gt;결합 확률 (Joint Probability)&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;두 사건이 동시에 일어날 확률이다.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/27771433596C88EF22&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28P%28A%2C%5Cquad%20B%29%5Cquad%20or%5Cquad%20P%28A%5Cquad%20and%5Cquad%20B%29%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A12%2C%0A0xFFFFFF&quot; width=&quot;204&quot; height=&quot;22&quot;&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;두 사건이 서로 독립이라면&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/26ECEA33596C88E81D&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28P%28A%2C%5Cquad%20B%29%5Cquad%20%3D%5Cquad%20P%28A%29%5Cquad%20%5Ctimes%20%5Cquad%20P%28B%29%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A12%2C%0A0xFFFFFF&quot; width=&quot;199&quot; height=&quot;22&quot;&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;독립이 아니라면&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/21957933596C8D2027&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28P%28A%2C%5Cquad%20B%29%5Cquad%20%3D%5Cquad%20P%28A%29%5Cquad%20%5Ctimes%20%5Cquad%20P%28B%7CA%29%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A12%2C%0A0xFFFFFF&quot; width=&quot;216&quot; height=&quot;22&quot;&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;아래 그림은 Probability Tree이다.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot;text-align: left; clear: none; float: none;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 508px;  height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/2281E733596C96DE32&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F2281E733596C96DE32&quot; width=&quot;508&quot; height=&quot;324&quot; filename=&quot;Picture1.jpg&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;text-align: left; clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;우도 (Likelihood) &amp;lt; &lt;/span&gt;&lt;a href=&quot;http://www.aistudy.com/math/likelihood.htm&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;AI_STUDY&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;가설 (hypothesis) H 에 대한 우도란, 어떤 시행의 결과 (Evidence) E 가 주어졌다 할 때, 만일 주어진 가설 H 가 참이라면, 그러한 결과 E 가 나올 정도는 얼마나 되겠느냐 하는 것이다. &amp;nbsp;우도는 관찰되지 않는 요인에 대해 영향을 받지 않는다.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;&lt;b&gt;사전확률(Priori)&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;특정 사상이 일어나기 전의 확률을 뜻한다. 베이즈 추론에서 관측자가 관측을 하기 전에 가지고 있는 확률 분포를 의미한다.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;&lt;b&gt;사후확률(Posteriori)&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;확률변수 관측에 대한 조건부 확률, 어떤 사건이 발생하였고, 이 사건이 나온 이유가 무엇인지 식으로 나타낸 것이다. P(A|B)로 표현한다.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;(B는 관측한 사건, A는 B가 나올 수 있게 한 과거의 사건)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;베이즈 정리 &amp;lt; &lt;/span&gt;&lt;a href=&quot;https://ko.wikipedia.org/wiki/%EB%B2%A0%EC%9D%B4%EC%A6%88_%EC%A0%95%EB%A6%AC&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;위키피디아&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt; &amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;두 확률 변수의 사전 확률과 사후 확률 사이의 관계를 나타내는 정리다. 베이즈 확률론 해석에 따르면 베이즈 정리는 사전확률로 부터 사후확률을 구할 수 있다.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;P(B)는 B의 사전확률, 정규화 상수의 역할을 한다.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;P(A)는 A의 사전확률로&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;P(B|A)는 우도, 사건 A가 발생한 경우 사건 B의 확률&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;P(A|B)는 B값이 주어진 경우에 대한 A의 사후확률&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/272A3B4A596CB2F015&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28definition%5C%5C%20%5Cqquad%20%5Cqquad%20%5Cqquad%20P%28A%7CB%29%5Cquad%20%3D%5Cquad%20%5Cfrac%20%7B%20P%28B%7CA%29%5Ctimes%20P%28A%29%20%7D%7B%20P%28B%29%20%7D%20%5C%5C%20%5C%5C%20proof%5C%5C%20%5Cqquad%20%5Cqquad%20%5Cqquad%20P%28A%7CB%29%5Cquad%20%3D%5Cquad%20%5Cfrac%20%7B%20P%28B%7CA%29%5Ctimes%20P%28A%29%20%7D%7B%20P%28B%29%20%7D%20%2C%5Cquad%20P%28A%7CB%29%5Ctimes%20P%28B%29%5Cquad%20%3D%5Cquad%20P%28A%2C%5Cquad%20B%29%5C%5C%20%5Cqquad%20%5Cqquad%20%5Cqquad%20P%28B%7CA%29%5Cquad%20%3D%5Cquad%20%5Cfrac%20%7B%20P%28A%7CB%29%5Ctimes%20P%28B%29%20%7D%7B%20P%28A%29%20%7D%20%2C%5Cquad%20P%28B%7CA%29%5Ctimes%20P%28A%29%5Cquad%20%3D%5Cquad%20P%28A%2C%5Cquad%20B%29%5C%5C%20%5C%5C%20%5Cqquad%20%5Cqquad%20%5Cqquad%20P%28A%7CB%29%5Ctimes%20P%28B%29%5Cquad%20%3D%5Cquad%20P%28B%7CA%29%5Ctimes%20P%28A%29%5C%5C%20%5C%5C%20%5Cqquad%20%5Cqquad%20%5Cqquad%20%5Ctherefore%20%5Cquad%20P%28A%7CB%29%5Cquad%20%3D%5Cquad%20%5Cfrac%20%7B%20P%28B%7CA%29%5Ctimes%20P%28A%29%20%7D%7B%20P%28B%29%20%7D%20%5C%5C%20%5C%5C%20%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A12%2C%0A0xFFFFFF&quot; width=&quot;496&quot; height=&quot;402&quot;&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Naive Bayes&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/213E7F33596DCCC412&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28%5C%5C%20%5Cqquad%20%5Cqquad%20%5Cqquad%20P%28%7B%20C%20%7D_%7B%20k%20%7D%7CX%29%5Cquad%20%3D%5Cquad%20%5Cfrac%20%7B%20P%28X%7C%7B%20C%20%7D_%7B%20k%20%7D%29%5Ctimes%20P%28%7B%20C%20%7D_%7B%20k%20%7D%29%20%7D%7B%20P%28X%29%20%7D%20%5C%5C%20%5Cqquad%20%5Cqquad%20%5Cqquad%20P%28%7B%20C%20%7D_%7B%20k%20%7D%7CX%29%5Cquad%20%3D%5Cquad%20P%28C%29%5Cquad%20%5Ctimes%20%5Cquad%20P%28X_%7B%201%20%7D%7C%7B%20C%20%7D_%7B%20k%20%7D%29%5Cquad%20%5Ctimes%20%5Cquad%20P%28%7B%20X%20%7D_%7B%202%20%7D%7C%7B%20C%20%7D_%7B%20k%20%7D%29%5Cquad%20%5Ctimes%20%5Cquad%20P%28%7B%20X%20%7D_%7B%203%20%7D%7C%7B%20C%20%7D_%7B%20k%20%7D%29%5Cquad%20...%5C%5C%20%5Cqquad%20%5Cqquad%20%5Cqquad%20P%28%7B%20C%20%7D_%7B%20k%20%7D%7CX%29%5Cquad%20%3D%5Cquad%20P%28%7B%20C%20%7D_%7B%20k%20%7D%29%5Cprod%20_%7B%20i%3D1%20%7D%5E%7B%20n%20%7D%7B%20P%28X_%7B%20i%20%7D%7C%7B%20C%20%7D_%7B%20k%20%7D%29%20%7D%20%5C%5C%20classification%5Cquad%20rule%5Cquad%20%5C%5C%20%5Cqquad%20%5Cqquad%20%5Cqquad%20y%5Cquad%20%3D%5Cquad%20%5Cunderset%20%7B%20k%20%7D%7B%20argmax%20%7D%20%5Cquad%20P%28Y_%7B%20k%20%7D%29%5Cprod%20_%7B%20i%3D1%20%7D%5E%7B%20n%20%7D%7B%20P%28X_%7B%20i%20%7D%7C%7B%20Y%20%7D_%7B%20k%20%7D%29%20%7D%20%5C%5C%20priori%5Cquad%20%5C%5C%20%5Cqquad%20%5Cqquad%20%5Cqquad%20P%28Y%5Cquad%20%3D%5Cquad%20y%29%5Cquad%20%3D%5Cquad%20%5Cfrac%20%7B%20Count%28Y%3Dy%29%20%7D%7B%20%5Csum%20%7B%20Count%28Y%3D%7B%20y%20%7D%5E%7B%20%27%20%7D%29%20%7D%20%20%7D%20%5C%5C%20likelihood%5C%5C%20%5Cqquad%20%5Cqquad%20%5Cqquad%20P%28%7B%20X%20%7D_%7B%20i%20%7D%5Cquad%20%3D%5Cquad%20x%5Cquad%20%7C%5Cquad%20Y%5Cquad%20%3D%5Cquad%20y%29%5Cquad%20%3D%5Cquad%20%5Cfrac%20%7B%20Count%28%7B%20X%20%7D_%7B%20i%5Cquad%20%20%7D%3D%5Cquad%20x%2C%5Cquad%20Y%5Cquad%20%3D%5Cquad%20y%29%5Cquad%20+%5Cquad%201%20%7D%7B%20%5Csum%20%7B%20Count%28%7B%20X%20%7D_%7B%20i%20%7D%5Cquad%20%3D%5Cquad%20%7B%20x%20%7D%5E%7B%20%27%20%7D%2C%5Cquad%20Y%5Cquad%20%3D%5Cquad%20y%29%20%7D%20%5Cquad%20+%5Cquad%202%20%7D%20%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A12%2C%0A0xFFFFFF&quot; width=&quot;564&quot; height=&quot;423&quot;&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot;clear: none; float: none; text-align: left;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 526px;  height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/2475A948596CBE7D04&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F2475A948596CBE7D04&quot; width=&quot;526&quot; height=&quot;248&quot; filename=&quot;Picture2.jpg&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;likelihood를 구하면서 분자, 분모에 +1, +2를 더해주었다.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;위의 그림처럼 &lt;/span&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;likelihood를 구하는 중 학습데이터가 없는 곳을 그냥 지나친다면 당연히 P(X|Y)는 0이 나온다. &lt;/span&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;때문에 특정 값을 더하여 0이 나오는 것을 방지해한다.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 14.6667px; color: rgb(0, 0, 0);&quot;&gt;또한 분모에 2를 더하여 likelihood가 1이 되는 것을 막는다.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;underflow 방지&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;likelihood는 0~1 사이의 실수이다. likelihood를 수십번 곱하다보면 underflow가 발생할 수 있다.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;때문에 로그를 취하여&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;&amp;nbsp;log( P(X|C ) + log( P(X|C )&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;&amp;nbsp;log( P(X|C )... 으로 계산될 수 있게 바꿔주자.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left; clear: none; float: none;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 577px;  height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/23683833596F405024&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F23683833596F405024&quot; width=&quot;577&quot; height=&quot;288&quot; filename=&quot;Picture3.jpg&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(255, 0, 0);&quot;&gt;Train 과정을 통해 label 1에 대한 likelihood가 위와 같다면 계산은&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(255, 0, 0);&quot;&gt;log(1-0.1) + log(1-0.1) + log(1-0.1)+ log(1-0.1) + log(1-0.1)+ log(1-0.1) + log(0.8) +.... + log(P(1)) 이 된다.&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;1-likelihood 에 대한 &amp;nbsp;계산도 필요하다.&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Code &amp;lt; &lt;a href=&quot;https://github.com/jihoonLee/Simple-MachineLearning/tree/master/Naive%20Bayesian&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;Github&lt;/a&gt; &amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;train acc는 83%, test acc는 84%이다.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;pre class=&quot;brush: python&quot;&gt;import numpy as np
from pathlib import Path
import os

class Naive_Bayes:
    def __init__(self, input_size, label_size):
        self.input_size = input_size
        self.label_size = label_size

    def add_label_index(self, Y):
        label_index = np.hstack( (np.arange(Y.shape[0]).reshape(Y.shape), Y) )
        return label_index

    def get_count(self, X, label_index):
        likelihood = np.ones((self.label_size, self.input_size), dtype=np.float)
        priori = np.ones((self.label_size), dtype=np.float)

        for i in range(self.label_size):
            indices = (np.where(label_index[:,1]==i)[0])
            priori[i] += len(indices)
            total = priori[i] + 1
            likelihood[i] += np.sum(X[indices], axis=0)
            likelihood[i] /= total
        priori /= label_index.shape[0]
        return likelihood, priori

    def train(self, X, Y):
        label_idnex = self.add_label_index(Y)
        likelihood, priori = self.get_count(X, label_idnex)
        self.likelihood = np.log(likelihood)
        self.zero_likelihood = np.log(1-likelihood)
        self.priori = np.log(priori)

    def test(self, X, Y):
        predict = np.zeros( (X.shape[0], self.label_size) )
        for i in range(self.label_size):
            score = np.multiply (X, self.likelihood[i])
            score += np.multiply (X==0, self.zero_likelihood[i])
            score = np.sum(score, axis=1) + self.priori[i]
            predict[:, i] = score
        predict = (np.argmax(predict, axis=1) == Y.flatten())
        acc =  len(np.where(predict == True)[0]) / Y.shape[0]
        return acc

def load(path):
    train_data = np.genfromtxt(path+'/train_data.csv', delimiter=',', dtype=float)
    train_label = np.genfromtxt(path+'/train_label.csv', delimiter=',', dtype=float)

    test_data = np.genfromtxt(path+'/test_data.csv', delimiter=',', dtype=float)
    test_label = np.genfromtxt(path+'/test_label.csv', delimiter=',', dtype=float)
    return train_data, train_label.reshape(train_label.shape[0],1), test_data, test_label.reshape(test_label.shape[0],1)


path = Path(os.path.dirname(os.path.abspath(__file__))).parent
train_data, train_label, test_data, test_label = load(str(path) + '/data')

inpust_size = train_data.shape[1]
label_size = 10
nb = Naive_Bayes(inpust_size, label_size)
nb.train(train_data, train_label)
print ('train acc &amp;gt; %f' %(nb.test(train_data, train_label)))
print ('test acc &amp;gt; %f' %(nb.test(test_data, test_label)))&lt;/pre&gt;&lt;p style=&quot;text-align: left; clear: none; float: none;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 533px;  height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/22081D4F596DCB7227&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F22081D4F596DCB7227&quot; width=&quot;533&quot; height=&quot;63&quot; filename=&quot;스크린샷 2017-07-18 오후 5.46.47.png&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>ML</category>
      <category>C</category>
      <category>naive bayes</category>
      <author>개발자입니다.</author>
      <guid isPermaLink="true">https://jihoonlee.tistory.com/22</guid>
      <comments>https://jihoonlee.tistory.com/22#entry22comment</comments>
      <pubDate>Tue, 18 Jul 2017 17:57:11 +0900</pubDate>
    </item>
    <item>
      <title>Logistic Regression</title>
      <link>https://jihoonlee.tistory.com/19</link>
      <description>&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 18pt;&quot;&gt;&lt;u&gt;Logistic Regression&lt;/u&gt;&lt;/span&gt;&lt;/b&gt; &lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;lt; &lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;https://ko.wikipedia.org/wiki/%EB%A1%9C%EC%A7%80%EC%8A%A4%ED%8B%B1_%ED%9A%8C%EA%B7%80&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;위키피디아&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt; &amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;독립 변수의 선형 결합을 이용하여 사건의 발생 가능성을 예측하는데 사용되는 통계 기법이다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;Logistic Regression은 Regression(회귀)이름이 붙어있지만 Classification문제[비가온다 vs 비가 안온다, 종양이다 vs 아니다]를 해결한다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;선형회귀를 이용해서 분류를 한다면? &amp;lt; &lt;/span&gt;&lt;a href=&quot;https://wikidocs.net/4267&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;참&lt;/span&gt;&lt;/a&gt;&lt;a href=&quot;https://wikidocs.net/4267&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;고1&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;, &lt;/span&gt;&lt;a href=&quot;http://www.saedsayad.com/logistic_regression.htm&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;참고2&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/213EF54F595CCF2A20&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28Treshold%5Cquad%20%3D%5Cquad%200.7%5C%5C%20if%5Cquad%20h%28x%29%5Cquad%20%5Cge%20%5Cquad%20treshold%2C%5Cquad%20y%5Cquad%20%3D%5Cquad%201%5C%5C%20if%5Cquad%20h%28x%29%5Cquad%20%5Cle%20%5Cquad%20treshold%2C%5Cquad%20y%5Cquad%20%3D%5Cquad%200%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A12%2C%0A0xFFFFFF&quot; width=&quot;231&quot; height=&quot;82&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;0.7을 기준으로 비가 온다(y = 1), 비가 오지않는다(y=0)로 구분한다고 가정하자.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;[그림 1]과 같은 경우로 결과가 나왔으면 '괜찮네'라고 생각할 수 있다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;하지만 [ 그림 2 ] 와 같이 오른쪽에 특이한 녀석을 추가하여 학습하면 분류는 실패할 것이다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p style=&quot;text-align: left; clear: none; float: none;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 288px;  height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/251F8D44595CCC851B&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F251F8D44595CCC851B&quot; width=&quot;288&quot; height=&quot;253&quot; filename=&quot;Picture2.jpg&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 288px; margin-right: 10px;; height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/21464844595CCC851F&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F21464844595CCC851F&quot; width=&quot;288&quot; height=&quot;253&quot; filename=&quot;Picture3.jpg&quot; filemime=&quot;image/jpeg&quot; style=&quot;margin-right: 10px;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;clear: both; float: left;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center; clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left; clear: none; float: none;&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;또한 선형회귀는 0과 1 사이의 값을 가지지 않을수도 있다. (우리가 원하는 것은 0또는 1이다.)&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left; clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left; clear: none; float: none;&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;반면에 Logistic Regression은 0과 1사이의 값으로 제한하는 로지스틱 곡선(Sigmoid Function, Logistic Function)을 사용한다. 로지스틱 회귀는 선형회귀와 유사하지만 오즈비의 로그변환을 사용한다.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left; clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left; clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left; clear: none; float: none;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;clear: both; float: left;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 395px; margin-right: 10px;; height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/26219E50595CD8F403&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F26219E50595CD8F403&quot; width=&quot;395&quot; height=&quot;118&quot; filename=&quot;스크린샷 2017-07-05 오후 9.16.49.png&quot; filemime=&quot;image/jpeg&quot; style=&quot;margin-right: 10px;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;clear: both; float: left;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp; &amp;nbsp;로지스틱 곡선&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/25606D43595CEF160C&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28f%28x%29%5Cquad%20%3D%5Cquad%20%5Cfrac%20%7B%201%20%7D%7B%201+%7B%20e%20%7D%5E%7B%20-x%20%7D%20%7D%20%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A12%2C%0A0xFFFFFF&quot; width=&quot;130&quot; height=&quot;51&quot;&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt; &amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;x의 값에 상관없이 y는 무조건 0과 1사이의 값을 갖는다.&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;본격적인 Logistic Regression 설명 전에 오즈비에 대한 설명부터 하겠다.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt;오즈비 &amp;lt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://gentlej90.tistory.com/69&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt;정말 잘 설명한 블로그&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp;&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: both; float: left;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 155px; margin-right: 10px;; height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/245CB438595CE99236&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F245CB438595CE99236&quot; width=&quot;155&quot; height=&quot;187&quot; filename=&quot;스크린샷 2017-07-05 오후 10.27.49.png&quot; filemime=&quot;image/jpeg&quot; style=&quot;margin-right: 10px;&quot;/&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;오즈비란 x가 한 단위 증가할 때, &amp;nbsp;y = 1일 확률과 Y = 0일 확률의 비의 증가율이다.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;조금 더 쉽게 설명하면 오즈비 = &amp;nbsp;p / 1- p 로&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;사건이 발생할 확률 / 사건이 발생하지 않을 확률로 표현할 수 있다.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/22761A47595CEAF820&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28odds%5Cquad%20ratio%5Cquad%20%3D%5Cquad%20%5Cfrac%20%7B%20p%20%7D%7B%201-p%20%7D%20%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A12%2C%0A0xFFFFFF&quot; width=&quot;174&quot; height=&quot;49&quot;&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;여기서 우리가 원하는건 x의 범위는 [-∞, ∞], y의 범위는&amp;nbsp;[0. 1] 이다.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;오즈비를 조금 변환해야 한다.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;오즈비에 자연로그(자연상수 e를 밑으로 하는 로그)를 취한다.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: both; float: left;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 180px; margin-right: 10px;; height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/265A313F595CED9F34&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F265A313F595CED9F34&quot; width=&quot;180&quot; height=&quot;167&quot; filename=&quot;스크린샷 2017-07-05 오후 10.43.50.png&quot; filemime=&quot;image/jpeg&quot; style=&quot;margin-right: 10px;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/2206EC4B595CF0380B&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28%7B%20log%20%7D_%7B%20e%20%7D%28odds%5Cquad%20ratio%29%5Cquad%20%3D%5Cquad%20log%28%5Cfrac%20%7B%20p%20%7D%7B%201-p%20%7D%20%29%5C%5C%20log%28%5Cfrac%20%7B%20p%20%7D%7B%201-p%20%7D%20%29%5Cquad%20%3D%5Cquad%20%7B%20%5Ctheta%20%20%7D_%7B%201%20%7D%7B%20w%20%7D_%7B%201%20%7D+%7B%20%5Ctheta%20%20%7D_%7B%202%20%7D%7B%20w%20%7D_%7B%202%20%7D+...%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A12%2C%0A0xFFFFFF&quot; width=&quot;254&quot; height=&quot;102&quot;&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;(독립 변수들의 선형 결합)&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;이제 x의 범위는 [0,1] y의 범위는 [-∞, ∞]이다.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;식을 변형하자.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/26632E4E595CF4AB23&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28%7B%20log%20%7D_%7B%20e%20%7D%28%5Cfrac%20%7B%20p%20%7D%7B%201-p%20%7D%20%29%5Cquad%20%3D%5Cquad%20%7B%20%5Ctheta%20%20%7D_%7B%201%20%7D%7B%20w%20%7D_%7B%201%20%7D+%7B%20%5Ctheta%20%20%7D_%7B%202%20%7D%7B%20w%20%7D_%7B%202%20%7D+...%5C%5C%20%5Cfrac%20%7B%20p%20%7D%7B%201-p%20%7D%20%5Cquad%20%3D%5Cquad%20%7B%20e%20%7D%5E%7B%20%7B%20%5Ctheta%20%20%7D_%7B%201%20%7D%7B%20w%20%7D_%7B%201%20%7D+%7B%20%5Ctheta%20%20%7D_%7B%202%20%7D%7B%20w%20%7D_%7B%202%20%7D+...%20%7D%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A14%2C%0A0xFFFFFF&quot; width=&quot;276&quot; height=&quot;120&quot;&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;역수를 취하고 p에 대한 함수로 만들어야 한다.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: both; float: right;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: both; float: right;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: both; float: right;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: both; float: right;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: both; float: right;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: both; float: right;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: both; float: right;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: both; float: right;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: both; float: right;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: both; float: right;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: both; float: right;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 429px; margin-left: 10px;; height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/2271CC4A595CF4912E&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F2271CC4A595CF4912E&quot; width=&quot;429&quot; height=&quot;234&quot; filename=&quot;스크린샷 2017-07-05 오후 11.13.59.png&quot; filemime=&quot;image/jpeg&quot; style=&quot;margin-left: 10px;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;/p&gt;&lt;p style=&quot;clear: none; float: none;&quot;&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/27196A48595CF5AF1C&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28%5Cfrac%20%7B%20p%20%7D%7B%201-p%20%7D%20%5Cquad%20%3D%5Cquad%20%7B%20e%20%7D%5E%7B%20%7B%20%5Ctheta%20%20%7D_%7B%201%20%7D%7B%20w%20%7D_%7B%201%20%7D+%7B%20%5Ctheta%20%20%7D_%7B%202%20%7D%7B%20w%20%7D_%7B%202%20%7D+...%20%7D%5C%5C%20%5Cfrac%20%7B%201-p%20%7D%7B%20p%20%7D%20%3D%5Cfrac%20%7B%201%20%7D%7B%20%7B%20e%20%7D%5E%7B%20%7B%20%5Ctheta%20%20%7D_%7B%201%20%7D%7B%20w%20%7D_%7B%201%20%7D+%7B%20%5Ctheta%20%20%7D_%7B%202%20%7D%7B%20w%20%7D_%7B%202%20%7D+...%20%7D%20%7D%20%5C%5C%20%5Cfrac%20%7B%201%20%7D%7B%20p%20%7D%20%3D%5Cfrac%20%7B%201%20%7D%7B%20%7B%20e%20%7D%5E%7B%20%7B%20%5Ctheta%20%20%7D_%7B%201%20%7D%7B%20w%20%7D_%7B%201%20%7D+%7B%20%5Ctheta%20%20%7D_%7B%202%20%7D%7B%20w%20%7D_%7B%202%20%7D+...%20%7D%20%7D%20+1%5C%5C%20%5Cfrac%20%7B%201%20%7D%7B%20p%20%7D%20%3D%5Cquad%20%5Cfrac%20%7B%20%7B%20e%20%7D%5E%7B%20%7B%20%5Ctheta%20%20%7D_%7B%201%20%7D%7B%20w%20%7D_%7B%201%20%7D+%7B%20%5Ctheta%20%20%7D_%7B%202%20%7D%7B%20w%20%7D_%7B%202%20%7D+...%20%7D+1%20%7D%7B%20%7B%20e%20%7D%5E%7B%20%7B%20%5Ctheta%20%20%7D_%7B%201%20%7D%7B%20w%20%7D_%7B%201%20%7D+%7B%20%5Ctheta%20%20%7D_%7B%202%20%7D%7B%20w%20%7D_%7B%202%20%7D+...%20%7D%20%7D%20%5C%5C%20p%5Cquad%20%3D%5Cquad%20%5Cquad%20%5Cfrac%20%7B%20%7B%20e%20%7D%5E%7B%20%7B%20%5Ctheta%20%20%7D_%7B%201%20%7D%7B%20w%20%7D_%7B%201%20%7D+%7B%20%5Ctheta%20%20%7D_%7B%202%20%7D%7B%20w%20%7D_%7B%202%20%7D+...%20%7D%20%7D%7B%20%7B%20e%20%7D%5E%7B%20%7B%20%5Ctheta%20%20%7D_%7B%201%20%7D%7B%20w%20%7D_%7B%201%20%7D+%7B%20%5Ctheta%20%20%7D_%7B%202%20%7D%7B%20w%20%7D_%7B%202%20%7D+...%20%7D+1%20%7D%20%5C%5C%20p%5Cquad%20%3D%5Cquad%20%5Cfrac%20%7B%20%7B%20e%20%7D%5E%7B%20%7B%20%5Ctheta%20%20%7D_%7B%201%20%7D%7B%20w%20%7D_%7B%201%20%7D+%7B%20%5Ctheta%20%20%7D_%7B%202%20%7D%7B%20w%20%7D_%7B%202%20%7D+...%20%7D%20%7D%7B%20%7B%20e%20%7D%5E%7B%20%7B%20%5Ctheta%20%20%7D_%7B%201%20%7D%7B%20w%20%7D_%7B%201%20%7D+%7B%20%5Ctheta%20%20%7D_%7B%202%20%7D%7B%20w%20%7D_%7B%202%20%7D+...%20%7D+1%20%7D%20%5Ctimes%20%5Cfrac%20%7B%20%5Cfrac%20%7B%201%20%7D%7B%20%7B%20e%20%7D%5E%7B%20%7B%20%5Ctheta%20%20%7D_%7B%201%20%7D%7B%20w%20%7D_%7B%201%20%7D+%7B%20%5Ctheta%20%20%7D_%7B%202%20%7D%7B%20w%20%7D_%7B%202%20%7D+...%20%7D%20%7D%20%20%7D%7B%20%5Cfrac%20%7B%201%20%7D%7B%20%7B%20e%20%7D%5E%7B%20%7B%20%5Ctheta%20%20%7D_%7B%201%20%7D%7B%20w%20%7D_%7B%201%20%7D+%7B%20%5Ctheta%20%20%7D_%7B%202%20%7D%7B%20w%20%7D_%7B%202%20%7D+...%20%7D%20%7D%20%20%7D%20%5C%5C%20p%5Cquad%20%3D%5Cquad%20%5Cfrac%20%7B%201%20%7D%7B%20%7B%20e%20%7D%5E%7B%20%7B%20-%28%5Ctheta%20%20%7D_%7B%201%20%7D%7B%20w%20%7D_%7B%201%20%7D+%7B%20%5Ctheta%20%20%7D_%7B%202%20%7D%7B%20w%20%7D_%7B%202%20%7D+...%29%20%7D+1%20%7D%20%5C%5C%20%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A12%2C%0A0xFFFFFF&quot; width=&quot;281&quot; height=&quot;476&quot;&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left; clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left; clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left; clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;hr&gt;&lt;p style=&quot;text-align: left; clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left; clear: none; float: none;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt;Data (&lt;/span&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;a href=&quot;http://logisticregressionanalysis.com/MiscPages/KidCreative.csv&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;다운로드&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://logisticregressionanalysis.com/MiscPages/KidCreative.html&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt;데이터셋 보기&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt; )&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left; clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left; clear: none; float: none;&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;아래 데이터를 분류해보자. (Income항목과 Residence Length항목은 정규화가 필요해 보인다.)&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center; clear: none; float: none;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 820px;  height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/2456B645595D004844&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F2456B645595D004844&quot; width=&quot;820&quot; height=&quot;443&quot; filename=&quot;스크린샷 2017-07-06 오전 12.05.17.png&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left; clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left; clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left; clear: none; float: none;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt;Maximum Likelihood Estimation ( &lt;/span&gt;&lt;a href=&quot;https://ko.wikipedia.org/wiki/%EC%B5%9C%EB%8C%80%EA%B0%80%EB%8A%A5%EB%8F%84_%EB%B0%A9%EB%B2%95&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt;최대우&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt;도법 )&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;어떤 확률변수에서 표집한 값들을 토대로 그 확률변수의 모수를 구하는 방법이다. 어떤 모수가 주어졌을 때, 원하는 값들이 나올 가능도를 최대로 만드는 모수를 선택하는 방법이다.&amp;nbsp;( 'X-variable&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 11pt;&quot;&gt;&amp;nbsp;대해 likelihood를 가장 크게 해 주는 theta를 찾는 것&lt;/span&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;', )&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;방법은 위키피디아의 설명을 붙여넣겠다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center; clear: none; float: none;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 820px;  height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/2217FE45595D0C7E22&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F2217FE45595D0C7E22&quot; width=&quot;820&quot; height=&quot;285&quot; filename=&quot;스크린샷 2017-07-06 오전 12.57.08.png&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;아래 그림에서 가능도가 최대가 되기 위해서는 Buy(1)과 같이 target이 0인 경우에는 ( 1 - target )을 해준다. 만약 ( 1 - target )을 하지 않으면 가능도는&amp;nbsp;0.1 X 0.9가 되므로 적절치 않다. 이걸 수식으로 나타내면&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/270F7550595E0A5714&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28p%28y%7Cx%29%5Cquad%20%3D%5Cquad%20%7B%20h%28x%29%20%7D%5E%7B%20y%20%7D%5Ctimes%20%7B%20h%28x%29%20%7D%5E%7B%201-y%20%7D%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A12%2C%0A0xFFFFFF&quot; width=&quot;181&quot; height=&quot;24&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center; clear: none; float: none;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 783px;  height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/245F2841595D0BAF07&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F245F2841595D0BAF07&quot; width=&quot;783&quot; height=&quot;273&quot; filename=&quot;Picture4.jpg&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Gradient Descent&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Hypothesis&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: both; float: left;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;clear: both; float: left;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 301px; margin-right: 10px;; height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/2574DF48595E079713&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F2574DF48595E079713&quot; width=&quot;301&quot; height=&quot;169&quot; filename=&quot;Picture5.jpg&quot; filemime=&quot;image/jpeg&quot; style=&quot;margin-right: 10px;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/23269938595E048C08&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28h%28x%29%5Cquad%20%3D%5Cquad%20%5Cfrac%20%7B%201%20%7D%7B%20%7B%20e%20%7D%5E%7B%20%7B%20-%28%5Ctheta%20%20%7D_%7B%201%20%7D%7B%20w%20%7D_%7B%201%20%7D+%7B%20%5Ctheta%20%20%7D_%7B%202%20%7D%7B%20w%20%7D_%7B%202%20%7D+...%29%20%7D+1%20%7D%20%5Cquad%20%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A12%2C%0A0xFFFFFF&quot; width=&quot;207&quot; height=&quot;53&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;h(x)는 hypothesis(가설)이다.&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;hypothesis의 의미는 우리가 원하는 y값을 예측해주는 모델이다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;머신러닝에서 Hypothesis와 Model은 종종 동일한 의미로 사용된다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Cost Function&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;최대우도법을 사용하여 log함수로 만들어 주고, 양변에 -을 곱하여 최대값 문제를 최소값으로 만들어준다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;그리고 cost는 모든 데이터들로부터의 평균 비용을 구하기 때문에 1/m을 붙여준다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/26427C3B595E6A3E1D&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28L%28%5Ctheta%20%29%5Cquad%20%3D%5Cquad%20%5Cprod%20_%7B%20i%3D1%20%7D%5E%7B%20m%20%7D%7B%20p%28%7B%20y%20%7D%5E%7B%20i%20%7D%7C%7B%20x%20%7D%5E%7B%20i%20%7D%29%20%7D%20%5C%5C%20L%28%5Ctheta%20%29%5Cquad%20%3D%5Cquad%20%7B%20%5Cprod%20_%7B%20i%3D1%20%7D%5E%7B%20m%20%7D%7B%20%7B%20h%28%7B%20x%20%7D%5E%7B%20i%20%7D%29%20%7D%5E%7B%20%7B%20y%20%7D%5E%7B%20i%20%7D%20%7D%5Ctimes%20%7B%20%281-h%28x%29%20%7D%5E%7B%201-%7B%20y%20%7D%5E%7B%20i%20%7D%20%7D%29%20%7D%20%20%7D%5C%5C%20logL%28%5Ctheta%20%29%5Cquad%20%3D%5Cquad%20%5Csum%20_%7B%20i%3D1%20%7D%5E%7B%20m%20%7D%7B%20%7B%20y%20%7D%5E%7B%20i%20%7Dlog%28h%7B%20%28x%20%7D%5E%7B%20%28i%29%20%7D%29+%281-%7B%20y%20%7D%5E%7B%20%28i%29%20%7D%29log%281-h%7B%20%28x%20%7D%5E%7B%20%28i%29%20%7D%29%29%20%7D%20%5C%5C%20-logL%28%5Ctheta%20%29%5Cquad%20%3D%5Cquad%20-%5Csum%20_%7B%20i%3D1%20%7D%5E%7B%20m%20%7D%7B%20%7B%20y%20%7D%5E%7B%20i%20%7Dlog%28h%7B%20%28x%20%7D%5E%7B%20%28i%29%20%7D%29%29+%281-%7B%20y%20%7D%5E%7B%20%28i%29%20%7D%29log%281-h%28x%5E%7B%20%28i%29%20%7D%29%29%20%7D%20%5C%5C%20J%28%5Ctheta%20%29%5Cquad%20%3D%5Cquad%20%5Cfrac%20%7B%201%20%7D%7B%20m%20%7D%20L%28%5Ctheta%20%29%5C%5C%20J%28%5Ctheta%20%29%5Cquad%20%3D%5Cquad%20-%5Cfrac%20%7B%201%20%7D%7B%20m%20%7D%20%5Csum%20_%7B%20i%3D1%20%7D%5E%7B%20m%20%7D%7B%20%7B%20y%20%7D%5E%7B%20%28i%29%20%7Dlog%28h%7B%20%28x%20%7D%5E%7B%20%28i%29%20%7D%29+%281-%7B%20y%20%7D%5E%7B%20%28i%29%20%7D%29log%281-h%7B%20%28x%20%7D%5E%7B%20%28i%29%20%7D%29%29%20%7D%20%5Cquad%20%29%3C/textformat%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22true%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28%28Cost%5Cquad%20Function%29%29%3C/textformat%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28%5C%5C%20J%28%5Ctheta%20%29%5Cquad%20%3D-%5Cfrac%20%7B%201%20%7D%7B%20m%20%7D%20%5Csum%20_%7B%20i%3D1%20%7D%5E%7B%20m%20%7D%7B%20Cost%28%7B%20h%20%7D_%7B%20%5Ctheta%20%20%7D%28%7B%20x%20%7D%5E%7B%20%28i%29%20%7D%29%2C%5Cquad%20%7B%20y%20%7D%5E%7B%20%28i%29%20%7D%29%20%7D%20%5C%5C%20Cost%28%7B%20h%20%7D_%7B%20%5Ctheta%20%20%7D%28%7B%20x%20%7D%5E%7B%20%28i%29%20%7D%29%2C%5Cquad%20%7B%20y%20%7D%5E%7B%20%28i%29%20%7D%29%5Cquad%20%3D%5Cquad%20%5Cbegin%7B%20cases%20%7D%20log%7B%20%28h%20%7D_%7B%20%5Ctheta%20%20%7D%28x%29%29%2C%5Cquad%20if%5Cquad%20y%5Cquad%20%3D%5Cquad%201%20%5C%5C%20log%281-%7B%20h%20%7D_%7B%20%5Ctheta%20%20%7D%28x%29%29%2C%5Cquad%20if%5Cquad%20y%5Cquad%20%3D%5Cquad%200%20%5Cend%7B%20cases%20%7D%5C%5C%20%5C%5C%20%29%3C/textformat%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22true%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28Goal%5C%5C%20minimize%5Cquad%20J%28%7B%20%5Ctheta%20%20%7D_%7B%201%20%7D%2C%7B%20%5Ctheta%20%20%7D_%7B%202%20%7D%2C%7B%20%5Ctheta%20%20%7D_%7B%203%20%7D......%29%5Cquad%20%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A12%2C%0A0xFFFFFF&quot; width=&quot;536&quot; height=&quot;528&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt;Partial Derivation &amp;lt; &lt;/span&gt;&lt;a href=&quot;http://sambfok.blogspot.kr/2012/08/partial-derivative-logistic-regression.html&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt;참고&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt; &amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; color: rgb(34, 34, 34); font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15.84px; text-align: center; white-space: nowrap; clip: rect(3.475em 1001.83em 9.473em -999.997em); top: -6.563em; left: 0em;&quot;&gt;&lt;span style=&quot;transition: none; display: inline-block; position: relative; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; width: 1.897em; height: 0px;&quot;&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; clip: rect(2.97em 1001.83em 4.359em -999.997em); top: -6.057em; right: 0em;&quot;&gt;&lt;span class=&quot;mtd&quot; id=&quot;MathJax-Span-228&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;MathJax-Span-229&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;msup&quot; id=&quot;MathJax-Span-230&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span style=&quot;transition: none; display: inline-block; position: relative; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; width: 0.824em; height: 0px;&quot;&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; clip: rect(3.349em 1000.45em 4.359em -999.997em); top: -3.974em; left: 0em;&quot;&gt;&lt;span class=&quot;mi&quot; id=&quot;MathJax-Span-231&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Italic; color: rgb(0, 0, 0);&quot;&gt;g&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; top: -4.416em; left: 0.508em;&quot;&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-232&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-size: 11.1989px; font-family: STIXVariants; color: rgb(0, 0, 0);&quot;&gt;′&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-233&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot; id=&quot;MathJax-Span-234&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Italic; color: rgb(0, 0, 0);&quot;&gt;z&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-235&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; clip: rect(3.791em 1000em 4.17em -999.997em); top: -3.343em; right: 0em;&quot;&gt;&lt;span class=&quot;mtd&quot; id=&quot;MathJax-Span-278&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;MathJax-Span-279&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; clip: rect(3.791em 1000em 4.17em -999.997em); top: -1.259em; right: 0em;&quot;&gt;&lt;span class=&quot;mtd&quot; id=&quot;MathJax-Span-364&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;MathJax-Span-365&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; color: rgb(34, 34, 34); font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15.84px; text-align: center; white-space: nowrap; clip: rect(3.728em 1026.96em 10.42em -999.997em); top: -7.32em; left: 1.897em;&quot;&gt;&lt;span style=&quot;transition: none; display: inline-block; position: relative; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; width: 27.023em; height: 0px;&quot;&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; clip: rect(2.402em 1012.95em 5.117em -999.997em); top: -6.057em; left: 0em;&quot;&gt;&lt;span class=&quot;mtd&quot; id=&quot;MathJax-Span-236&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;MathJax-Span-237&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mi&quot; id=&quot;MathJax-Span-238&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-239&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.319em; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;mfrac&quot; id=&quot;MathJax-Span-240&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.319em; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span style=&quot;transition: none; display: inline-block; position: relative; border: 0px; padding: 0px; margin: 0px 0.129em; vertical-align: 0px; line-height: normal; width: 1.013em; height: 0px;&quot;&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px 0px 0px -0.249em; vertical-align: 0px; line-height: normal; clip: rect(3.097em 1000.51em 4.17em -999.997em); top: -4.669em; left: 8.01562px;&quot;&gt;&lt;span class=&quot;mi&quot; id=&quot;MathJax-Span-241&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Italic; color: rgb(0, 0, 0);&quot;&gt;d&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px 0px 0px -0.439em; vertical-align: 0px; line-height: normal; clip: rect(3.097em 1000.89em 4.233em -999.997em); top: -3.28em; left: 8.01562px;&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;MathJax-Span-242&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mi&quot; id=&quot;MathJax-Span-243&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Italic; color: rgb(0, 0, 0);&quot;&gt;d&lt;/span&gt;&lt;span class=&quot;mi&quot; id=&quot;MathJax-Span-244&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Italic; color: rgb(0, 0, 0);&quot;&gt;z&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;mfrac&quot; id=&quot;MathJax-Span-245&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span style=&quot;transition: none; display: inline-block; position: relative; border: 0px; padding: 0px; margin: 0px 0.129em; vertical-align: 0px; line-height: normal; width: 3.097em; height: 0px;&quot;&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px 0px 0px -0.249em; vertical-align: 0px; line-height: normal; clip: rect(3.097em 1000.38em 4.17em -999.997em); top: -4.669em; left: 24.5156px;&quot;&gt;&lt;span class=&quot;mn&quot; id=&quot;MathJax-Span-246&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;1&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px 0px 0px -1.512em; vertical-align: 0px; line-height: normal; clip: rect(3.097em 1002.97em 4.233em -999.997em); top: -3.28em; left: 24.5156px;&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;MathJax-Span-247&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mn&quot; id=&quot;MathJax-Span-248&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-249&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.256em; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;msubsup&quot; id=&quot;MathJax-Span-250&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.256em; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span style=&quot;transition: none; display: inline-block; position: relative; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; width: 1.266em; height: 0px;&quot;&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; clip: rect(3.349em 1000.45em 4.17em -999.997em); top: -3.974em; left: 0em;&quot;&gt;&lt;span class=&quot;mi&quot; id=&quot;MathJax-Span-251&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Italic; color: rgb(0, 0, 0);&quot;&gt;e&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; top: -4.29em; left: 0.445em;&quot;&gt;&lt;span class=&quot;texatom&quot; id=&quot;MathJax-Span-252&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;MathJax-Span-253&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-254&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-size: 11.1989px; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;−&lt;/span&gt;&lt;span class=&quot;mi&quot; id=&quot;MathJax-Span-255&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-size: 11.1989px; font-family: STIXGeneral-Italic; color: rgb(0, 0, 0);&quot;&gt;z&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-256&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.319em; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;mfrac&quot; id=&quot;MathJax-Span-257&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.319em; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span style=&quot;transition: none; display: inline-block; position: relative; border: 0px; padding: 0px; margin: 0px 0.129em; vertical-align: 0px; line-height: normal; width: 4.17em; height: 0px;&quot;&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px 0px 0px -0.249em; vertical-align: 0px; line-height: normal; clip: rect(3.097em 1000.38em 4.17em -999.997em); top: -4.669em; left: 33.0156px;&quot;&gt;&lt;span class=&quot;mn&quot; id=&quot;MathJax-Span-258&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;1&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px 0px 0px -2.017em; vertical-align: 0px; line-height: normal; clip: rect(3.033em 1004.04em 4.359em -999.997em); top: -3.217em; left: 33.0156px;&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;MathJax-Span-259&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-260&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mn&quot; id=&quot;MathJax-Span-261&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-262&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.256em; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;msubsup&quot; id=&quot;MathJax-Span-263&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.256em; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span style=&quot;transition: none; display: inline-block; position: relative; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; width: 1.266em; height: 0px;&quot;&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; clip: rect(3.349em 1000.45em 4.17em -999.997em); top: -3.974em; left: 0em;&quot;&gt;&lt;span class=&quot;mi&quot; id=&quot;MathJax-Span-264&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Italic; color: rgb(0, 0, 0);&quot;&gt;e&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; top: -4.29em; left: 0.445em;&quot;&gt;&lt;span class=&quot;texatom&quot; id=&quot;MathJax-Span-265&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;MathJax-Span-266&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-267&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-size: 11.1989px; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;−&lt;/span&gt;&lt;span class=&quot;mi&quot; id=&quot;MathJax-Span-268&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-size: 11.1989px; font-family: STIXGeneral-Italic; color: rgb(0, 0, 0);&quot;&gt;z&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;msubsup&quot; id=&quot;MathJax-Span-269&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span style=&quot;transition: none; display: inline-block; position: relative; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; width: 0.761em; height: 0px;&quot;&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; clip: rect(3.097em 1000.32em 4.359em -999.997em); top: -3.974em; left: 0em;&quot;&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-270&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; top: -4.29em; left: 0.319em;&quot;&gt;&lt;span class=&quot;mn&quot; id=&quot;MathJax-Span-271&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-size: 11.1989px; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;2&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;msubsup&quot; id=&quot;MathJax-Span-272&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span style=&quot;transition: none; display: inline-block; position: relative; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; width: 1.266em; height: 0px;&quot;&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; clip: rect(3.349em 1000.45em 4.17em -999.997em); top: -3.974em; left: 0em;&quot;&gt;&lt;span class=&quot;mi&quot; id=&quot;MathJax-Span-273&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Italic; color: rgb(0, 0, 0);&quot;&gt;e&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; top: -4.416em; left: 0.445em;&quot;&gt;&lt;span class=&quot;texatom&quot; id=&quot;MathJax-Span-274&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;MathJax-Span-275&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-276&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-size: 11.1989px; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;−&lt;/span&gt;&lt;span class=&quot;mi&quot; id=&quot;MathJax-Span-277&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-size: 11.1989px; font-family: STIXGeneral-Italic; color: rgb(0, 0, 0);&quot;&gt;z&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; clip: rect(2.339em 1026.96em 5.117em -999.997em); top: -3.343em; left: 0em;&quot;&gt;&lt;span class=&quot;mtd&quot; id=&quot;MathJax-Span-280&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;MathJax-Span-281&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mi&quot; id=&quot;MathJax-Span-282&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-283&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.319em; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;mfrac&quot; id=&quot;MathJax-Span-284&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.319em; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span style=&quot;transition: none; display: inline-block; position: relative; border: 0px; padding: 0px; margin: 0px 0.129em; vertical-align: 0px; line-height: normal; width: 4.801em; height: 0px;&quot;&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px 0px 0px -2.333em; vertical-align: 0px; line-height: normal; clip: rect(3.033em 1004.55em 4.296em -999.997em); top: -4.669em; left: 38.0156px;&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;MathJax-Span-285&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mn&quot; id=&quot;MathJax-Span-286&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-287&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.256em; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;msubsup&quot; id=&quot;MathJax-Span-288&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.256em; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span style=&quot;transition: none; display: inline-block; position: relative; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; width: 1.266em; height: 0px;&quot;&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; clip: rect(3.349em 1000.45em 4.17em -999.997em); top: -3.974em; left: 0em;&quot;&gt;&lt;span class=&quot;mi&quot; id=&quot;MathJax-Span-289&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Italic; color: rgb(0, 0, 0);&quot;&gt;e&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; top: -4.353em; left: 0.445em;&quot;&gt;&lt;span class=&quot;texatom&quot; id=&quot;MathJax-Span-290&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;MathJax-Span-291&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-292&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-size: 11.1989px; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;−&lt;/span&gt;&lt;span class=&quot;mi&quot; id=&quot;MathJax-Span-293&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-size: 11.1989px; font-family: STIXGeneral-Italic; color: rgb(0, 0, 0);&quot;&gt;z&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-294&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.256em; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;−&lt;/span&gt;&lt;span class=&quot;mn&quot; id=&quot;MathJax-Span-295&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.256em; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px 0px 0px -2.017em; vertical-align: 0px; line-height: normal; clip: rect(3.033em 1004.04em 4.359em -999.997em); top: -3.217em; left: 38.0156px;&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;MathJax-Span-296&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-297&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mn&quot; id=&quot;MathJax-Span-298&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-299&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.256em; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;msubsup&quot; id=&quot;MathJax-Span-300&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.256em; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span style=&quot;transition: none; display: inline-block; position: relative; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; width: 1.266em; height: 0px;&quot;&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; clip: rect(3.349em 1000.45em 4.17em -999.997em); top: -3.974em; left: 0em;&quot;&gt;&lt;span class=&quot;mi&quot; id=&quot;MathJax-Span-301&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Italic; color: rgb(0, 0, 0);&quot;&gt;e&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; top: -4.29em; left: 0.445em;&quot;&gt;&lt;span class=&quot;texatom&quot; id=&quot;MathJax-Span-302&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;MathJax-Span-303&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-304&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-size: 11.1989px; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;−&lt;/span&gt;&lt;span class=&quot;mi&quot; id=&quot;MathJax-Span-305&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-size: 11.1989px; font-family: STIXGeneral-Italic; color: rgb(0, 0, 0);&quot;&gt;z&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;msubsup&quot; id=&quot;MathJax-Span-306&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span style=&quot;transition: none; display: inline-block; position: relative; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; width: 0.761em; height: 0px;&quot;&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; clip: rect(3.097em 1000.32em 4.359em -999.997em); top: -3.974em; left: 0em;&quot;&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-307&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; top: -4.29em; left: 0.319em;&quot;&gt;&lt;span class=&quot;mn&quot; id=&quot;MathJax-Span-308&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-size: 11.1989px; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;2&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-309&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.319em; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;mfrac&quot; id=&quot;MathJax-Span-310&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.319em; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span style=&quot;transition: none; display: inline-block; position: relative; border: 0px; padding: 0px; margin: 0px 0.129em; vertical-align: 0px; line-height: normal; width: 3.097em; height: 0px;&quot;&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px 0px 0px -0.249em; vertical-align: 0px; line-height: normal; clip: rect(3.097em 1000.38em 4.17em -999.997em); top: -4.669em; left: 24.5156px;&quot;&gt;&lt;span class=&quot;mn&quot; id=&quot;MathJax-Span-311&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;1&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px 0px 0px -1.512em; vertical-align: 0px; line-height: normal; clip: rect(3.097em 1002.97em 4.233em -999.997em); top: -3.28em; left: 24.5156px;&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;MathJax-Span-312&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mn&quot; id=&quot;MathJax-Span-313&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-314&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.256em; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;msubsup&quot; id=&quot;MathJax-Span-315&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.256em; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span style=&quot;transition: none; display: inline-block; position: relative; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; width: 1.266em; height: 0px;&quot;&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; clip: rect(3.349em 1000.45em 4.17em -999.997em); top: -3.974em; left: 0em;&quot;&gt;&lt;span class=&quot;mi&quot; id=&quot;MathJax-Span-316&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Italic; color: rgb(0, 0, 0);&quot;&gt;e&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; top: -4.29em; left: 0.445em;&quot;&gt;&lt;span class=&quot;texatom&quot; id=&quot;MathJax-Span-317&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;MathJax-Span-318&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-319&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-size: 11.1989px; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;−&lt;/span&gt;&lt;span class=&quot;mi&quot; id=&quot;MathJax-Span-320&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-size: 11.1989px; font-family: STIXGeneral-Italic; color: rgb(0, 0, 0);&quot;&gt;z&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-321&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.256em; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;−&lt;/span&gt;&lt;span class=&quot;mfrac&quot; id=&quot;MathJax-Span-322&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.256em; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span style=&quot;transition: none; display: inline-block; position: relative; border: 0px; padding: 0px; margin: 0px 0.129em; vertical-align: 0px; line-height: normal; width: 4.17em; height: 0px;&quot;&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px 0px 0px -0.249em; vertical-align: 0px; line-height: normal; clip: rect(3.097em 1000.38em 4.17em -999.997em); top: -4.669em; left: 33.0156px;&quot;&gt;&lt;span class=&quot;mn&quot; id=&quot;MathJax-Span-323&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;1&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px 0px 0px -2.017em; vertical-align: 0px; line-height: normal; clip: rect(3.033em 1004.04em 4.359em -999.997em); top: -3.217em; left: 33.0156px;&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;MathJax-Span-324&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-325&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mn&quot; id=&quot;MathJax-Span-326&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-327&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.256em; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;msubsup&quot; id=&quot;MathJax-Span-328&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.256em; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span style=&quot;transition: none; display: inline-block; position: relative; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; width: 1.266em; height: 0px;&quot;&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; clip: rect(3.349em 1000.45em 4.17em -999.997em); top: -3.974em; left: 0em;&quot;&gt;&lt;span class=&quot;mi&quot; id=&quot;MathJax-Span-329&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Italic; color: rgb(0, 0, 0);&quot;&gt;e&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; top: -4.29em; left: 0.445em;&quot;&gt;&lt;span class=&quot;texatom&quot; id=&quot;MathJax-Span-330&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;MathJax-Span-331&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-332&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-size: 11.1989px; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;−&lt;/span&gt;&lt;span class=&quot;mi&quot; id=&quot;MathJax-Span-333&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-size: 11.1989px; font-family: STIXGeneral-Italic; color: rgb(0, 0, 0);&quot;&gt;z&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;msubsup&quot; id=&quot;MathJax-Span-334&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span style=&quot;transition: none; display: inline-block; position: relative; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; width: 0.761em; height: 0px;&quot;&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; clip: rect(3.097em 1000.32em 4.359em -999.997em); top: -3.974em; left: 0em;&quot;&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-335&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; top: -4.29em; left: 0.319em;&quot;&gt;&lt;span class=&quot;mn&quot; id=&quot;MathJax-Span-336&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-size: 11.1989px; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;2&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-337&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.319em; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;mfrac&quot; id=&quot;MathJax-Span-338&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.319em; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span style=&quot;transition: none; display: inline-block; position: relative; border: 0px; padding: 0px; margin: 0px 0.129em; vertical-align: 0px; line-height: normal; width: 3.097em; height: 0px;&quot;&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px 0px 0px -0.249em; vertical-align: 0px; line-height: normal; clip: rect(3.097em 1000.38em 4.17em -999.997em); top: -4.669em; left: 24.5156px;&quot;&gt;&lt;span class=&quot;mn&quot; id=&quot;MathJax-Span-339&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;1&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px 0px 0px -1.512em; vertical-align: 0px; line-height: normal; clip: rect(3.097em 1002.97em 4.233em -999.997em); top: -3.28em; left: 24.5156px;&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;MathJax-Span-340&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mn&quot; id=&quot;MathJax-Span-341&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-342&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.256em; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;msubsup&quot; id=&quot;MathJax-Span-343&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.256em; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span style=&quot;transition: none; display: inline-block; position: relative; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; width: 1.266em; height: 0px;&quot;&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; clip: rect(3.349em 1000.45em 4.17em -999.997em); top: -3.974em; left: 0em;&quot;&gt;&lt;span class=&quot;mi&quot; id=&quot;MathJax-Span-344&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Italic; color: rgb(0, 0, 0);&quot;&gt;e&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; top: -4.29em; left: 0.445em;&quot;&gt;&lt;span class=&quot;texatom&quot; id=&quot;MathJax-Span-345&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;MathJax-Span-346&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-347&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-size: 11.1989px; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;−&lt;/span&gt;&lt;span class=&quot;mi&quot; id=&quot;MathJax-Span-348&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-size: 11.1989px; font-family: STIXGeneral-Italic; color: rgb(0, 0, 0);&quot;&gt;z&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-349&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mn&quot; id=&quot;MathJax-Span-350&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-351&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.256em; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;−&lt;/span&gt;&lt;span class=&quot;mfrac&quot; id=&quot;MathJax-Span-352&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.256em; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span style=&quot;transition: none; display: inline-block; position: relative; border: 0px; padding: 0px; margin: 0px 0.129em; vertical-align: 0px; line-height: normal; width: 3.097em; height: 0px;&quot;&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px 0px 0px -0.249em; vertical-align: 0px; line-height: normal; clip: rect(3.097em 1000.38em 4.17em -999.997em); top: -4.669em; left: 24.5156px;&quot;&gt;&lt;span class=&quot;mn&quot; id=&quot;MathJax-Span-353&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;1&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px 0px 0px -1.512em; vertical-align: 0px; line-height: normal; clip: rect(3.097em 1002.97em 4.233em -999.997em); top: -3.28em; left: 24.5156px;&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;MathJax-Span-354&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mn&quot; id=&quot;MathJax-Span-355&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-356&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.256em; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;msubsup&quot; id=&quot;MathJax-Span-357&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.256em; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span style=&quot;transition: none; display: inline-block; position: relative; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; width: 1.266em; height: 0px;&quot;&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; clip: rect(3.349em 1000.45em 4.17em -999.997em); top: -3.974em; left: 0em;&quot;&gt;&lt;span class=&quot;mi&quot; id=&quot;MathJax-Span-358&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Italic; color: rgb(0, 0, 0);&quot;&gt;e&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; top: -4.29em; left: 0.445em;&quot;&gt;&lt;span class=&quot;texatom&quot; id=&quot;MathJax-Span-359&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;MathJax-Span-360&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-361&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-size: 11.1989px; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;−&lt;/span&gt;&lt;span class=&quot;mi&quot; id=&quot;MathJax-Span-362&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-size: 11.1989px; font-family: STIXGeneral-Italic; color: rgb(0, 0, 0);&quot;&gt;z&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-363&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;transition: none; position: absolute; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; clip: rect(3.097em 1006.76em 4.359em -999.997em); top: -1.259em; left: 0em;&quot;&gt;&lt;span class=&quot;mtd&quot; id=&quot;MathJax-Span-366&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mrow&quot; id=&quot;MathJax-Span-367&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;span class=&quot;mi&quot; id=&quot;MathJax-Span-368&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-369&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.319em; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;mi&quot; id=&quot;MathJax-Span-370&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.319em; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Italic; color: rgb(0, 0, 0);&quot;&gt;g&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-371&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot; id=&quot;MathJax-Span-372&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Italic; color: rgb(0, 0, 0);&quot;&gt;z&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-373&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-374&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mn&quot; id=&quot;MathJax-Span-375&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-376&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.256em; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;−&lt;/span&gt;&lt;span class=&quot;mi&quot; id=&quot;MathJax-Span-377&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px 0px 0px 0.256em; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Italic; color: rgb(0, 0, 0);&quot;&gt;g&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-378&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot; id=&quot;MathJax-Span-379&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Italic; color: rgb(0, 0, 0);&quot;&gt;z&lt;/span&gt;&lt;span class=&quot;mo&quot; id=&quot;MathJax-Span-380&quot; style=&quot;transition: none; display: inline; position: static; border: 0px; padding: 0px; margin: 0px; vertical-align: 0px; line-height: normal; font-family: STIXGeneral-Regular; color: rgb(0, 0, 0);&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/277CE036595E6ADA1C&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28%7B%20g%20%7D%5E%7B%20%5Cprime%20%20%7D%28x%29%3D%5Cfrac%20%7B%20%5Cpartial%20%20%7D%7B%20%5Cpartial%20x%20%7D%20%5Cfrac%20%7B%201%20%7D%7B%201+%7B%20e%20%7D%5E%7B%20-x%20%7D%20%7D%20%3D%5Cfrac%20%7B%201%20%7D%7B%20%7B%20%281+%7B%20e%20%7D%5E%7B%20-x%20%7D%29%20%7D%5E%7B%202%20%7D%20%7D%20%7B%20e%20%7D%5E%7B%20-x%20%7D%5C%5C%20%7B%20g%20%7D%5E%7B%20%5Cprime%20%20%7D%28x%29%3D%5Cfrac%20%7B%201+%7B%20e%20%7D%5E%7B%20-x%20%7D-1%20%7D%7B%20%7B%20%281+%7B%20e%20%7D%5E%7B%20-x%20%7D%29%20%7D%5E%7B%202%20%7D%20%7D%20%3D%5Cfrac%20%7B%201%20%7D%7B%201+%7B%20e%20%7D%5E%7B%20-x%20%7D%20%7D%20-%5Cfrac%20%7B%201%20%7D%7B%20%7B%20%281+%7B%20e%20%7D%5E%7B%20-x%20%7D%29%20%7D%5E%7B%202%20%7D%20%7D%20%3D%5Cfrac%20%7B%201%20%7D%7B%201+%7B%20e%20%7D%5E%7B%20-x%20%7D%20%7D%20%281-%5Cfrac%20%7B%201%20%7D%7B%201+%7B%20e%20%7D%5E%7B%20-x%20%7D%20%7D%20%29%5C%5C%20%7B%20g%20%7D%5E%7B%20%5Cprime%20%20%7D%28x%29%3Dg%28x%29%281-g%28x%29%29%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A12%2C%0A0xFFFFFF&quot; width=&quot;453&quot; height=&quot;137&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;복잡하다....&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/270F55495962749615&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28%5Cfrac%20%7B%20%5Cpartial%20%20%7D%7B%20%5Cpartial%20%7B%20%5Ctheta%20%20%7D_%7B%20j%20%7D%20%7D%20J%28%5Ctheta%20%29%5Cquad%20%3D%5Cquad%20-%5Cfrac%20%7B%201%20%7D%7B%20m%20%7D%20%5B%5Cfrac%20%7B%20%5Cpartial%20%20%7D%7B%20%5Cpartial%20%7B%20%5Ctheta%20%20%7D_%7B%20j%20%7D%20%7D%20%5Csum%20_%7B%20i%3D1%20%7D%5E%7B%20m%20%7D%7B%20%7B%20y%20%7D%5E%7B%20%28i%29%20%7Dlog%28h%7B%20%28x%20%7D%5E%7B%20%28i%29%20%7D%29+%281-%7B%20y%20%7D%5E%7B%20%28i%29%20%7D%29log%281-h%7B%20%28x%20%7D%5E%7B%20%28i%29%20%7D%29%29%5D%20%7D%20%5C%5C%20%5Cfrac%20%7B%20%5Cpartial%20%20%7D%7B%20%5Cpartial%20%7B%20%5Ctheta%20%20%7D_%7B%20j%20%7D%20%7D%20J%28%5Ctheta%20%29%5Cquad%20%3D%5Cquad%20-%5Cfrac%20%7B%201%20%7D%7B%20m%20%7D%20%5B%5Csum%20_%7B%20i%3D1%20%7D%5E%7B%20m%20%7D%7B%20%7B%20y%20%7D%5E%7B%20%28i%29%20%7D%5Cfrac%20%7B%20%7B%201%20%7D%20%7D%7B%20%7B%20h%20%7D_%7B%20%5Ctheta%20%20%7D%28%7B%20x%20%7D%5E%7B%20%28i%29%20%7D%29%20%7D%20%20%7D%20%5Cfrac%20%7B%20%5Cpartial%20%20%7D%7B%20%5Cpartial%20%7B%20%5Ctheta%20%20%7D_%7B%20j%20%7D%20%7D%20%7B%20h%20%7D_%7B%20%5Ctheta%20%20%7D%28%7B%20x%20%7D%5E%7B%20%28i%29%20%7D%29+%281-%7B%20y%20%7D%5E%7B%20%28i%29%20%7D%29%5Cfrac%20%7B%20%7B%20x%20%7D_%7B%20j%20%7D%5E%7B%20%28i%29%20%7D%20%7D%7B%201-%7B%20h%20%7D_%7B%20%5Ctheta%20%20%7D%28%7B%20x%20%7D%5E%7B%20%28i%29%20%7D%29%20%7D%20%28-%5Cfrac%20%7B%20%5Cpartial%20%20%7D%7B%20%5Cpartial%20%7B%20%5Ctheta%20%20%7D_%7B%20j%20%7D%20%7D%20%7B%20h%20%7D_%7B%20%5Ctheta%20%20%7D%28%7B%20x%20%7D%5E%7B%20%28i%29%20%7D%29%29%5D%5C%5C%20%5Cfrac%20%7B%20%5Cpartial%20%20%7D%7B%20%5Cpartial%20%7B%20%5Ctheta%20%20%7D_%7B%20j%20%7D%20%7D%20J%28%5Ctheta%20%29%5Cquad%20%3D%5Cquad%20-%5Cfrac%20%7B%201%20%7D%7B%20m%20%7D%20%5B%5Csum%20_%7B%20i%3D1%20%7D%5E%7B%20m%20%7D%7B%20%7B%20y%20%7D%5E%7B%20%28i%29%20%7D%5Cfrac%20%7B%20%7B%20%7B%20x%20%7D_%7B%20j%20%7D%5E%7B%20%28i%29%20%7D%20%7D%20%7D%7B%20%7B%20h%20%7D_%7B%20%5Ctheta%20%20%7D%28%7B%20x%20%7D%5E%7B%20%28i%29%20%7D%29%20%7D%20%20%7D%20%7B%20h%20%7D_%7B%20%5Ctheta%20%20%7D%28%7B%20x%20%7D%5E%7B%20%28i%29%20%7D%29%281-%7B%20h%20%7D_%7B%20%5Ctheta%20%20%7D%28%7B%20x%20%7D%5E%7B%20%28i%29%20%7D%29%29-%281-%7B%20y%20%7D%5E%7B%20%28i%29%20%7D%29%5Cfrac%20%7B%20%7B%20x%20%7D_%7B%20j%20%7D%5E%7B%20%28i%29%20%7D%20%7D%7B%201-%7B%20h%20%7D_%7B%20%5Ctheta%20%20%7D%28%7B%20x%20%7D%5E%7B%20%28i%29%20%7D%29%20%7D%20%7B%20h%20%7D_%7B%20%5Ctheta%20%20%7D%28%7B%20x%20%7D%5E%7B%20%28i%29%20%7D%29%281-%7B%20h%20%7D_%7B%20%5Ctheta%20%20%7D%28%7B%20x%20%7D%5E%7B%20%28i%29%20%7D%29%29%5D%5C%5C%20%5Cfrac%20%7B%20%5Cpartial%20%20%7D%7B%20%5Cpartial%20%7B%20%5Ctheta%20%20%7D_%7B%20j%20%7D%20%7D%20J%28%5Ctheta%20%29%5Cquad%20%3D%5Cquad%20-%5Cfrac%20%7B%201%20%7D%7B%20m%20%7D%20%5B%5Csum%20_%7B%20i%3D1%20%7D%5E%7B%20m%20%7D%7B%20%7B%20y%20%7D%5E%7B%20%28i%29%20%7D%7B%20%7B%20x%20%7D_%7B%20j%20%7D%5E%7B%20%28i%29%20%7D%20%7D%20%7D%20%281-%7B%20h%20%7D_%7B%20%5Ctheta%20%20%7D%28%7B%20x%20%7D%5E%7B%20%28i%29%20%7D%29%29-%281-%7B%20y%20%7D%5E%7B%20%28i%29%20%7D%29%7B%20%7B%20x%20%7D_%7B%20j%20%7D%5E%7B%20%28i%29%20%7D%20%7D%7B%20h%20%7D_%7B%20%5Ctheta%20%20%7D%28%7B%20x%20%7D%5E%7B%20%28i%29%20%7D%29%5D%5Cquad%20%5C%5C%20%5Cfrac%20%7B%20%5Cpartial%20%20%7D%7B%20%5Cpartial%20%7B%20%5Ctheta%20%20%7D_%7B%20j%20%7D%20%7D%20J%28%5Ctheta%20%29%5Cquad%20%3D%5Cquad%20-%5Cfrac%20%7B%201%20%7D%7B%20m%20%7D%20%5B%5Csum%20_%7B%20i%3D1%20%7D%5E%7B%20m%20%7D%7B%20%7B%20y%20%7D%5E%7B%20%28i%29%20%7D%7B%20%7B%20x%20%7D_%7B%20j%20%7D%5E%7B%20%28i%29%20%7D%20%7D%20%7D%20-%7B%20%7B%20x%20%7D_%7B%20j%20%7D%5E%7B%20%28i%29%20%7D%20%7D%7B%20h%20%7D_%7B%20%5Ctheta%20%20%7D%28%7B%20x%20%7D%5E%7B%20%28i%29%20%7D%29%5D%5Cquad%20%5C%5C%20%5Cfrac%20%7B%20%5Cpartial%20%20%7D%7B%20%5Cpartial%20%7B%20%5Ctheta%20%20%7D_%7B%20j%20%7D%20%7D%20J%28%5Ctheta%20%29%5Cquad%20%3D%5Cquad%20%5Cfrac%20%7B%201%20%7D%7B%20m%20%7D%20%28%5Csum%20_%7B%20i%3D1%20%7D%5E%7B%20m%20%7D%7B%20%7B%20%7B%20h%20%7D_%7B%20%5Ctheta%20%20%7D%28%7B%20x%20%7D%5E%7B%20%28i%29%20%7D%29%5Cquad%20-%5Cquad%20y%20%7D%5E%7B%20%28i%29%20%7D%20%7D%20%29%7B%20x%20%7D_%7B%20j%20%7D%5E%7B%20%28i%29%20%7D%5C%5C%20%5Cquad%20%5C%5C%20%29%3C/textformat%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22true%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28update%5Cquad%20rule%5Cquad%20%29%3C/textformat%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28%5C%5C%20%7B%20%5Ctheta%20%20%7D_%7B%20j%20%7D%5Cquad%20%3D%5Cquad%20%7B%20%5Ctheta%20%20%7D_%7B%20j%20%7D-%5Calpha%20%5Cfrac%20%7B%201%20%7D%7B%20m%20%7D%20%28%5Csum%20_%7B%20i%3D1%20%7D%5E%7B%20m%20%7D%7B%20%7B%20%7B%20h%20%7D_%7B%20%5Ctheta%20%20%7D%28%7B%20x%20%7D%5E%7B%20%28i%29%20%7D%29%5Cquad%20-%5Cquad%20y%20%7D%5E%7B%20%28i%29%20%7D%20%7D%20%29%7B%20x%20%7D_%7B%20j%20%7D%5E%7B%20%28i%29%20%7D%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A12%2C%0A0xFFFFFF&quot; width=&quot;688&quot; height=&quot;462&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Code&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;이제 위의 데이터셋을 학습해보자.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;처음에는 아무생각없이 했는데 알고보니까 label이 너무 불균형(imbalance)하다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;때문에 neg와 pos를 랜덤하게 25개씩 뽑아서 학습시켰다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;이런경우 다른 처리방법도 많은데.. 일단 빨리 끝내기위해 위와 같은 방법을 사용했다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;acc는 80~90사이&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;소스가 깔끔하지 않다는 것에 주의하자. (ㅠㅠ)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;github :&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://github.com/jihoonLee/Simple-MachineLearning&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;https://github.com/jihoonLee/Simple-MachineLearning&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;pre class=&quot;brush: python&quot;&gt;import os
import numpy as np
import math
import random

def sigmoid(x):
    return 1 / (1 + np.exp(-x))

def predict(x):
    if x &amp;gt; 0.5:
        return 1.
    else :
        return 0.

def shuffle_data(pos, neg, size):
    pos_tmp = pos[np.random.choice(pos.shape[0], size=(size,))]
    neg_tmp = neg[np.random.choice(neg.shape[0], size=(size,))]
    shuffle = np.concatenate( (pos_tmp, neg_tmp), axis=0 )
    np.random.shuffle(shuffle)
    return shuffle[:, 2:], shuffle[:, 1]

def load(path):
    train_data = []
    train_label = []

    csv = np.genfromtxt(path, delimiter=',', dtype=float, skip_header=1)
    length = csv.shape[0]
    tmp_arr = np.ones((length, 1))
    csv = np.hstack((csv, tmp_arr))
    csv[:,2] = csv[:,2]/csv[:,2].max()
    csv[:,9] = csv[:,9]/csv[:,9].max()

    pos = csv[np.where(csv[:,1]==1.)]
    neg = csv[np.where(csv[:,1]==0.)]

    for i in range(20):
        data, label = shuffle_data(pos, neg, 25)
        train_data.append(data)
        train_label.append(label)
    test_data, test_label = shuffle_data(pos, neg, 50)
    return train_data, train_label, test_data, test_label

path = os.path.dirname(os.path.abspath(__file__)) + '/KidCreative.csv'
train_data, train_label, test_data, test_label = load(path)
learning_rate = 0.00001
m, n = train_data[0].shape
weight = np.ones(n)

for i in range(100000):
    if i%1000==0 and i!=0:
        print ('iteration : %d' %(i))

    for data, label in zip(train_data, train_label):
        acc = 0.
        weight_tmp = np.zeros(n)
        for x, y in zip(data, label):
            h = sigmoid(np.dot(x, weight))
            error = (h - y)
            weight_tmp += (1./m * learning_rate * x * error)
        weight = weight - weight_tmp

acc=0.
for x, y in zip(data, label):
    h = sigmoid(np.dot(x, weight))
    error = (h - y)
    weight_tmp += (1./m * learning_rate * x * error)
    if predict(h) == y:
        acc += 1
print ('acc - %.2f' % (acc/m))&lt;/pre&gt;&lt;p style=&quot;text-align: left; clear: none; float: none;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 362px;  height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/2151F648596272A913&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F2151F648596272A913&quot; width=&quot;362&quot; height=&quot;119&quot; filename=&quot;다운로드.jpg&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>ML</category>
      <author>개발자입니다.</author>
      <guid isPermaLink="true">https://jihoonlee.tistory.com/19</guid>
      <comments>https://jihoonlee.tistory.com/19#entry19comment</comments>
      <pubDate>Mon, 10 Jul 2017 03:51:36 +0900</pubDate>
    </item>
    <item>
      <title>Decision Tree + C4.5알고리즘</title>
      <link>https://jihoonlee.tistory.com/17</link>
      <description>&lt;p&gt;&lt;span style=&quot;font-size: 18pt;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Decision Tree + C4.5알고리즘&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;&lt;b&gt;c4.5 특징&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;1. 수치형 자료를 처리한다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;2. 불완전한 데이터를 처리한다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;3; 가지치기로 과적합을 해결한다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;GainRatio&lt;/span&gt;&lt;/b&gt;&lt;/span&gt; &amp;lt; &lt;/span&gt;&lt;a href=&quot;http://www.inf.unibz.it/dis/teaching/DWDM/slides2011/lesson5-Classification-2.pdf&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;참고1&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;, &lt;/span&gt;&lt;a href=&quot;http://www.saedsayad.com/decision_tree_super.htm&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;참고2&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;Information Gain의 문제점은&amp;nbsp;많은 측정값을 가진 속성으로 편향된다는 것이다&lt;/span&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;. ID_CODE와 Outlook의 Information Gain을 구해보자.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(255, 0, 0); font-size: 11pt;&quot;&gt;Gain(Outlook) = E(Play) - E&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 0); font-size: 11pt;&quot;&gt;(Play, &lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 0); font-size: 11pt;&quot;&gt;OutLook&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 0); font-size: 11pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 0); font-size: 11pt;&quot;&gt;&amp;nbsp;= 0.94 - 0.69&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(255, 0, 0); font-size: 11pt;&quot;&gt;Gain(ID_CODE) = &lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 0); font-size: 11pt;&quot;&gt;E(Play) - E(Play,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 0); font-size: 11pt;&quot;&gt;ID_CODE)&amp;nbsp;= 0.94 - 0&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;style&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&amp;lt;!--table
	{mso-displayed-decimal-separator:&quot;\.&quot;;
	mso-displayed-thousand-separator:&quot;\,&quot;;}
@page
	{margin:.75in .7in .75in .7in;
	mso-header-margin:.3in;
	mso-footer-margin:.3in;}
td
	{padding-top:1px;
	padding-right:1px;
	padding-left:1px;
	mso-ignore:padding;
	color:black;
	font-size:12.0pt;
	font-weight:400;
	font-style:normal;
	text-decoration:none;
	font-family:Calibri, sans-serif;
	mso-font-charset:0;
	mso-number-format:General;
	text-align:general;
	vertical-align:bottom;
	border:none;
	mso-background-source:auto;
	mso-pattern:auto;
	mso-protection:locked visible;
	white-space:nowrap;
	mso-rotate:0;}
.xl64
	{font-size:10.0pt;
	font-family:NanumGothic;
	mso-generic-font-family:auto;
	mso-font-charset:129;
	text-align:center;
	border:.5pt solid windowtext;
	background:#FFF2CC;
	mso-pattern:black none;}
.xl65
	{color:black;
	font-size:10.0pt;
	font-family:NanumGothic;
	mso-generic-font-family:auto;
	mso-font-charset:129;
	text-align:center;
	border:.5pt solid windowtext;
	background:#FFF2CC;
	mso-pattern:black none;}
.xl66
	{font-size:10.0pt;
	font-family:NanumGothic;
	mso-generic-font-family:auto;
	mso-font-charset:129;
	text-align:center;
	border:.5pt solid windowtext;}
.xl67
	{color:black;
	font-size:10.0pt;
	font-family:NanumGothic;
	mso-generic-font-family:auto;
	mso-font-charset:129;
	text-align:center;
	border:.5pt solid windowtext;}
--&amp;gt;
&lt;/span&gt;&lt;/style&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;


&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;



&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
 &lt;/span&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;261&quot; style=&quot;border-collapse:
 collapse;width:195pt&quot;&gt;
&lt;!--StartFragment--&gt;
 &lt;colgroup&gt;&lt;col width=&quot;87&quot; span=&quot;3&quot; style=&quot;width:65pt&quot;&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr height=&quot;21&quot; style=&quot;height:16.0pt&quot;&gt;
  &lt;td height=&quot;21&quot; class=&quot;xl64&quot; width=&quot;87&quot; style=&quot;height: 21px; width: 65pt; border-color: rgb(0, 0, 0); border-width: 1px; border-style: solid; background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;ID_CODE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; width=&quot;87&quot; style=&quot;border-left: none; width: 65pt; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 228, 0); height: 21px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;
  &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;
  Outlook&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; width=&quot;87&quot; style=&quot;border-left: none; width: 65pt; border-bottom: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 228, 0); height: 21px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;Play?&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;21&quot; style=&quot;height:16.0pt&quot;&gt;
  &lt;td height=&quot;21&quot; class=&quot;xl66&quot; style=&quot;height: 21px; border-top: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;1&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; style=&quot;border-top: none; border-left: none; height: 21px; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;sunny&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; style=&quot;border-top: none; border-left: none; height: 21px; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;No&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;21&quot; style=&quot;height:16.0pt&quot;&gt;
  &lt;td height=&quot;21&quot; class=&quot;xl66&quot; style=&quot;height: 21px; border-top: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;2&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; style=&quot;border-top: none; border-left: none; height: 21px; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;sunny&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; style=&quot;border-top: none; border-left: none; height: 21px; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;No&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;21&quot; style=&quot;height:16.0pt&quot;&gt;
  &lt;td height=&quot;21&quot; class=&quot;xl66&quot; style=&quot;height: 21px; border-top: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;3&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); height: 21px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;overcast&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); height: 21px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;21&quot; style=&quot;height:16.0pt&quot;&gt;
  &lt;td height=&quot;21&quot; class=&quot;xl66&quot; style=&quot;height: 16pt; border-top: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;4&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;rain&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;21&quot; style=&quot;height:16.0pt&quot;&gt;
  &lt;td height=&quot;21&quot; class=&quot;xl66&quot; style=&quot;height: 16pt; border-top: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;5&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;rain&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;21&quot; style=&quot;height:16.0pt&quot;&gt;
  &lt;td height=&quot;21&quot; class=&quot;xl66&quot; style=&quot;height: 16pt; border-top: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;6&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;rain&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;No&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;21&quot; style=&quot;height:16.0pt&quot;&gt;
  &lt;td height=&quot;21&quot; class=&quot;xl66&quot; style=&quot;height: 16pt; border-top: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;7&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;overcast&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;21&quot; style=&quot;height:16.0pt&quot;&gt;
  &lt;td height=&quot;21&quot; class=&quot;xl66&quot; style=&quot;height: 16pt; border-top: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;8&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;sunny&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;No&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;21&quot; style=&quot;height:16.0pt&quot;&gt;
  &lt;td height=&quot;21&quot; class=&quot;xl66&quot; style=&quot;height: 16pt; border-top: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;9&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;sunny&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;21&quot; style=&quot;height:16.0pt&quot;&gt;
  &lt;td height=&quot;21&quot; class=&quot;xl66&quot; style=&quot;height: 16pt; border-top: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;10&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;rain&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;21&quot; style=&quot;height:16.0pt&quot;&gt;
  &lt;td height=&quot;21&quot; class=&quot;xl66&quot; style=&quot;height: 16pt; border-top: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;11&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;sunny&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;21&quot; style=&quot;height:16.0pt&quot;&gt;
  &lt;td height=&quot;21&quot; class=&quot;xl66&quot; style=&quot;height: 16pt; border-top: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;12&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;overcast&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;21&quot; style=&quot;height:16.0pt&quot;&gt;
  &lt;td height=&quot;21&quot; class=&quot;xl66&quot; style=&quot;height: 16pt; border-top: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;13&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;overcast&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;21&quot; style=&quot;height:16.0pt&quot;&gt;
  &lt;td height=&quot;21&quot; class=&quot;xl66&quot; style=&quot;height: 16pt; border-top: none; border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;14&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; style=&quot;border-top: none; border-left: none; border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;rain&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;No&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;!--EndFragment--&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;Gain Ratio는 Gain을 split info로 나누어준다. &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;수식을 보자.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/22513344595A06BA0B&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28GainRatio%28A%29%5Cquad%20%3D%5Cquad%20%5Cfrac%20%7B%20Gain%28A%29%20%7D%7B%20SplitInfo%28A%29%20%7D%20%5C%5C%20%5C%5C%20%7B%20SplitInfo%20%7D_%7B%20A%20%7DD%5Cquad%20%3D%5Cquad%20-%5Csum%20_%7B%20j%3D1%20%7D%5E%7B%20v%20%7D%7B%20p%28%5Cfrac%20%7B%20%7C%7B%20D%20%7D_%7B%20j%20%7D%7C%20%7D%7B%20D%20%7D%20%29%5Ctimes%20%5Clog%20_%7B%202%20%7D%7B%20p%28%5Cfrac%20%7B%20%7C%7B%20D%20%7D_%7B%20j%20%7D%7C%20%7D%7B%20D%20%7D%20%29%20%7D%20%20%7D%20%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A12%2C%0A0xFFFFFF&quot; width=&quot;356&quot; height=&quot;132&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;SplitInfo에 대한 설명은 번역하기 애매해서 원문 그대로 적겠다&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;&lt;b&gt;The split information value represents the potential information generated by splitting the training data set D into v partitions, corresponding to v outcomes on attribute A.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;Gain(A)는 이전 글에서 Gain을 구하는 방법과 똑같다. (예&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;&amp;nbsp;: E(Play) - (Play,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;OutLook))&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;Gain(OutLook) = 0.25&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;SplitInfo는 Sunny 항목 5개, Overcast 4개, &amp;nbsp;Rain 5개로,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/21731040595A06B004&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28%7B%20SplitInfo%20%7D_%7B%20%5Cquad%20outlook%20%7D%28D%29%5Cquad%20%3D%5Cquad%20%28-%5Cfrac%20%7B%205%20%7D%7B%2014%20%7D%20%5Clog%20_%7B%202%20%7D%7B%20%5Cfrac%20%7B%205%20%7D%7B%2014%20%7D%20%29%5Cquad%20+%5Cquad%20%20%7D%20%28-%5Cfrac%20%7B%204%20%7D%7B%2014%20%7D%20%5Clog%20_%7B%202%20%7D%7B%20%5Cfrac%20%7B%204%20%7D%7B%2014%20%7D%20%29%5Cquad%20+%5Cquad%20%20%7D%20%28-%5Cfrac%20%7B%205%20%7D%7B%2014%20%7D%20%5Clog%20_%7B%202%20%7D%7B%20%5Cfrac%20%7B%205%20%7D%7B%2014%20%7D%20%29%5Cquad%20%20%7D%20%5C%5C%20%7B%20SplitInfo%20%7D_%7B%20%5Cquad%20outlook%20%7D%28D%29%5Cquad%20%3D%5Cquad%201.577%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A12%2C%0A0xFFFFFF&quot; width=&quot;657&quot; height=&quot;77&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;GainRatio(OutLook) = 0.1585, GainRatio(ID_CODE) = 0.25이다. &amp;nbsp;Gain(Outlook) = 0.25, Gain(ID_CODE) =0.97보다 GainRatio가 더 변별력(?) 있다.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;하지만 GainRatio(ID_CODE)가 가장 높은 수치이다. 이런 경우 직접&amp;nbsp;속성을 제거해야한다...ㅠㅠ;;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;수치형 자료의 엔트로피 계산&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;style&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&amp;lt;!--table
	{mso-displayed-decimal-separator:&quot;\.&quot;;
	mso-displayed-thousand-separator:&quot;\,&quot;;}
@page
	{margin:.75in .7in .75in .7in;
	mso-header-margin:.3in;
	mso-footer-margin:.3in;}
td
	{padding-top:1px;
	padding-right:1px;
	padding-left:1px;
	mso-ignore:padding;
	color:black;
	font-size:12.0pt;
	font-weight:400;
	font-style:normal;
	text-decoration:none;
	font-family:Calibri, sans-serif;
	mso-font-charset:0;
	mso-number-format:General;
	text-align:general;
	vertical-align:bottom;
	border:none;
	mso-background-source:auto;
	mso-pattern:auto;
	mso-protection:locked visible;
	white-space:nowrap;
	mso-rotate:0;}
.xl64
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:center;
	border:.5pt solid windowtext;}
.xl65
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:center;
	border:.5pt solid windowtext;
	background:#FFF2CC;
	mso-pattern:black none;}
--&amp;gt;
&lt;/span&gt;&lt;/style&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;


&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;


&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;

&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
 &lt;/span&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;274&quot; style=&quot;border-collapse: collapse; width: 274px;&quot;&gt;
&lt;!--StartFragment--&gt;
 &lt;colgroup&gt;&lt;col width=&quot;87&quot; span=&quot;5&quot; style=&quot;width:65pt&quot;&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  
  
  &lt;td class=&quot;xl65&quot; width=&quot;87&quot; style=&quot;border-width: 1px; border-style: solid; border-color: rgb(0, 0, 0); width: 129px; background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;Humidity&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  
  &lt;td class=&quot;xl65&quot; width=&quot;87&quot; style=&quot;border-left: none; width: 143px; border-bottom: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;Play?&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  
  
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); width: 129px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;85&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); width: 143px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;No&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  
  
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); width: 129px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;90&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); width: 143px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;No&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  
  
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); width: 129px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;78&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); width: 143px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  
  
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); width: 129px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;96&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); width: 143px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  
  
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); width: 129px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;80&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); width: 143px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  
  
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); width: 129px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;70&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); width: 143px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;No&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  
  
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); width: 129px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;65&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); width: 143px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  
  
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); width: 129px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;95&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); width: 143px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;No&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  
  
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); width: 129px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;70&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); width: 143px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  
  
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); width: 129px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;80&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); width: 143px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  
  
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); height: 24px; width: 129px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;70&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); height: 24px; width: 143px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  
  
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); width: 129px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;90&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); width: 143px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  
  
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); width: 129px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;75&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); width: 143px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  
  
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0); width: 129px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;80&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); width: 143px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;No&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;!--EndFragment--&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;속성을 정렬(Sort)한다.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;Humidity = {65, 70, 75, 78, 80, 85, 90, 95}&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-left: 2em;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;각각 수치별로 Gain을 구한다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;margin-left: 2em;&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style=&quot;margin-left: 2em;&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style=&quot;margin-left: 2em;&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
 &lt;/span&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;348&quot; style=&quot;border-collapse:
 collapse;width:260pt&quot;&gt;
&lt;!--StartFragment--&gt;
 &lt;colgroup&gt;&lt;col width=&quot;87&quot; span=&quot;4&quot; style=&quot;width:65pt&quot;&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  &lt;td colspan=&quot;2&quot; rowspan=&quot;2&quot; height=&quot;48&quot; class=&quot;xl65&quot; width=&quot;174&quot; style=&quot;height: 36pt; width: 130pt; border-color: rgb(0, 0, 0); border-width: 1px; border-style: solid; background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;xl65&quot; width=&quot;174&quot; style=&quot;border-left: none; width: 130pt; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;Humidity&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  &lt;td height=&quot;24&quot; class=&quot;xl65&quot; style=&quot;height: 24px; border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;X&amp;lt;=65&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; style=&quot;border-top: none; border-left: none; height: 24px; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;X&amp;gt;65&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  &lt;td rowspan=&quot;2&quot; height=&quot;48&quot; class=&quot;xl65&quot; style=&quot;height: 36pt; border-top: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0); background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;PLAY&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;YES&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;1&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;8&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  &lt;td height=&quot;24&quot; class=&quot;xl65&quot; style=&quot;height: 18pt; border-top: none; border-left: none; border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0); background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;NO&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;0&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; color: rgb(0, 0, 0);&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;5&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/224F5849595A06A121&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28Entropy%28Play%29%3D0.94%5C%5C%20Entropy%28Play%2CHumidity%2865%29%29%5Cquad%20%3D%5Cquad%20%5Cfrac%20%7B%201%20%7D%7B%2014%20%7D%20%5Cquad%20%5Ctimes%20%5Cquad%20%28-1%5Cquad%20%5Ctimes%20%5Cquad%20%5Clog%20_%7B%202%20%7D%7B%201%29%5Cquad%20+%5Cquad%20%5Cfrac%20%7B%2013%20%7D%7B%2014%20%7D%20%20%7D%20%28%5Cquad%20-%5Cfrac%20%7B%205%20%7D%7B%208%20%7D%20%5Ctimes%20%5Clog%20_%7B%202%20%7D%7B%20%5Cfrac%20%7B%205%20%7D%7B%208%20%7D%20%5Cquad%20+%5Cquad%20.....%20%7D%20%5C%5C%20Entropy%28Play%2CHumidity%2865%29%29%5Cquad%20%3D%5Cquad%200.892%5C%5C%20Gain%28T%2C%5Cquad%20Humidity%2865%29%29%5Cquad%20%3D%5Cquad%200.047%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A12%2C%0A0xFFFFFF&quot; width=&quot;692&quot; height=&quot;124&quot;&gt;&lt;/p&gt;&lt;p style=&quot;margin-left: 2em;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;이런식으로 모두 구하면&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/22276A48595A06981B&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28%5C%5C%20Gain%28T%2C%5Cquad%20Humidity%2860%29%29%5Cquad%20%3D%5Cquad%200.047%5C%5C%20Gain%28T%2C%5Cquad%20Humidity%2870%29%29%5Cquad%20%3D%5Cquad%200.015%5C%5C%20Gain%28T%2C%5Cquad%20Humidity%2875%29%29%5Cquad%20%3D%5Cquad%200.044%5C%5C%20Gain%28T%2C%5Cquad%20Humidity%2878%29%29%5Cquad%20%3D%5Cquad%200.09%5C%5C%20Gain%28T%2C%5Cquad%20Humidity%2880%29%29%5Cquad%20%3D%5Cquad%200.102%5C%5C%20....%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A12%2C%0A0xFFFFFF&quot; width=&quot;268&quot; height=&quot;173&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;80을 기준으로 나누는게 가장 큰 Entropy를 가지므로, &amp;nbsp;Gain(T, Humidity)는 0.102가 된다.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-left: 2em;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;b&gt;불완전한 데이터 처리 &lt;/b&gt;&lt;/span&gt;&amp;lt; &lt;/span&gt;&lt;a href=&quot;http://inferate.blogspot.kr/2015/06/c45-decision-trees-with-missing-data.html&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;참고&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; &amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;style&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&amp;lt;!--table
	{mso-displayed-decimal-separator:&quot;\.&quot;;
	mso-displayed-thousand-separator:&quot;\,&quot;;}
@page
	{margin:.75in .7in .75in .7in;
	mso-header-margin:.3in;
	mso-footer-margin:.3in;}
td
	{padding-top:1px;
	padding-right:1px;
	padding-left:1px;
	mso-ignore:padding;
	color:black;
	font-size:12.0pt;
	font-weight:400;
	font-style:normal;
	text-decoration:none;
	font-family:Calibri, sans-serif;
	mso-font-charset:0;
	mso-number-format:General;
	text-align:general;
	vertical-align:bottom;
	border:none;
	mso-background-source:auto;
	mso-pattern:auto;
	mso-protection:locked visible;
	white-space:nowrap;
	mso-rotate:0;}
.xl64
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:center;
	border:.5pt solid windowtext;}
.xl65
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:center;
	border:.5pt solid windowtext;
	background:#FFF2CC;
	mso-pattern:black none;}
--&amp;gt;
&lt;/span&gt;&lt;/style&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;


&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;


&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;

&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
 &lt;/span&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;174&quot; style=&quot;border-collapse: collapse; width: 130pt;&quot;&gt;
&lt;!--StartFragment--&gt;
 &lt;colgroup&gt;&lt;col width=&quot;87&quot; span=&quot;2&quot; style=&quot;width:65pt&quot;&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  &lt;td height=&quot;24&quot; class=&quot;xl65&quot; width=&quot;87&quot; style=&quot;height: 23px; width: 65pt; border-color: rgb(0, 0, 0); border-width: 1px; border-style: solid; background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;Outlook&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; width=&quot;87&quot; style=&quot;border-left: none; width: 65pt; height: 23px; border-bottom: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;Play?&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  &lt;td height=&quot;24&quot; class=&quot;xl64&quot; style=&quot;height: 18pt; border-top: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;sunny&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;No&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  &lt;td height=&quot;24&quot; class=&quot;xl64&quot; style=&quot;height: 18pt; border-top: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;?&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;No&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  &lt;td height=&quot;24&quot; class=&quot;xl64&quot; style=&quot;height: 18pt; border-top: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;?&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  &lt;td height=&quot;24&quot; class=&quot;xl64&quot; style=&quot;height: 18pt; border-top: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;rain&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  &lt;td height=&quot;24&quot; class=&quot;xl64&quot; style=&quot;height: 18pt; border-top: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;rain&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  &lt;td height=&quot;24&quot; class=&quot;xl64&quot; style=&quot;height: 18pt; border-top: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;rain&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;No&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  &lt;td height=&quot;24&quot; class=&quot;xl64&quot; style=&quot;height: 18pt; border-top: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;overcast&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  &lt;td height=&quot;24&quot; class=&quot;xl64&quot; style=&quot;height: 18pt; border-top: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;?&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;No&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  &lt;td height=&quot;24&quot; class=&quot;xl64&quot; style=&quot;height: 25px; border-top: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;?&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); height: 25px; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  &lt;td height=&quot;24&quot; class=&quot;xl64&quot; style=&quot;height: 18pt; border-top: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;?&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  &lt;td height=&quot;24&quot; class=&quot;xl64&quot; style=&quot;height: 18pt; border-top: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;?&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  &lt;td height=&quot;24&quot; class=&quot;xl64&quot; style=&quot;height: 18pt; border-top: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;overcast&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  &lt;td height=&quot;24&quot; class=&quot;xl64&quot; style=&quot;height: 18pt; border-top: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;overcast&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;24&quot; style=&quot;height:18.0pt&quot;&gt;
  &lt;td height=&quot;24&quot; class=&quot;xl64&quot; style=&quot;height: 18pt; border-top: none; background-color: rgb(255, 255, 255); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;rain&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;N&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;o&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;!--EndFragment--&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;p style=&quot;margin-left: 2em;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;margin-left: 2em;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;엔트로피 계산은 누락값&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;을 제외하고 계산한다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/22091C4B595A066E18&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28E%28play%29%5Cquad%20%3D%5Cquad%20%28-%5Cfrac%20%7B%204%20%7D%7B%208%20%7D%20%5Ctimes%20%5Clog%20_%7B%202%20%7D%7B%20%5Cfrac%20%7B%204%20%7D%7B%208%20%7D%20%29%5Cquad%20+%20%7D%20%28-%5Cfrac%20%7B%204%20%7D%7B%208%20%7D%20%5Ctimes%20%5Clog%20_%7B%202%20%7D%7B%20%5Cfrac%20%7B%204%20%7D%7B%208%20%7D%20%29%5Cquad%20+%20%7D%20...%5C%5C%20E%28play%29%5Cquad%20%3D%5Cquad%201%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A12%2C%0A0xFFFFFF&quot; width=&quot;398&quot; height=&quot;75&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;Gain은 속성의 누락값을 제외한 비율로 가중된다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/214EAB4A595A068902&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28Gain%28Outlook%29%5Cquad%20%3D%5Cquad%20%5Cfrac%20%7B%208%20%7D%7B%2014%20%7D%20%5B1%5Cquad%20-%5Cquad%20%28%5Cfrac%20%7B%201%20%7D%7B%208%20%7D%20%5Ctimes%20%5Clog%20_%7B%202%20%7D%7B%20%5Cfrac%20%7B%201%20%7D%7B%201%20%7D%20%20%7D%20%29%5Cquad%20-%5Cquad%20%28%5Cfrac%20%7B%203%20%7D%7B%208%20%7D%20%5Ctimes%20%5Clog%20_%7B%202%20%7D%7B%20%5Cfrac%20%7B%203%20%7D%7B%203%20%7D%20%20%7D%20%29%5Cquad%20-%5Cquad%20%5B%5Cfrac%20%7B%204%20%7D%7B%208%20%7D%20%28%5Cfrac%20%7B%202%20%7D%7B%204%20%7D%20%5Ctimes%20%5Clog%20_%7B%202%20%7D%7B%20%5Cfrac%20%7B%202%20%7D%7B%204%20%7D%20%20%7D%20+%5Cfrac%20%7B%202%20%7D%7B%204%20%7D%20%5Ctimes%20%5Clog%20_%7B%202%20%7D%7B%20%5Cfrac%20%7B%202%20%7D%7B%204%20%7D%20%29%5D%20%7D%20%5D%5C%5C%20Gain%28Outlook%29%5Cquad%20%3D%5Cquad%20%5Cfrac%20%7B%208%20%7D%7B%2014%20%7D%20%281-%5Cfrac%20%7B%201%20%7D%7B%202%20%7D%20%29%5Cquad%20%3D%5Cquad%200.286%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A12%2C%0A0xFFFFFF&quot; width=&quot;802&quot; height=&quot;102&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;SplitInfo는 누락값을 하나의 항목으로 생각하고 계산하면 된다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/24580645595A08D641&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28SplitInfo%28Play%2C%5Cquad%20Outlook%29%5Cquad%20%3D%5Cquad%20-%5Cfrac%20%7B%201%20%7D%7B%2014%20%7D%20%5Ctimes%20%5Clog%20_%7B%202%20%7D%7B%20%5Cfrac%20%7B%201%20%7D%7B%2014%20%7D%20%20%7D%20-%5Cfrac%20%7B%203%20%7D%7B%2014%20%7D%20%5Ctimes%20%5Clog%20_%7B%202%20%7D%7B%20%5Cfrac%20%7B%203%20%7D%7B%2014%20%7D%20-%5Cfrac%20%7B%204%20%7D%7B%2014%20%7D%20%5Ctimes%20%29%3C/textformat%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%220%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28%5Clog%20_%7B%202%20%7D%7B%20%5Cfrac%20%7B%204%20%7D%7B%2014%20%7D%20%20%7D%20%29%3C/textformat%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28%20%7D%20%29%3C/textformat%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%2216711680%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28-%5Cfrac%20%7B%206%20%7D%7B%2014%20%7D%20%5Ctimes%20%5Clog%20_%7B%202%20%7D%7B%20%5Cfrac%20%7B%206%20%7D%7B%2014%20%7D%20%20%7D%20%29%3C/textformat%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%220%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28%3D%5Cquad%201.659%29%3C/textformat%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%2216711680%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28%5C%5C%20%5C%5C%20%29%3C/textformat%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%220%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28GainRatio%5Cquad%20%3D%5Cquad%20%5Cfrac%20%7B%200.286%20%7D%7B%201.659%20%7D%20%5Cquad%20%3D%5Cquad%200.172%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A12%2C%0A0xFFFFFF&quot; width=&quot;840&quot; height=&quot;126&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;b&gt;가지치기 ( pessimistic pruning ) &lt;/b&gt;&lt;/span&gt;&amp;lt; &lt;/span&gt;&lt;a href=&quot;http://paginas.fe.up.pt/~ec/files_1112/week_09-DTprunnig,rulesAndEvaluationJMM.pdf&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;참고&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; &amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;pessimistic pruning은 통계적 보정방법을 사용하며 에러를 측정하기&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;위해 &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;Validation set과 test set을 필요로하지 않는다.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;상위 신뢰한계를 사용하여 오류를&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;&amp;nbsp;추정한다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/212B804F595A29F525&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28e%5Cquad%20%3D%5Cquad%20%5Cfrac%20%7B%20f+%5Cfrac%20%7B%20%7B%20z%20%7D%5E%7B%202%20%7D%20%7D%7B%202N%20%7D%20+z%5Csqrt%20%7B%20%5Cfrac%20%7B%20f%20%7D%7B%20N%20%7D%20-%5Cfrac%20%7B%20%7B%20f%20%7D%5E%7B%202%20%7D%20%7D%7B%20N%20%7D%20+%5Cfrac%20%7B%20%7B%20z%20%7D%5E%7B%202%20%7D%20%7D%7B%20%7B%204N%20%7D%5E%7B%202%20%7D%20%7D%20%20%7D%20%20%7D%7B%201+%5Cfrac%20%7B%20%7B%20z%20%7D%5E%7B%202%20%7D%20%7D%7B%20N%20%7D%20%20%7D%20%5C%5C%20N%5Cquad%20%3D%5Cquad%20sample%5Cquad%20size%5C%5C%20f%5Cquad%20%3D%5Cquad%20%5Cfrac%20%7B%20E%20%7D%7B%20N%20%7D%20%5C%5C%20E%5Cquad%20%3D%5Cquad%20number%5Cquad%20of%5Cquad%20error%5C%5C%20z%5Cquad%20%3D%5Cquad%20z-score%5Cquad%20%28default%5Cquad%20z%5Cquad%20%3D%5Cquad%200.69%29%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A12%2C%0A0xFFFFFF&quot; width=&quot;301&quot; height=&quot;242&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;z-score부분은 나중에 보충해야겠다.ㅠㅠ&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;그림으로 이해하자.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center; clear: none; float: none;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 523px;  height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/2607923C595A33BE1B&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F2607923C595A33BE1B&quot; width=&quot;523&quot; height=&quot;412&quot; filename=&quot;Picture1.jpg&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center; clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;style&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&amp;lt;!--table
	{mso-displayed-decimal-separator:&quot;\.&quot;;
	mso-displayed-thousand-separator:&quot;\,&quot;;}
@page
	{margin:.75in .7in .75in .7in;
	mso-header-margin:.3in;
	mso-footer-margin:.3in;}
td
	{padding-top:1px;
	padding-right:1px;
	padding-left:1px;
	mso-ignore:padding;
	color:black;
	font-size:12.0pt;
	font-weight:400;
	font-style:normal;
	text-decoration:none;
	font-family:Calibri, sans-serif;
	mso-font-charset:0;
	mso-number-format:General;
	text-align:general;
	vertical-align:bottom;
	border:none;
	mso-background-source:auto;
	mso-pattern:auto;
	mso-protection:locked visible;
	white-space:nowrap;
	mso-rotate:0;}
.xl64
	{text-align:center;
	vertical-align:middle;
	border:.5pt solid windowtext;}
.xl65
	{text-align:center;
	vertical-align:middle;
	border:.5pt solid windowtext;
	background:#FFF2CC;
	mso-pattern:black none;}
--&amp;gt;
&lt;/span&gt;&lt;/style&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>ML</category>
      <author>개발자입니다.</author>
      <guid isPermaLink="true">https://jihoonlee.tistory.com/17</guid>
      <comments>https://jihoonlee.tistory.com/17#entry17comment</comments>
      <pubDate>Mon, 3 Jul 2017 21:27:22 +0900</pubDate>
    </item>
    <item>
      <title>Decision Tree + ID3알고리즘</title>
      <link>https://jihoonlee.tistory.com/16</link>
      <description>&lt;p style=&quot;text-align: left; clear: none; float: none;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;a href=&quot;https://ko.wikipedia.org/wiki/%EA%B2%B0%EC%A0%95_%ED%8A%B8%EB%A6%AC_%ED%95%99%EC%8A%B5%EB%B2%95#.EB.B0.A9.EB.B2.95&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot; style=&quot;font-size: 18pt; color: rgb(0, 0, 0);&quot;&gt;Decision Tree(결정트리)&amp;nbsp;&lt;/a&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;어떤 항목에 대한 관측값과 목표값을 연결시켜주는 예측 모델로써 결정 트리를 사용한다.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;b&gt;장점&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;1. 결과를 해석하고 이해하기 쉽다.간략한 설명만으로 결정 트리를 이해하는 것이 가능하다.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;2. 자료를 가공할 필요가 거의 없다.다른 기법들의 경우 자료를 정규화하거나 임의의 변수를 생성하거나 값이 없는 변수를 제거해야 하는 경우가 있다.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;3. 수치 자료와 범주 자료 모두에 적용할 수 있다.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;4. 대규모 데이터 세트도 잘 동작한다.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;한계&lt;/span&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;1. 휴리스틱 기법을 기반하기 때문에 최적 결정트리라고 보장할 수 없다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;2. 너무 복잡한 결정트리를 만들 수 있다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;3. 약간의 차이에 따라 (레코드의 개수의 약간의 차이) 트리의 모양이 많이 달라질 수 있다. 두 변수가 비슷한 수준의 정보력을 갖는다고 했을 때, 약간의 차이에 의해 다른 변수가 선택되면 이 후의 트리 구성이 크게 달라질 수 있다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;&lt;b&gt;알고리즘 : ID3, C4.5, CART 등이 있다.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;&lt;b&gt;ID3알고리즘 (범주형 자료만 분류 가능)&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;1. 루트노드 생성&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;2. 현재 트리에서 모든 단말노드에 대해서 아래를 반복한다.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-left: 2em;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;A. 해당 노드의 샘플들이 같은 클래스이면, 해당 노드는 단말노드가 되고, 해당 클래스로 레이블을 부여&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-left: 2em;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;B. 더 이상 사용할 수 있는 속성이 없으면 수행 종료&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-left: 2em;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;C. Information Gain이 높은 속성을 선택해서 노드를 분할&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;&lt;b&gt;Entropy (평균 정보량) &amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;출력값을 나타내기 위해 필요한 평균 비트 수&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;확률분포에 대한 기대값&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center; clear: none; float: none;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 820px;  height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/251CCA4A5957600612&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F251CCA4A5957600612&quot; width=&quot;820&quot; height=&quot;107&quot; filename=&quot;그림.png&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left; clear: none; float: none;&quot;&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left; clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left; clear: none; float: none;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 412px;  height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/2431FC4B5957704D25&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F2431FC4B5957704D25&quot; width=&quot;412&quot; height=&quot;51&quot; filename=&quot;Picture2.png&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;공이 8개가 있다.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;여기서 어떤 하나의&amp;nbsp;공을 뽑을&amp;nbsp;확률은 1/8이고,&amp;nbsp;&amp;nbsp;이 때 정보량은 3(bit)이다. 어떤 공인지 찾기&amp;nbsp;위해 3번의 질문이 필요하다는 의미이다.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/2246B53559576F1732&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28%5Cquad%20%5Clog%20_%7B%202%20%7D%7B%208%5Cquad%20%20%7D%20%3D%5Cquad%20%5Cquad%203%5C%5C%20%5Cquad%20%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A14%2C%0A0xFFFFFF&quot; width=&quot;139&quot; height=&quot;57&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;문제를 &amp;nbsp;바꿔서, 빨간공이 3개, &amp;nbsp;파란공이 5개 있을 경우의 엔트로피를 계산해보자.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 412px; text-align: center;; height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/2349414C59576FB217&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F2349414C59576FB217&quot; width=&quot;412&quot; height=&quot;52&quot; filename=&quot;Picture1.png&quot; filemime=&quot;image/jpeg&quot; style=&quot;text-align: center;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/26318F3F5957733D0F&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28%3D%5Cquad%20%28-%5Cfrac%20%7B%203%20%7D%7B%208%20%7D%20%5Clog%20_%7B%202%20%7D%7B%20%5Cfrac%20%7B%203%20%7D%7B%208%20%7D%20%20%7D%20%29%5Cquad%20+%5Cquad%20%28-%5Cfrac%20%7B%205%20%7D%7B%208%20%7D%20%5Clog%20_%7B%202%20%7D%7B%20%5Cfrac%20%7B%205%20%7D%7B%208%20%7D%20%20%7D%20%29%5C%5C%20%3D%5Cquad%200.53063%5Cquad%20+%5Cquad%200.4237%5C%5C%20%3D%5Cquad%200.953%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A14%2C%0A0xFFFFFF&quot; width=&quot;334&quot; height=&quot;118&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;이 때의 엔트로피는 약 0.953이다. 정보량에 해당 공을 뽑을 확률을 한 번 더 곱해줘야 한다.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;즉 가중평균으로 엔트로피를 구한다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;엔트로피 참고자료 :&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://www.aistudy.com/control/information_theory.htm&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;http://www.aistudy.com/control/information_theory.htm&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;&lt;b&gt;Information Gain&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;원래의 엔트로피와 세부 클래스로 분할된 후의 엔트로피의 차이이다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;information Gain이 클수록 분류하기 좋다는 것을 의미&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;ID3알고리즘은 Information Gain를 사용하여 노드를 결정한다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/22213433595790AB35&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28Gain%28T%2C%5Cquad%20X%29%5Cquad%20%3D%5Cquad%20Entropy%28T%29%5Cquad%20-%5Cquad%20Entropy%28T%2C%5Cquad%20X%29%5C%5C%20Entropy%28T%2C%5Cquad%20X%29%5Cquad%20%3D%5Cquad%20%5Csum%20%7B%20P%28i%29E%28i%29%20%7D%20%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A14%2C%0A0xFFFFFF&quot; width=&quot;413&quot; height=&quot;66&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;직접 Information Gain을 계산해보자. Outlook, Temp, Humidity, Windy 등을 보고 언제 테니스를 치는지에 대해 분류하는 예제이다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;style&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&amp;lt;!--table
	{mso-displayed-decimal-separator:&quot;\.&quot;;
	mso-displayed-thousand-separator:&quot;\,&quot;;}
@page
	{margin:.75in .7in .75in .7in;
	mso-header-margin:.3in;
	mso-footer-margin:.3in;}
td
	{padding-top:1px;
	padding-right:1px;
	padding-left:1px;
	mso-ignore:padding;
	color:black;
	font-size:12.0pt;
	font-weight:400;
	font-style:normal;
	text-decoration:none;
	font-family:Calibri, sans-serif;
	mso-font-charset:0;
	mso-number-format:General;
	text-align:general;
	vertical-align:bottom;
	border:none;
	mso-background-source:auto;
	mso-pattern:auto;
	mso-protection:locked visible;
	white-space:nowrap;
	mso-rotate:0;}
.xl63
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:left;
	vertical-align:middle;
	border-top:1.0pt solid black;
	border-right:1.0pt solid black;
	border-bottom:1.0pt solid black;
	border-left:none;
	background:yellow;
	mso-pattern:black none;
	white-space:normal;}
.xl64
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:left;
	vertical-align:middle;
	border-top:1.0pt solid black;
	border-right:none;
	border-bottom:1.0pt solid black;
	border-left:1.0pt solid black;
	background:yellow;
	mso-pattern:black none;
	white-space:normal;}
.xl65
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:left;
	vertical-align:middle;
	border-top:1.0pt solid black;
	border-right:none;
	border-bottom:none;
	border-left:none;
	white-space:normal;}
.xl66
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:left;
	vertical-align:middle;
	white-space:normal;}
.xl67
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:left;
	vertical-align:middle;
	border-top:none;
	border-right:none;
	border-bottom:1.0pt solid black;
	border-left:none;
	white-space:normal;}
.xl68
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:left;
	vertical-align:middle;
	border:1.0pt solid black;
	background:yellow;
	mso-pattern:black none;
	white-space:normal;}
--&amp;gt;
&lt;/span&gt;&lt;/style&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;




&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
 &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
 &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
 &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
 &lt;/span&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;371&quot; style=&quot;border-collapse:
 collapse;width:371pt;mso-yfti-tbllook:1536&quot;&gt;
&lt;!--StartFragment--&gt;
 &lt;colgroup&gt;&lt;col width=&quot;65&quot; style=&quot;width:65pt&quot;&gt;&lt;/colgroup&gt;&lt;colgroup&gt;&lt;col width=&quot;83&quot; style=&quot;mso-width-source:userset;mso-width-alt:3541;width:83pt&quot;&gt;&lt;/colgroup&gt;&lt;colgroup&gt;&lt;col width=&quot;65&quot; span=&quot;2&quot; style=&quot;width:65pt&quot;&gt;&lt;/colgroup&gt;&lt;colgroup&gt;&lt;col width=&quot;93&quot; style=&quot;mso-width-source:userset;mso-width-alt:3968;width:93pt&quot;&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr height=&quot;37&quot; style=&quot;height:37.0pt&quot;&gt;
  &lt;td height=&quot;37&quot; class=&quot;xl63&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 37pt; width: 65pt; background-color: rgb(255, 228, 0); border-color: rgb(0, 0, 0); border-width: 1px; border-style: solid;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Outlook&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl68&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;border-left: none; width: 83pt; background-color: rgb(255, 228, 0); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Temperature&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl68&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;border-left: none; width: 65pt; background-color: rgb(255, 228, 0); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Humidity&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl68&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;border-left: none; width: 65pt; background-color: rgb(255, 228, 0); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Windy&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;border-left: none; width: 93pt; background-color: rgb(255, 228, 0); border-bottom: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Play?&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;18&quot; style=&quot;height:18.0pt&quot;&gt;
  &lt;td height=&quot;18&quot; class=&quot;xl65&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 18pt; border-top: none; width: 65pt; background-color: rgb(255, 255, 255); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;sunny&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;border-top: none; width: 83pt; background-color: rgb(255, 255, 255); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;hot&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;border-top: none; width: 65pt; background-color: rgb(255, 255, 255); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;high&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;border-top: none; width: 65pt; background-color: rgb(255, 255, 255); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;FALSE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;border-top: none; width: 93pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;No&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;18&quot; style=&quot;height:18.0pt&quot;&gt;
  &lt;td height=&quot;18&quot; class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 18pt; width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;sunny&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;width: 83pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;hot&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;high&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;TRUE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;width: 93pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;No&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;19&quot; style=&quot;height:19.0pt&quot;&gt;
  &lt;td height=&quot;19&quot; class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 19pt; width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;overcast&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;width: 83pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;hot&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;high&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;FALSE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;width: 93pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td height=&quot;20&quot; class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 20pt; width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;rain&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;width: 83pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;mild&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;high&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;FALSE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;width: 93pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td height=&quot;20&quot; class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 20pt; width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;rain&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;width: 83pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;cool&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;normal&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;FALSE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;width: 93pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td height=&quot;20&quot; class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 27px; width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;rain&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;width: 83pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); height: 27px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;cool&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); height: 27px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;normal&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); height: 27px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;TRUE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;width: 93pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); height: 27px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;No&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td height=&quot;20&quot; class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 20pt; width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;overcast&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;width: 83pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;cool&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;normal&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;TRUE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;width: 93pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td height=&quot;20&quot; class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 27px; width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;sunny&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;width: 83pt; background-color: rgb(255, 255, 255); height: 27px; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;mild&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); height: 27px; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;high&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); height: 27px; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;FALSE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;width: 93pt; background-color: rgb(255, 255, 255); height: 27px; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;No&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;19&quot; style=&quot;height:19.0pt&quot;&gt;
  &lt;td height=&quot;19&quot; class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 19pt; width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;sunny&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;width: 83pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;cool&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;normal&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;FALSE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;width: 93pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;18&quot; style=&quot;height:18.0pt&quot;&gt;
  &lt;td height=&quot;18&quot; class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 18pt; width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;rain&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;width: 83pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;mild&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;normal&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;FALSE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;width: 93pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;18&quot; style=&quot;height:18.0pt&quot;&gt;
  &lt;td height=&quot;18&quot; class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 18pt; width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;sunny&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;width: 83pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;mild&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;normal&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;TRUE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;width: 93pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;18&quot; style=&quot;height:18.0pt&quot;&gt;
  &lt;td height=&quot;18&quot; class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 18pt; width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;overcast&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;width: 83pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;mild&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;high&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;TRUE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;width: 93pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;18&quot; style=&quot;height:18.0pt&quot;&gt;
  &lt;td height=&quot;18&quot; class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 18pt; width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;overcast&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;width: 83pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;hot&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;normal&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;FALSE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;width: 93pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;19&quot; style=&quot;height:19.0pt&quot;&gt;
  &lt;td height=&quot;19&quot; class=&quot;xl67&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 19pt; width: 65pt; background-color: rgb(255, 255, 255); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;rain&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;width: 83pt; background-color: rgb(255, 255, 255); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;mild&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;high&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;TRUE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;width: 93pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;No&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;!--EndFragment--&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;&lt;b&gt;Play의 엔트로피 계산&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/22740B405957896C0E&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28E%28Play%29%5Cquad%20%3D%5Cquad%20%28-%5Cfrac%20%7B%205%20%7D%7B%2014%20%7D%20%5Clog%20_%7B%202%20%7D%7B%20%5Cfrac%20%7B%205%20%7D%7B%2014%20%7D%20%29%20%7D%20+%28-%5Cfrac%20%7B%209%20%7D%7B%2014%20%7D%20%5Clog%20_%7B%202%20%7D%7B%20%5Cfrac%20%7B%209%20%7D%7B%2014%20%7D%20%20%7D%20%29%5C%5C%20E%28Play%29%5Cquad%20%3D%5Cquad%200.94%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A14%2C%0A0xFFFFFF&quot; width=&quot;439&quot; height=&quot;87&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;&lt;b&gt;E(Play, Outlook)&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;style&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&amp;lt;!--table
	{mso-displayed-decimal-separator:&quot;\.&quot;;
	mso-displayed-thousand-separator:&quot;\,&quot;;}
@page
	{margin:.75in .7in .75in .7in;
	mso-header-margin:.3in;
	mso-footer-margin:.3in;}
td
	{padding-top:1px;
	padding-right:1px;
	padding-left:1px;
	mso-ignore:padding;
	color:black;
	font-size:12.0pt;
	font-weight:400;
	font-style:normal;
	text-decoration:none;
	font-family:Calibri, sans-serif;
	mso-font-charset:0;
	mso-number-format:General;
	text-align:general;
	vertical-align:bottom;
	border:none;
	mso-background-source:auto;
	mso-pattern:auto;
	mso-protection:locked visible;
	white-space:nowrap;
	mso-rotate:0;}
.xl63
	{font-size:14.0pt;
	text-align:center;
	border:1.0pt solid windowtext;}
.xl64
	{text-align:center;
	border:1.0pt solid windowtext;
	background:#E2EFDA;
	mso-pattern:black none;}
.xl65
	{font-size:14.0pt;
	text-align:center;
	border:1.0pt solid windowtext;
	background:#E2EFDA;
	mso-pattern:black none;}
.xl66
	{font-size:14.0pt;
	text-align:center;
	vertical-align:middle;
	border:1.0pt solid windowtext;
	background:#E2EFDA;
	mso-pattern:black none;}
.xl67
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:center;
	vertical-align:middle;
	border:1.0pt solid windowtext;
	background:#E2EFDA;
	mso-pattern:black none;
	white-space:normal;}
--&amp;gt;
&lt;/span&gt;&lt;/style&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;




&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
 &lt;/span&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;325&quot; style=&quot;border-collapse:
 collapse;width:325pt;mso-yfti-tbllook:1536&quot;&gt;
&lt;!--StartFragment--&gt;
 &lt;colgroup&gt;&lt;col width=&quot;65&quot; span=&quot;5&quot; style=&quot;width:65pt&quot;&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td colspan=&quot;2&quot; rowspan=&quot;2&quot; height=&quot;40&quot; class=&quot;xl64&quot; width=&quot;130&quot; style=&quot;height: 40pt; width: 130pt; background-color: rgb(255, 228, 0); border-color: rgb(0, 0, 0); border-width: 1px; border-style: solid;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;xl65&quot; width=&quot;130&quot; style=&quot;border-left: none; width: 130pt; background-color: rgb(255, 228, 0); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Play&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; width=&quot;65&quot; style=&quot;border-left: none; width: 65pt; background-color: rgb(255, 228, 0); border-bottom: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td height=&quot;20&quot; class=&quot;xl65&quot; style=&quot;height: 20pt; border-top: none; border-left: none; background-color: rgb(255, 228, 0); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 228, 0); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;No&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 228, 0); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Total&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td rowspan=&quot;3&quot; height=&quot;60&quot; class=&quot;xl66&quot; style=&quot;height: 81px; border-top: none; background-color: rgb(255, 228, 0); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Outlook&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;border-top: none; border-left: none; width: 65pt; background-color: rgb(255, 228, 0); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); height: 27px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;sunny&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl63&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); height: 27px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;3&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl63&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); height: 27px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;2&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl63&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); height: 27px;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;5&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td height=&quot;20&quot; class=&quot;xl67&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 20pt; border-top: none; border-left: none; width: 65pt; background-color: rgb(255, 228, 0); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;overcast&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl63&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;4&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl63&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;0&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl63&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;4&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td height=&quot;20&quot; class=&quot;xl67&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 20pt; border-top: none; border-left: none; width: 65pt; background-color: rgb(255, 228, 0); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;rain&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl63&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;3&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl63&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;2&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl63&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;5&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;!--EndFragment--&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/2173513B5957986527&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28E%28Play%2C%5Cquad%20Outlook%29%5Cquad%20%3D%5Cquad%20p%28sunny%29%5Cquad%20%5Ctimes%20%5Cquad%20E%283%2C2%29%5Cquad%20+%5Cquad%20p%28rainy%29%5Cquad%20%5Ctimes%20%5Cquad%20E%283%2C2%29%5Cquad%20+%5Cquad%20p%28overcast%29%5Cquad%20%5Ctimes%20%5Cquad%20E%284%2C0%29%5C%5C%20E%28Play%2C%5Cquad%20Outlook%29%5Cquad%20%3D%5Cquad%20%5Cfrac%20%7B%205%20%7D%7B%2014%20%7D%20%5Ctimes%20%5Cquad%20%5Cleft%5Clfloor%20%28-%5Cfrac%20%7B%203%20%7D%7B%205%20%7D%20%5Ctimes%20%5Cquad%20%5Clog%20_%7B%202%20%7D%7B%20%5Cfrac%20%7B%203%20%7D%7B%205%20%7D%20%20%7D%20%29%5Cquad%20+%5Cquad%20%28-%5Cfrac%20%7B%202%20%7D%7B%205%20%7D%20%5Ctimes%20%5Cquad%20%5Clog%20_%7B%202%20%7D%7B%20%5Cfrac%20%7B%202%20%7D%7B%205%20%7D%20%20%7D%20%29%20%5Cright%5Crfloor%20%5Cquad%20+......%5C%5C%20E%28Play%2C%5Cquad%20Outlook%29%5Cquad%20%3D%5Cquad%200.36%5Cquad%20%5Ctimes%20%5Cquad%200.971%5Cquad%20+%5Cquad%200.36%5Cquad%20%5Ctimes%20%5Cquad%200.971%5Cquad%20+%5Cquad%200%5C%5C%20E%28Play%2C%5Cquad%20Outlook%29%5Cquad%20%3D%5Cquad%200.6935%5C%5C%20%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A14%2C%0A0xFFFFFF&quot; width=&quot;815&quot; height=&quot;174&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;E(Play,Temperature )&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;style&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&amp;lt;!--table
	{mso-displayed-decimal-separator:&quot;\.&quot;;
	mso-displayed-thousand-separator:&quot;\,&quot;;}
@page
	{margin:.75in .7in .75in .7in;
	mso-header-margin:.3in;
	mso-footer-margin:.3in;}
td
	{padding-top:1px;
	padding-right:1px;
	padding-left:1px;
	mso-ignore:padding;
	color:black;
	font-size:12.0pt;
	font-weight:400;
	font-style:normal;
	text-decoration:none;
	font-family:Calibri, sans-serif;
	mso-font-charset:0;
	mso-number-format:General;
	text-align:general;
	vertical-align:bottom;
	border:none;
	mso-background-source:auto;
	mso-pattern:auto;
	mso-protection:locked visible;
	white-space:nowrap;
	mso-rotate:0;}
.xl63
	{text-align:center;
	border:1.0pt solid windowtext;
	background:#E2EFDA;
	mso-pattern:black none;}
.xl64
	{font-size:14.0pt;
	text-align:center;
	border:1.0pt solid windowtext;
	background:#E2EFDA;
	mso-pattern:black none;}
.xl65
	{border:1.0pt solid windowtext;
	background:#E2EFDA;
	mso-pattern:black none;}
.xl66
	{font-size:14.0pt;
	border:1.0pt solid windowtext;
	background:#E2EFDA;
	mso-pattern:black none;}
.xl67
	{font-size:14.0pt;
	text-align:center;
	vertical-align:middle;
	border:1.0pt solid windowtext;
	background:#E2EFDA;
	mso-pattern:black none;}
.xl68
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:center;
	vertical-align:middle;
	border:1.0pt solid windowtext;
	background:#E2EFDA;
	mso-pattern:black none;
	white-space:normal;}
.xl69
	{font-size:14.0pt;
	text-align:center;
	border:1.0pt solid windowtext;
	background:white;
	mso-pattern:black none;}
--&amp;gt;
&lt;/span&gt;&lt;/style&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;




&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
 &lt;/span&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;325&quot; style=&quot;border-collapse:
 collapse;width:325pt;mso-yfti-tbllook:1536&quot;&gt;
&lt;!--StartFragment--&gt;
 &lt;colgroup&gt;&lt;col width=&quot;65&quot; span=&quot;5&quot; style=&quot;width:65pt&quot;&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td colspan=&quot;2&quot; rowspan=&quot;2&quot; height=&quot;40&quot; class=&quot;xl63&quot; width=&quot;130&quot; style=&quot;height: 40pt; width: 130pt; background-color: rgb(255, 228, 0); border-color: rgb(0, 0, 0); border-width: 1px; border-style: solid;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;xl64&quot; width=&quot;130&quot; style=&quot;border-left: none; width: 130pt; background-color: rgb(255, 228, 0); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Play&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; width=&quot;65&quot; style=&quot;border-left: none; width: 65pt; background-color: rgb(255, 228, 0); border-bottom: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td height=&quot;20&quot; class=&quot;xl64&quot; style=&quot;height: 20pt; border-top: none; border-left: none; background-color: rgb(255, 228, 0); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 228, 0); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;No&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 228, 0); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Total&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td rowspan=&quot;3&quot; height=&quot;60&quot; class=&quot;xl67&quot; style=&quot;height: 60pt; border-top: none; background-color: rgb(255, 228, 0); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Temp..&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl68&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;border-top: none; border-left: none; width: 65pt; background-color: rgb(255, 228, 0); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;hot&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl69&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;2&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl69&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;2&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl69&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;4&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td height=&quot;20&quot; class=&quot;xl68&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 20pt; border-top: none; border-left: none; width: 65pt; background-color: rgb(255, 228, 0); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;mild&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl69&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;4&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl69&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;2&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl69&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;6&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td height=&quot;20&quot; class=&quot;xl68&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 20pt; border-top: none; border-left: none; width: 65pt; background-color: rgb(255, 228, 0); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;cool&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl69&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;3&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl69&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;1&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl69&quot; style=&quot;border-top: none; border-left: none; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;4&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;!--EndFragment--&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;style&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&amp;lt;!--table
	{mso-displayed-decimal-separator:&quot;\.&quot;;
	mso-displayed-thousand-separator:&quot;\,&quot;;}
@page
	{margin:.75in .7in .75in .7in;
	mso-header-margin:.3in;
	mso-footer-margin:.3in;}
td
	{padding-top:1px;
	padding-right:1px;
	padding-left:1px;
	mso-ignore:padding;
	color:black;
	font-size:12.0pt;
	font-weight:400;
	font-style:normal;
	text-decoration:none;
	font-family:Calibri, sans-serif;
	mso-font-charset:0;
	mso-number-format:General;
	text-align:general;
	vertical-align:bottom;
	border:none;
	mso-background-source:auto;
	mso-pattern:auto;
	mso-protection:locked visible;
	white-space:nowrap;
	mso-rotate:0;}
.xl63
	{font-size:14.0pt;
	border:1.0pt solid windowtext;}
.xl64
	{font-size:14.0pt;
	text-align:center;
	border:1.0pt solid windowtext;}
.xl65
	{text-align:center;
	border:1.0pt solid windowtext;
	background:#E2EFDA;
	mso-pattern:black none;}
.xl66
	{font-size:14.0pt;
	text-align:center;
	border:1.0pt solid windowtext;
	background:#E2EFDA;
	mso-pattern:black none;}
.xl67
	{border:1.0pt solid windowtext;
	background:#E2EFDA;
	mso-pattern:black none;}
.xl68
	{font-size:14.0pt;
	border:1.0pt solid windowtext;
	background:#E2EFDA;
	mso-pattern:black none;}
.xl69
	{font-size:14.0pt;
	text-align:center;
	vertical-align:middle;
	border:1.0pt solid windowtext;
	background:#E2EFDA;
	mso-pattern:black none;}
.xl70
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:center;
	vertical-align:middle;
	border:1.0pt solid windowtext;
	background:#E2EFDA;
	mso-pattern:black none;
	white-space:normal;}
--&amp;gt;
&lt;/span&gt;&lt;/style&gt;&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/2757A83B5957940324&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28E%28Play%2C%5Cquad%20Temp%29%5Cquad%20%3D%5Cquad%20p%28hot%29%5Cquad%20%5Ctimes%20%5Cquad%20E%282%2C2%29%5Cquad%20+%5Cquad%20p%28mild%29%5Cquad%20%5Ctimes%20%5Cquad%20E%284%2C2%29%5Cquad%20+%5Cquad%20p%28cool%29%5Cquad%20%5Ctimes%20%5Cquad%20E%283%2C1%29%5C%5C%20E%28Play%2C%5Cquad%20Temp%29%5Cquad%20%3D%5Cquad%20%5Cfrac%20%7B%204%20%7D%7B%2014%20%7D%20%5Ctimes%20%5Cquad%20%5Cleft%5Clfloor%20%28-%5Cfrac%20%7B%201%20%7D%7B%202%20%7D%20%5Ctimes%20%5Cquad%20%5Clog%20_%7B%202%20%7D%7B%20%5Cfrac%20%7B%201%20%7D%7B%202%20%7D%20%20%7D%20%29%5Cquad%20+%5Cquad%20%28-%5Cfrac%20%7B%201%20%7D%7B%202%20%7D%20%5Ctimes%20%5Cquad%20%5Clog%20_%7B%202%20%7D%7B%20%5Cfrac%20%7B%201%20%7D%7B%202%20%7D%20%20%7D%20%29%20%5Cright%5Crfloor%20%5Cquad%20+......%5C%5C%20E%28Play%2C%5Cquad%20Temp%29%5Cquad%20%3D%5Cquad%200.2857%5Cquad%20+%5Cquad%200.3935%5Cquad%20+%5Cquad%200.2317%5C%5C%20E%28Play%2C%5Cquad%20Temp%29%5Cquad%20%3D%5Cquad%200.911%5C%5C%20%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A14%2C%0A0xFFFFFF&quot; width=&quot;722&quot; height=&quot;174&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;&lt;b&gt;E(Play, Humidity)&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;
&lt;/span&gt;&lt;style&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;
&amp;lt;!--table
	{mso-displayed-decimal-separator:&quot;\.&quot;;
	mso-displayed-thousand-separator:&quot;\,&quot;;}
@page
	{margin:.75in .7in .75in .7in;
	mso-header-margin:.3in;
	mso-footer-margin:.3in;}
td
	{padding-top:1px;
	padding-right:1px;
	padding-left:1px;
	mso-ignore:padding;
	color:black;
	font-size:12.0pt;
	font-weight:400;
	font-style:normal;
	text-decoration:none;
	font-family:Calibri, sans-serif;
	mso-font-charset:0;
	mso-number-format:General;
	text-align:general;
	vertical-align:bottom;
	border:none;
	mso-background-source:auto;
	mso-pattern:auto;
	mso-protection:locked visible;
	white-space:nowrap;
	mso-rotate:0;}
.xl63
	{text-align:center;
	border:1.0pt solid windowtext;
	background:#E2EFDA;
	mso-pattern:black none;}
.xl64
	{font-size:14.0pt;
	text-align:center;
	border:1.0pt solid windowtext;
	background:#E2EFDA;
	mso-pattern:black none;}
.xl65
	{border:1.0pt solid windowtext;
	background:#E2EFDA;
	mso-pattern:black none;}
.xl66
	{font-size:14.0pt;
	border:1.0pt solid windowtext;
	background:#E2EFDA;
	mso-pattern:black none;}
.xl67
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:center;
	vertical-align:middle;
	border:1.0pt solid windowtext;
	background:#E2EFDA;
	mso-pattern:black none;
	white-space:normal;}
.xl68
	{font-size:14.0pt;
	text-align:center;
	border:1.0pt solid windowtext;
	background:white;
	mso-pattern:black none;}
.xl69
	{font-size:14.0pt;
	text-align:center;
	vertical-align:middle;
	border-top:1.0pt solid windowtext;
	border-right:1.0pt solid windowtext;
	border-bottom:none;
	border-left:1.0pt solid windowtext;
	background:#E2EFDA;
	mso-pattern:black none;}
.xl70
	{font-size:14.0pt;
	text-align:center;
	vertical-align:middle;
	border-top:none;
	border-right:1.0pt solid windowtext;
	border-bottom:1.0pt solid windowtext;
	border-left:1.0pt solid windowtext;
	background:#E2EFDA;
	mso-pattern:black none;}
--&amp;gt;
&lt;/span&gt;&lt;/style&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;




&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
 &lt;/span&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;325&quot; style=&quot;border-collapse:
 collapse;width:325pt;mso-yfti-tbllook:1536&quot;&gt;
&lt;!--StartFragment--&gt;
 &lt;colgroup&gt;&lt;col width=&quot;65&quot; span=&quot;5&quot; style=&quot;width:65pt&quot;&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td colspan=&quot;2&quot; rowspan=&quot;2&quot; height=&quot;40&quot; class=&quot;xl63&quot; width=&quot;130&quot; style=&quot;height: 54px; width: 130pt; border-color: rgb(0, 0, 0); border-width: 1px; border-style: solid; background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;xl64&quot; width=&quot;130&quot; style=&quot;border-left: none; width: 130pt; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0); height: 27px; background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Play&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; width=&quot;65&quot; style=&quot;border-left: none; width: 65pt; border-bottom: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); height: 27px; background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td height=&quot;20&quot; class=&quot;xl64&quot; style=&quot;height: 20pt; border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;No&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Total&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td rowspan=&quot;2&quot; height=&quot;40&quot; class=&quot;xl69&quot; style=&quot;border-bottom: 1px solid rgb(0, 0, 0); height: 40pt; border-top: none; border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0); background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Humidity&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;border-top: none; border-left: none; width: 65pt; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;high&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl68&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;3&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl68&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;4&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl68&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;7&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td height=&quot;20&quot; class=&quot;xl67&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 20pt; border-top: none; border-left: none; width: 65pt; border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0); background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;normal&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl68&quot; style=&quot;border-top: none; border-left: none; border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;6&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl68&quot; style=&quot;border-top: none; border-left: none; border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;1&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl68&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;7&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;!--EndFragment--&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/2270823A595799970B&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28E%28Play%2C%5Cquad%20Humidity%29%5Cquad%20%3D%5Cquad%20p%28high%29%5Cquad%20%5Ctimes%20%5Cquad%20E%283%2C4%29%5Cquad%20+%5Cquad%20p%28normal%29%5Cquad%20%5Ctimes%20%5Cquad%20E%286%2C1%29%5C%5C%20E%28Play%2C%5Cquad%20Humidity%29%5Cquad%20%3D%5Cquad%200.7884%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A14%2C%0A0xFFFFFF&quot; width=&quot;600&quot; height=&quot;56&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;&lt;b&gt;E(Play, Windy)&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;
&lt;/span&gt;&lt;style&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;
&amp;lt;!--table
	{mso-displayed-decimal-separator:&quot;\.&quot;;
	mso-displayed-thousand-separator:&quot;\,&quot;;}
@page
	{margin:.75in .7in .75in .7in;
	mso-header-margin:.3in;
	mso-footer-margin:.3in;}
td
	{padding-top:1px;
	padding-right:1px;
	padding-left:1px;
	mso-ignore:padding;
	color:black;
	font-size:12.0pt;
	font-weight:400;
	font-style:normal;
	text-decoration:none;
	font-family:Calibri, sans-serif;
	mso-font-charset:0;
	mso-number-format:General;
	text-align:general;
	vertical-align:bottom;
	border:none;
	mso-background-source:auto;
	mso-pattern:auto;
	mso-protection:locked visible;
	white-space:nowrap;
	mso-rotate:0;}
.xl63
	{text-align:center;
	border:1.0pt solid windowtext;
	background:#E2EFDA;
	mso-pattern:black none;}
.xl64
	{font-size:14.0pt;
	text-align:center;
	border:1.0pt solid windowtext;
	background:#E2EFDA;
	mso-pattern:black none;}
.xl65
	{border:1.0pt solid windowtext;
	background:#E2EFDA;
	mso-pattern:black none;}
.xl66
	{font-size:14.0pt;
	border:1.0pt solid windowtext;
	background:#E2EFDA;
	mso-pattern:black none;}
.xl67
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:center;
	vertical-align:middle;
	border:1.0pt solid windowtext;
	background:#E2EFDA;
	mso-pattern:black none;
	white-space:normal;}
.xl68
	{font-size:14.0pt;
	text-align:center;
	border:1.0pt solid windowtext;
	background:white;
	mso-pattern:black none;}
.xl69
	{font-size:14.0pt;
	text-align:center;
	vertical-align:middle;
	border-top:1.0pt solid windowtext;
	border-right:1.0pt solid windowtext;
	border-bottom:none;
	border-left:1.0pt solid windowtext;
	background:#E2EFDA;
	mso-pattern:black none;}
.xl70
	{font-size:14.0pt;
	text-align:center;
	vertical-align:middle;
	border-top:none;
	border-right:1.0pt solid windowtext;
	border-bottom:1.0pt solid windowtext;
	border-left:1.0pt solid windowtext;
	background:#E2EFDA;
	mso-pattern:black none;}
--&amp;gt;
&lt;/span&gt;&lt;/style&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;




&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
 &lt;/span&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;325&quot; style=&quot;border-collapse:
 collapse;width:325pt;mso-yfti-tbllook:1536&quot;&gt;
&lt;!--StartFragment--&gt;
 &lt;colgroup&gt;&lt;col width=&quot;65&quot; span=&quot;5&quot; style=&quot;width:65pt&quot;&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td colspan=&quot;2&quot; rowspan=&quot;2&quot; height=&quot;40&quot; class=&quot;xl63&quot; width=&quot;130&quot; style=&quot;height: 40pt; width: 130pt; border-color: rgb(0, 0, 0); border-width: 1px; border-style: solid; background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;xl64&quot; width=&quot;130&quot; style=&quot;border-left: none; width: 130pt; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Play&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; width=&quot;65&quot; style=&quot;border-left: none; width: 65pt; border-bottom: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td height=&quot;20&quot; class=&quot;xl64&quot; style=&quot;height: 20pt; border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;No&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Total&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td rowspan=&quot;2&quot; height=&quot;40&quot; class=&quot;xl69&quot; style=&quot;border-bottom: 1px solid rgb(0, 0, 0); height: 40pt; border-top: none; border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0); background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Windy&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;border-top: none; border-left: none; width: 65pt; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;TRUE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl68&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;3&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl68&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;3&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl68&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;6&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td height=&quot;20&quot; class=&quot;xl67&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 20pt; border-top: none; border-left: none; width: 65pt; border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0); background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;FALSE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl68&quot; style=&quot;border-top: none; border-left: none; border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;6&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl68&quot; style=&quot;border-top: none; border-left: none; border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;2&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl68&quot; style=&quot;border-top: none; border-left: none; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;8&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;!--EndFragment--&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/217F613B5957992821&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28E%28Play%2C%5Cquad%20Windy%29%5Cquad%20%3D%5Cquad%20p%28True%29%5Cquad%20%5Ctimes%20%5Cquad%20E%283%2C3%29%5Cquad%20+%5Cquad%20p%28False%29%5Cquad%20%5Ctimes%20%5Cquad%20E%286%2C2%29%5C%5C%20E%28Play%2C%5Cquad%20Windy%29%5Cquad%20%3D%5Cquad%200.8921%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A14%2C%0A0xFFFFFF&quot; width=&quot;556&quot; height=&quot;56&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;이제 Information Gain을 구해보자.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/2424D83B59579A6326&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28E%28Play%29%5Cquad%20-%5Cquad%20E%28Play%2C%5Cquad%20Outlook%29%5Cquad%20%3D%5Cquad%200.25%5C%5C%20E%28Play%29%5Cquad%20-%5Cquad%20E%28Play%2C%5Cquad%20Temp%29%5Cquad%20%3D%5Cquad%200.02%5C%5C%20E%28Play%29%5Cquad%20-%5Cquad%20E%28Play%2C%5Cquad%20Humidity%29%5Cquad%20%3D%5Cquad%200.1514%5C%5C%20E%28Play%29%5Cquad%20-%5Cquad%20E%28Play%2C%5Cquad%20Windy%29%5Cquad%20%3D%5Cquad%200.047%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A14%2C%0A0xFFFFFF&quot; width=&quot;386&quot; height=&quot;116&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;Infomation Gain&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;이 가장 큰 것은 &lt;b&gt;Outlook&lt;/b&gt;이다. Outlook으로&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;&amp;nbsp;분류하자.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left; clear: none; float: none;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 415px;  height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/2407763859579C0211&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F2407763859579C0211&quot; width=&quot;415&quot; height=&quot;120&quot; filename=&quot;Picture3.jpg&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;이제 &lt;b&gt;Sunny&lt;/b&gt;에서 분류를 하자.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;style&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&amp;lt;!--table
	{mso-displayed-decimal-separator:&quot;\.&quot;;
	mso-displayed-thousand-separator:&quot;\,&quot;;}
@page
	{margin:.75in .7in .75in .7in;
	mso-header-margin:.3in;
	mso-footer-margin:.3in;}
td
	{padding-top:1px;
	padding-right:1px;
	padding-left:1px;
	mso-ignore:padding;
	color:black;
	font-size:12.0pt;
	font-weight:400;
	font-style:normal;
	text-decoration:none;
	font-family:Calibri, sans-serif;
	mso-font-charset:0;
	mso-number-format:General;
	text-align:general;
	vertical-align:bottom;
	border:none;
	mso-background-source:auto;
	mso-pattern:auto;
	mso-protection:locked visible;
	white-space:nowrap;
	mso-rotate:0;}
.xl63
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:left;
	vertical-align:middle;
	border-top:1.0pt solid black;
	border-right:1.0pt solid black;
	border-bottom:1.0pt solid black;
	border-left:none;
	background:yellow;
	mso-pattern:black none;
	white-space:normal;}
.xl64
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:left;
	vertical-align:middle;
	border-top:1.0pt solid black;
	border-right:none;
	border-bottom:1.0pt solid black;
	border-left:1.0pt solid black;
	background:yellow;
	mso-pattern:black none;
	white-space:normal;}
.xl65
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:left;
	vertical-align:middle;
	border-top:1.0pt solid black;
	border-right:none;
	border-bottom:none;
	border-left:none;
	white-space:normal;}
.xl66
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:left;
	vertical-align:middle;
	white-space:normal;}
.xl67
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:left;
	vertical-align:middle;
	border:1.0pt solid black;
	background:yellow;
	mso-pattern:black none;
	white-space:normal;}
--&amp;gt;
&lt;/span&gt;&lt;/style&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;




&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
 &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
 &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
 &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
 &lt;/span&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;371&quot; style=&quot;border-collapse:
 collapse;width:371pt;mso-yfti-tbllook:1536&quot;&gt;
&lt;!--StartFragment--&gt;
 &lt;colgroup&gt;&lt;col width=&quot;65&quot; style=&quot;width:65pt&quot;&gt;&lt;/colgroup&gt;&lt;colgroup&gt;&lt;col width=&quot;83&quot; style=&quot;mso-width-source:userset;mso-width-alt:3541;width:83pt&quot;&gt;&lt;/colgroup&gt;&lt;colgroup&gt;&lt;col width=&quot;65&quot; span=&quot;2&quot; style=&quot;width:65pt&quot;&gt;&lt;/colgroup&gt;&lt;colgroup&gt;&lt;col width=&quot;93&quot; style=&quot;mso-width-source:userset;mso-width-alt:3968;width:93pt&quot;&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr height=&quot;37&quot; style=&quot;height:37.0pt&quot;&gt;
  &lt;td height=&quot;37&quot; class=&quot;xl63&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 37pt; width: 86px; border-color: rgb(0, 0, 0); border-width: 1px; border-style: solid; background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Outlook&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;border-left: none; width: 113px; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Temperature&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;border-left: none; width: 65pt; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Humidity&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;border-left: none; width: 65pt; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Windy&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;border-left: none; width: 93pt; border-bottom: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Play?&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;18&quot; style=&quot;height:18.0pt&quot;&gt;
  &lt;td height=&quot;18&quot; class=&quot;xl65&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 18pt; border-top: none; width: 86px; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;sunny&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;border-top: none; width: 113px; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;hot&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;border-top: none; width: 65pt; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;high&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;border-top: none; width: 65pt; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;FALSE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;border-top: none; width: 93pt; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;No&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;19&quot; style=&quot;height:19.0pt&quot;&gt;
  &lt;td height=&quot;19&quot; class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 19pt; width: 86px; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;sunny&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;width: 113px; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;hot&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;high&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;TRUE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;width: 93pt; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;No&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td height=&quot;20&quot; class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 20pt; width: 86px; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;sunny&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;width: 113px; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;mild&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;high&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;FALSE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;width: 93pt; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;No&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td height=&quot;20&quot; class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 20pt; width: 86px; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;sunny&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;width: 113px; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;cool&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;normal&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;FALSE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;width: 93pt; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td height=&quot;20&quot; class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 20pt; width: 86px; border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;sunny&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;width: 113px; border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;mild&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;normal&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;TRUE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;width: 93pt; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;!--EndFragment--&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/2209F34E5957A1B134&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28E%28Sunny%29%5Cquad%20-%5Cquad%20E%28Sunny%2C%5Cquad%20Temp%29%5Cquad%20%3D%5Cquad%200.57%5C%5C%20E%28Sunny%29%5Cquad%20-%5Cquad%20E%28Sunny%2C%5Cquad%20Humidity%29%5Cquad%20%3D%5Cquad%200.97%5C%5C%20E%28Sunny%29%5Cquad%20-%5Cquad%20E%28Sunny%2C%5Cquad%20Windy%29%5Cquad%20%3D%5Cquad%200.019%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A14%2C%0A0xFFFFFF&quot; width=&quot;394&quot; height=&quot;86&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Humidity&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;를 선택할 경우 Information Gain이 가장크다. Humidity를 가지로 선택한다.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;이제 트리는 다음과 같은 모양을 가지게 된다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left; clear: none; float: none;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 451px;  height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/2560E64E5957A5871A&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F2560E64E5957A5871A&quot; width=&quot;451&quot; height=&quot;169&quot; filename=&quot;Picture4.jpg&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;Humidity에 속하는 클래스들은 모드 같은 레코드를 가지므로 Humidity에서 더 이상 가지를 만들지 않는다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;style&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&amp;lt;!--table
	{mso-displayed-decimal-separator:&quot;\.&quot;;
	mso-displayed-thousand-separator:&quot;\,&quot;;}
@page
	{margin:.75in .7in .75in .7in;
	mso-header-margin:.3in;
	mso-footer-margin:.3in;}
td
	{padding-top:1px;
	padding-right:1px;
	padding-left:1px;
	mso-ignore:padding;
	color:black;
	font-size:12.0pt;
	font-weight:400;
	font-style:normal;
	text-decoration:none;
	font-family:Calibri, sans-serif;
	mso-font-charset:0;
	mso-number-format:General;
	text-align:general;
	vertical-align:bottom;
	border:none;
	mso-background-source:auto;
	mso-pattern:auto;
	mso-protection:locked visible;
	white-space:nowrap;
	mso-rotate:0;}
.xl63
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:left;
	vertical-align:middle;
	border-top:1.0pt solid black;
	border-right:1.0pt solid black;
	border-bottom:1.0pt solid black;
	border-left:none;
	background:yellow;
	mso-pattern:black none;
	white-space:normal;}
.xl64
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:left;
	vertical-align:middle;
	border-top:1.0pt solid black;
	border-right:none;
	border-bottom:1.0pt solid black;
	border-left:1.0pt solid black;
	background:yellow;
	mso-pattern:black none;
	white-space:normal;}
.xl65
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:left;
	vertical-align:middle;
	border-top:1.0pt solid black;
	border-right:none;
	border-bottom:none;
	border-left:none;
	white-space:normal;}
.xl66
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:left;
	vertical-align:middle;
	white-space:normal;}
.xl67
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:left;
	vertical-align:middle;
	border:1.0pt solid black;
	background:yellow;
	mso-pattern:black none;
	white-space:normal;}
--&amp;gt;
&lt;/span&gt;&lt;/style&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;




&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
 &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
 &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
 &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
 &lt;/span&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;371&quot; style=&quot;border-collapse:
 collapse;width:371pt;mso-yfti-tbllook:1536&quot;&gt;
&lt;!--StartFragment--&gt;
 &lt;colgroup&gt;&lt;col width=&quot;65&quot; style=&quot;width:65pt&quot;&gt;&lt;/colgroup&gt;&lt;colgroup&gt;&lt;col width=&quot;83&quot; style=&quot;mso-width-source:userset;mso-width-alt:3541;width:83pt&quot;&gt;&lt;/colgroup&gt;&lt;colgroup&gt;&lt;col width=&quot;65&quot; span=&quot;2&quot; style=&quot;width:65pt&quot;&gt;&lt;/colgroup&gt;&lt;colgroup&gt;&lt;col width=&quot;93&quot; style=&quot;mso-width-source:userset;mso-width-alt:3968;width:93pt&quot;&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr height=&quot;37&quot; style=&quot;height:37.0pt&quot;&gt;
  &lt;td height=&quot;37&quot; class=&quot;xl63&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 37pt; width: 65pt; border-color: rgb(0, 0, 0); border-width: 1px; border-style: solid; background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Outlook&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;border-left: none; width: 83pt; background-color: rgb(255, 228, 0); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Temperature&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;border-left: none; width: 65pt; background-color: rgb(255, 228, 0); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Humidity&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;border-left: none; width: 65pt; background-color: rgb(255, 228, 0); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Windy&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;border-left: none; width: 93pt; background-color: rgb(255, 228, 0); border-bottom: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Play?&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;18&quot; style=&quot;height:18.0pt&quot;&gt;
  &lt;td height=&quot;18&quot; class=&quot;xl65&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 18pt; border-top: none; width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;sunny&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;border-top: none; width: 83pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;hot&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;border-top: none; width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;high&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;border-top: none; width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;FALSE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;border-top: none; width: 93pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;No&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;19&quot; style=&quot;height:19.0pt&quot;&gt;
  &lt;td height=&quot;19&quot; class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 19pt; width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;sunny&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;width: 83pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;hot&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;high&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;TRUE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;width: 93pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;No&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td height=&quot;20&quot; class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 27px; width: 65pt; background-color: rgb(255, 255, 255); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;sunny&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;width: 83pt; height: 27px; background-color: rgb(255, 255, 255); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;mild&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; height: 27px; background-color: rgb(255, 255, 255); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;high&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; height: 27px; background-color: rgb(255, 255, 255); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;FALSE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;width: 93pt; height: 27px; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;No&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;!--EndFragment--&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;style&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&amp;lt;!--table
	{mso-displayed-decimal-separator:&quot;\.&quot;;
	mso-displayed-thousand-separator:&quot;\,&quot;;}
@page
	{margin:.75in .7in .75in .7in;
	mso-header-margin:.3in;
	mso-footer-margin:.3in;}
td
	{padding-top:1px;
	padding-right:1px;
	padding-left:1px;
	mso-ignore:padding;
	color:black;
	font-size:12.0pt;
	font-weight:400;
	font-style:normal;
	text-decoration:none;
	font-family:Calibri, sans-serif;
	mso-font-charset:0;
	mso-number-format:General;
	text-align:general;
	vertical-align:bottom;
	border:none;
	mso-background-source:auto;
	mso-pattern:auto;
	mso-protection:locked visible;
	white-space:nowrap;
	mso-rotate:0;}
.xl63
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:left;
	vertical-align:middle;
	border-top:1.0pt solid black;
	border-right:1.0pt solid black;
	border-bottom:1.0pt solid black;
	border-left:none;
	background:yellow;
	mso-pattern:black none;
	white-space:normal;}
.xl64
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:left;
	vertical-align:middle;
	border-top:1.0pt solid black;
	border-right:none;
	border-bottom:1.0pt solid black;
	border-left:1.0pt solid black;
	background:yellow;
	mso-pattern:black none;
	white-space:normal;}
.xl65
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:left;
	vertical-align:middle;
	border-top:1.0pt solid black;
	border-right:none;
	border-bottom:none;
	border-left:none;
	white-space:normal;}
.xl66
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:left;
	vertical-align:middle;
	white-space:normal;}
.xl67
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:left;
	vertical-align:middle;
	border:1.0pt solid black;
	background:yellow;
	mso-pattern:black none;
	white-space:normal;}
--&amp;gt;
&lt;/span&gt;&lt;/style&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;




&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
 &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
 &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
 &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
 &lt;/span&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;371&quot; style=&quot;border-collapse:
 collapse;width:371pt;mso-yfti-tbllook:1536&quot;&gt;
&lt;!--StartFragment--&gt;
 &lt;colgroup&gt;&lt;col width=&quot;65&quot; style=&quot;width:65pt&quot;&gt;&lt;/colgroup&gt;&lt;colgroup&gt;&lt;col width=&quot;83&quot; style=&quot;mso-width-source:userset;mso-width-alt:3541;width:83pt&quot;&gt;&lt;/colgroup&gt;&lt;colgroup&gt;&lt;col width=&quot;65&quot; span=&quot;2&quot; style=&quot;width:65pt&quot;&gt;&lt;/colgroup&gt;&lt;colgroup&gt;&lt;col width=&quot;93&quot; style=&quot;mso-width-source:userset;mso-width-alt:3968;width:93pt&quot;&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr height=&quot;37&quot; style=&quot;height:37.0pt&quot;&gt;
  &lt;td height=&quot;37&quot; class=&quot;xl63&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 37pt; width: 65pt; border-color: rgb(0, 0, 0); border-width: 1px; border-style: solid; background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Outlook&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;border-left: none; width: 83pt; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Temperature&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;border-left: none; width: 65pt; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Humidity&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;border-left: none; width: 65pt; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0); background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Windy&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;border-left: none; width: 93pt; border-bottom: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 228, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Play?&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td height=&quot;20&quot; class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 20pt; width: 65pt; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;sunny&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;width: 83pt; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;cool&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;normal&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;FALSE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;width: 93pt; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td height=&quot;20&quot; class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 20pt; width: 65pt; border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;sunny&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;width: 83pt; border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;mild&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;normal&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;TRUE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;width: 93pt; border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); background-color: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;!--EndFragment--&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;이제 Outlook에서 Overcast&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;를 선택했을 때를 보자. 이 경우도 Play가 모두 Yes로 같은 c&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;lass를 가지므로 넘어간다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;style&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&amp;lt;!--table
	{mso-displayed-decimal-separator:&quot;\.&quot;;
	mso-displayed-thousand-separator:&quot;\,&quot;;}
@page
	{margin:.75in .7in .75in .7in;
	mso-header-margin:.3in;
	mso-footer-margin:.3in;}
td
	{padding-top:1px;
	padding-right:1px;
	padding-left:1px;
	mso-ignore:padding;
	color:black;
	font-size:12.0pt;
	font-weight:400;
	font-style:normal;
	text-decoration:none;
	font-family:Calibri, sans-serif;
	mso-font-charset:0;
	mso-number-format:General;
	text-align:general;
	vertical-align:bottom;
	border:none;
	mso-background-source:auto;
	mso-pattern:auto;
	mso-protection:locked visible;
	white-space:nowrap;
	mso-rotate:0;}
.xl63
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:left;
	vertical-align:middle;
	border-top:1.0pt solid black;
	border-right:1.0pt solid black;
	border-bottom:1.0pt solid black;
	border-left:none;
	background:yellow;
	mso-pattern:black none;
	white-space:normal;}
.xl64
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:left;
	vertical-align:middle;
	border-top:1.0pt solid black;
	border-right:none;
	border-bottom:1.0pt solid black;
	border-left:1.0pt solid black;
	background:yellow;
	mso-pattern:black none;
	white-space:normal;}
.xl65
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:left;
	vertical-align:middle;
	border-top:1.0pt solid black;
	border-right:none;
	border-bottom:none;
	border-left:none;
	white-space:normal;}
.xl66
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:left;
	vertical-align:middle;
	white-space:normal;}
.xl67
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:left;
	vertical-align:middle;
	border:1.0pt solid black;
	background:yellow;
	mso-pattern:black none;
	white-space:normal;}
--&amp;gt;
&lt;/span&gt;&lt;/style&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;




&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
 &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
 &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
 &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
 &lt;/span&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;371&quot; style=&quot;border-collapse:
 collapse;width:371pt;mso-yfti-tbllook:1536&quot;&gt;
&lt;!--StartFragment--&gt;
 &lt;colgroup&gt;&lt;col width=&quot;65&quot; style=&quot;width:65pt&quot;&gt;&lt;/colgroup&gt;&lt;colgroup&gt;&lt;col width=&quot;83&quot; style=&quot;mso-width-source:userset;mso-width-alt:3541;width:83pt&quot;&gt;&lt;/colgroup&gt;&lt;colgroup&gt;&lt;col width=&quot;65&quot; span=&quot;2&quot; style=&quot;width:65pt&quot;&gt;&lt;/colgroup&gt;&lt;colgroup&gt;&lt;col width=&quot;93&quot; style=&quot;mso-width-source:userset;mso-width-alt:3968;width:93pt&quot;&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr height=&quot;37&quot; style=&quot;height:37.0pt&quot;&gt;
  &lt;td height=&quot;37&quot; class=&quot;xl63&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 37pt; width: 65pt; background-color: rgb(255, 228, 0); border-color: rgb(0, 0, 0); border-width: 1px; border-style: solid;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Outlook&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;border-left: none; width: 83pt; background-color: rgb(255, 228, 0); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Temperature&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;border-left: none; width: 65pt; background-color: rgb(255, 228, 0); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Humidity&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;border-left: none; width: 65pt; background-color: rgb(255, 228, 0); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Windy&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;border-left: none; width: 93pt; background-color: rgb(255, 228, 0); border-bottom: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Play?&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;19&quot; style=&quot;height:19.0pt&quot;&gt;
  &lt;td height=&quot;19&quot; class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 19pt; width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;overcast&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;width: 83pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;hot&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;high&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;FALSE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;width: 93pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td height=&quot;20&quot; class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 20pt; width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;overcast&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;width: 83pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;cool&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;normal&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;TRUE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;width: 93pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td height=&quot;20&quot; class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 20pt; width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;overcast&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;width: 83pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;mild&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;high&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;TRUE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;width: 93pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td height=&quot;20&quot; class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 20pt; width: 65pt; background-color: rgb(255, 255, 255); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;overcast&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;width: 83pt; background-color: rgb(255, 255, 255); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;hot&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;normal&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;FALSE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;width: 93pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;!--EndFragment--&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;트리에 가능한 가지는 Temperature, Windy 두 속성이 남았다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;style&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&amp;lt;!--table
	{mso-displayed-decimal-separator:&quot;\.&quot;;
	mso-displayed-thousand-separator:&quot;\,&quot;;}
@page
	{margin:.75in .7in .75in .7in;
	mso-header-margin:.3in;
	mso-footer-margin:.3in;}
td
	{padding-top:1px;
	padding-right:1px;
	padding-left:1px;
	mso-ignore:padding;
	color:black;
	font-size:12.0pt;
	font-weight:400;
	font-style:normal;
	text-decoration:none;
	font-family:Calibri, sans-serif;
	mso-font-charset:0;
	mso-number-format:General;
	text-align:general;
	vertical-align:bottom;
	border:none;
	mso-background-source:auto;
	mso-pattern:auto;
	mso-protection:locked visible;
	white-space:nowrap;
	mso-rotate:0;}
.xl63
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:left;
	vertical-align:middle;
	border-top:1.0pt solid black;
	border-right:1.0pt solid black;
	border-bottom:1.0pt solid black;
	border-left:none;
	background:yellow;
	mso-pattern:black none;
	white-space:normal;}
.xl64
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:left;
	vertical-align:middle;
	border-top:1.0pt solid black;
	border-right:none;
	border-bottom:1.0pt solid black;
	border-left:1.0pt solid black;
	background:yellow;
	mso-pattern:black none;
	white-space:normal;}
.xl65
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:left;
	vertical-align:middle;
	border-top:1.0pt solid black;
	border-right:none;
	border-bottom:none;
	border-left:none;
	white-space:normal;}
.xl66
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:left;
	vertical-align:middle;
	white-space:normal;}
.xl67
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:left;
	vertical-align:middle;
	border-top:none;
	border-right:none;
	border-bottom:1.0pt solid black;
	border-left:none;
	white-space:normal;}
.xl68
	{color:black;
	font-size:14.0pt;
	font-family:Tahoma;
	mso-generic-font-family:auto;
	mso-font-charset:0;
	text-align:left;
	vertical-align:middle;
	border:1.0pt solid black;
	background:yellow;
	mso-pattern:black none;
	white-space:normal;}
--&amp;gt;
&lt;/span&gt;&lt;/style&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;




&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
 &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
 &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
 &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
 &lt;/span&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;306&quot; style=&quot;border-collapse:
 collapse;width:306pt;mso-yfti-tbllook:1536&quot;&gt;
&lt;!--StartFragment--&gt;
 &lt;colgroup&gt;&lt;col width=&quot;65&quot; style=&quot;width:65pt&quot;&gt;&lt;/colgroup&gt;&lt;colgroup&gt;&lt;col width=&quot;83&quot; style=&quot;mso-width-source:userset;mso-width-alt:3541;width:83pt&quot;&gt;&lt;/colgroup&gt;&lt;colgroup&gt;&lt;col width=&quot;65&quot; style=&quot;width:65pt&quot;&gt;&lt;/colgroup&gt;&lt;colgroup&gt;&lt;col width=&quot;93&quot; style=&quot;mso-width-source:userset;mso-width-alt:3968;width:93pt&quot;&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr height=&quot;37&quot; style=&quot;height:37.0pt&quot;&gt;
  &lt;td height=&quot;37&quot; class=&quot;xl63&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 37pt; width: 65pt; background-color: rgb(255, 228, 0); border-color: rgb(0, 0, 0); border-width: 1px; border-style: solid;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Outlook&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl68&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;border-left: none; width: 83pt; background-color: rgb(255, 228, 0); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Temperature&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl68&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;border-left: none; width: 65pt; background-color: rgb(255, 228, 0); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Windy&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;border-left: none; width: 93pt; background-color: rgb(255, 228, 0); border-bottom: 1px solid rgb(0, 0, 0); border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Play?&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td height=&quot;20&quot; class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 20pt; width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;rain&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;width: 83pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;mild&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;FALSE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;width: 93pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td height=&quot;20&quot; class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 20pt; width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;rain&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;width: 83pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;cool&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;FALSE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;width: 93pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td height=&quot;20&quot; class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 20pt; width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;rain&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;width: 83pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;cool&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;TRUE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;width: 93pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;No&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;19&quot; style=&quot;height:19.0pt&quot;&gt;
  &lt;td height=&quot;19&quot; class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 19pt; width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;rain&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;width: 83pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;mild&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;FALSE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;width: 93pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr height=&quot;20&quot; style=&quot;height:20.0pt&quot;&gt;
  &lt;td height=&quot;20&quot; class=&quot;xl67&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;height: 20pt; width: 65pt; background-color: rgb(255, 255, 255); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;rain&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; dir=&quot;LTR&quot; width=&quot;83&quot; style=&quot;width: 83pt; background-color: rgb(255, 255, 255); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;mild&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; dir=&quot;LTR&quot; width=&quot;65&quot; style=&quot;width: 65pt; background-color: rgb(255, 255, 255); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;TRUE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;td class=&quot;xl67&quot; dir=&quot;LTR&quot; width=&quot;93&quot; style=&quot;width: 93pt; background-color: rgb(255, 255, 255); border-bottom: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0);&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;No&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;!--EndFragment--&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/22466C4E5957A9AE2C&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28E%28Rainy%29%5Cquad%20-%5Cquad%20E%28Rainy%2C%5Cquad%20Temp%29%5Cquad%20%3D%5Cquad%200.02%5C%5C%20E%28Rainy%29%5Cquad%20-%5Cquad%20E%28Rainy%2C%5Cquad%20Windy%29%5Cquad%20%3D%5Cquad%200.97%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A14%2C%0A0xFFFFFF&quot; width=&quot;360&quot; height=&quot;56&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;Rainy를 선택했을 때, Windy가 가지가 된다. 그리고 Windy의 속성에 따라 Play가 모두 같은 class를 가지므로 더 이상 가지를 만들지 않는다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;더 뻗어나갈 가지가 없으므로 트리는 아래 그림으로 완성된다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left; clear: none; float: none;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 505px;  height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/2176A53A5957AAA201&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F2176A53A5957AAA201&quot; width=&quot;505&quot; height=&quot;210&quot; filename=&quot;Picture1.jpg&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>ML</category>
      <author>개발자입니다.</author>
      <guid isPermaLink="true">https://jihoonlee.tistory.com/16</guid>
      <comments>https://jihoonlee.tistory.com/16#entry16comment</comments>
      <pubDate>Sat, 1 Jul 2017 23:18:58 +0900</pubDate>
    </item>
    <item>
      <title>주성분분석 (Principal Component Analysis)</title>
      <link>https://jihoonlee.tistory.com/15</link>
      <description>&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;span style=&quot;font-size: 18pt;&quot;&gt;&lt;b&gt;&lt;u&gt;주성분분석 (PCA) &amp;nbsp;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt; &amp;lt;&lt;/span&gt;&lt;a href=&quot;https://ko.wikipedia.org/wiki/%EC%A3%BC%EC%84%B1%EB%B6%84_%EB%B6%84%EC%84%9D&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;&lt;span style=&quot;color: rgb(255, 0, 0); font-size: 12pt;&quot;&gt;&lt;b&gt;위키피디아&lt;/b&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-family: sans-serif; font-size: 12pt;&quot;&gt;고차원의 데이터를 저차원의 데이터로 환원시키는 기법이다.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt;새로운 변수를 원 변수의 선형결합으로 만들어 변수를 축약한다.&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;b&gt;장점 : 고차원의 데이터를 큰 정보손실없이 변환해 준다.시각화 편리&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;margin-left: 2em;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;-&amp;gt; 변수를 줄임&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;margin-left: 2em;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;-&amp;gt; 학습집합의 크기를 줄여줌&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;margin-left: 2em;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;-&amp;gt; 학습 시 빠름&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;margin-left: 2em;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;&lt;b&gt;한계 : 특징벡터의 Label을 고려하지 않음.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;margin-left: 2em;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; 결과값이 특징구분을 좋게한다는 보장은 없음.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;PCA분석을 이해하기 위해서는 &lt;b&gt;공분산, 고유벡터와 고유값&lt;/b&gt;에 대한 개념이 필요하다.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;공분산 &amp;lt;&lt;/span&gt;&lt;a href=&quot;https://ko.wikipedia.org/wiki/%EA%B3%B5%EB%B6%84%EC%82%B0&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;&lt;span style=&quot;color: rgb(255, 0, 0); font-size: 12pt;&quot;&gt;위키피디아&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#222222&quot; face=&quot;sans-serif&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;&lt;b&gt;2개의 확률변수의 상관정도를 나타내는 값이다.&lt;/b&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#222222&quot; face=&quot;sans-serif&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(34, 34, 34); font-family: sans-serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/275FC63F5954C17D01&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28cov%28x%2Cy%29%3D%5Cfrac%20%7B%20%5Csum%20%7B%20%28x%5Cquad%20-%5Cbar%20%7B%20x%20%7D%20%29%28y%20%7D%20%5Cquad%20-%5Cquad%20%5Cbar%20%7B%20y%20%7D%20%29%20%7D%7B%20n-1%20%7D%20%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A14%2C%0A0xFFFFFF&quot; width=&quot;312&quot; height=&quot;71&quot;&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#222222&quot; face=&quot;sans-serif&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;cov(x, y) &amp;gt; 0 이면 x가 증가할 때 y도 증가&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#222222&quot; face=&quot;sans-serif&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;cov(x, y) &amp;lt; 0 이면 x가 증가할 때 y는 감소&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#222222&quot; face=&quot;sans-serif&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;cov(x, y) = 0 이면 상관관계가 없음&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;다른 차원과의 공분산을 모두 구하고 행렬에 넣어준다. 즉, 아래와 같은 매트릭스를 만들어 준다.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/22183E505954C59520&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28C%5Cquad%20%3D%5Cquad%20%5Cbegin%7B%20pmatrix%20%7D%20cov%28x%2C%5Cquad%20x%29%20%26amp%3B%20cov%28x%2C%5Cquad%20y%29%20%5C%5C%20cov%28y%2C%5Cquad%20x%29%20%26amp%3B%20cov%28y%2C%5Cquad%20y%20%5Cend%7B%20pmatrix%20%7D%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A14%2C%0A0xFFFFFF&quot; width=&quot;252&quot; height=&quot;55&quot;&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#222222&quot; face=&quot;sans-serif&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt;&lt;b&gt;고유값과 고유벡터 &amp;lt;&lt;a href=&quot;https://ko.wikipedia.org/wiki/%EA%B3%A0%EC%9C%B3%EA%B0%92&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;위키피디아&lt;/span&gt;&lt;/a&gt;&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#222222&quot; face=&quot;sans-serif&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#222222&quot; face=&quot;sans-serif&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;A는 N*N(정방행렬)일 때,&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#222222&quot; face=&quot;sans-serif&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/213F304E5954C8320D&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28Ax%5Cquad%20%3D%5Cquad%20%5Clambda%20x%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A14%2C%0A0xFFFFFF&quot; width=&quot;91&quot; height=&quot;26&quot;&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;를 만족하는 0이 아닌 벡터 x가 존재하면&amp;nbsp;λ를 고유값, 벡터 x를 고유벡터라고 한다.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;아래 식에서 행렬 (3, 2)는 고유벡터, 4는 고유값이 된다.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/2413F6485954C9E323&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28%5Cbegin%7B%20pmatrix%20%7D%202%20%26amp%3B%203%20%5C%5C%202%20%26amp%3B%201%20%5Cend%7B%20pmatrix%20%7D%5Cleft%28%20%5Cbegin%7B%20matrix%20%7D%203%20%5C%5C%202%20%5Cend%7B%20matrix%20%7D%20%5Cright%29%20%5Cquad%20%3D%5Cquad%204%5Cquad%20%5Ctimes%20%5Cquad%20%5Cleft%28%20%5Cbegin%7B%20matrix%20%7D%203%20%5C%5C%202%20%5Cend%7B%20matrix%20%7D%20%5Cright%29%20%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A14%2C%0A0xFFFFFF&quot; width=&quot;248&quot; height=&quot;52&quot;&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;PCA분석 (&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;&lt;a href=&quot;https://archive.ics.uci.edu/ml/machine-learning-databases/iris/iris.data&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;IRIS&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;)&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;table class=&quot;txc-table&quot; width=&quot;784&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; style=&quot;border:none;border-collapse:collapse;;font-family:&quot; 맑은=&quot;&quot; 고딕&quot;,=&quot;&quot; sans-serif;font-size:13px&quot;=&quot;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;width:130;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:130;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;sepal_len&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:130;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;sepal_wid&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:130;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;petal_len&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:130;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;petal_wid&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;

&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;width:130;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;145&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:130;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;6.7&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:130;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;3.0&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:130;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;5.2&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:130;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;2.3&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;

&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;width:130;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;146&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:130;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;6.3&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:130;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;2.5&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:130;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;5.0&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:130;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;1.9&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;

&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;width:130;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;147&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:130;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;6.5&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:130;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;3.0&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:130;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;5.2&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:130;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;2.0&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;

&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;width:130;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;148&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:130;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;6.2&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:130;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;3.4&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:130;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;5.4&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:130;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;2.3&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;

&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;width:130;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;&quot; rowspan=&quot;1&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;149&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style=&quot;width:130;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;&quot; rowspan=&quot;1&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;5.9&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style=&quot;width:130;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;&quot; rowspan=&quot;1&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;3.0&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style=&quot;width:130;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;&quot; rowspan=&quot;1&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;5.1&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style=&quot;width:130;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;&quot; rowspan=&quot;1&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;1.8&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;&lt;b&gt;0. 데이터를 불러온다.&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;&lt;b&gt;
&lt;/b&gt;&lt;/span&gt;&lt;pre class=&quot;brush: python&quot;&gt;import numpy as np
import numpy.linalg as linalg
from sklearn.preprocessing import StandardScaler
from numpy import genfromtxt

iris_data = genfromtxt('iris.csv', delimiter=',')
iris_data = np.array(iris_data[:,:4], dtype=np.float64)&lt;/pre&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;&lt;b&gt;1 .데이터를 표준화한다.&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;P&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;CA는 축을 따라 분산을 최대화하는 피쳐 부분 공간을 산출하기 때문에 특히 다른 척도로 측정 된 경우 데이터를 표준화하는 것이 좋다.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;아이리스 데이터 세트의 모든 기능은 센티미터 단위로 측정되었지만 많은 기계 학습 알고리즘의 최적 성능을 위해서는 단위 크기 (평균 = 0 및 분산 = 1)로 데이터를 변환한다.&lt;/span&gt;&lt;/p&gt;
&lt;pre class=&quot;brush: python&quot;&gt;iris_std = StandardScaler().fit_transform(iris_data)&lt;/pre&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;&lt;b&gt;2. 공분산을 구하고, 공분산의 고유벡터, 고유값을 구한다.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;&lt;b&gt;
&lt;/b&gt;&lt;/span&gt;&lt;pre class=&quot;brush: python&quot;&gt;iris_cov = (np.cov(iris_std.T))
eig_vals, eig_vecs = np.linalg.eig(iris_cov)&lt;/pre&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: rgb(255, 255, 255); color: rgb(0, 0, 0);&quot;&gt;3. 고유벡터와 표준화한 데이터와 행렬연산을 하여 PC1, PC2.. 등의 새로운 값을 만들어준다.&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: 11pt; background-color: rgb(255, 255, 255); color: rgb(0, 0, 0);&quot;&gt;마지막 print는 확인작업이다. &amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: 11pt; background-color: rgb(255, 255, 255); color: rgb(0, 0, 0);&quot;&gt;PC1으로 생성된 값의 공분산은 선택한 고유벡터의 고유값과 같아야 한다.&lt;/span&gt;&lt;span style=&quot;font-size: 11pt; background-color: rgb(255, 255, 255); color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;brush: python&quot;&gt;&lt;p&gt;eig_vals_sum = np.sum(eig_vals)
for eig_val in eig_vals:
    print (&quot;contain &quot; + str(eig_val/eig_vals_sum))

PC1 = iris_std.dot(np.reshape(eig_vecs.T[0], (4, 1)))

print (eig_vals[0])
print (np.cov(PC1.T))&lt;/p&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;전체코드&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;pre class=&quot;brush: python&quot;&gt;import numpy as np
import numpy.linalg as linalg
from sklearn.preprocessing import StandardScaler
from numpy import genfromtxt

iris_data = genfromtxt('iris.csv', delimiter=',')
iris_data = np.array(iris_data[:,:4], dtype=np.float64)
iris_std = StandardScaler().fit_transform(iris_data)
iris_cov = (np.cov(iris_std.T))
eig_vals, eig_vecs = np.linalg.eig(iris_cov)

eig_vals_sum = np.sum(eig_vals)
for eig_val in eig_vals:
    print (&quot;contain &quot; + str(eig_val/eig_vals_sum))

PC1 = iris_std.dot(np.reshape(eig_vecs.T[0], (4, 1)))

print (eig_vals[0])
print (np.cov(PC1.T))&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;참고자료&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&amp;lt;영문 자료: &lt;/span&gt;&lt;a href=&quot;http://sebastianraschka.com/Articles/2015_pca_in_3_steps.html&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;링크 1&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&amp;lt;한글 자료: &lt;/span&gt;&lt;a href=&quot;https://ratsgo.github.io/machine%20learning/2017/04/24/PCA/&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;링크 2&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;</description>
      <category>MATH</category>
      <author>개발자입니다.</author>
      <guid isPermaLink="true">https://jihoonlee.tistory.com/15</guid>
      <comments>https://jihoonlee.tistory.com/15#entry15comment</comments>
      <pubDate>Thu, 29 Jun 2017 21:19:23 +0900</pubDate>
    </item>
    <item>
      <title>Python 종목코드 가져오기</title>
      <link>https://jihoonlee.tistory.com/9</link>
      <description>&lt;p&gt;&lt;span style=&quot;font-size: 18pt;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Python 종목코드 가져오기&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;다음 금융의 코스피 &lt;/span&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;시가총액 페이지에 있는 종목과 코드를 긁어온다.&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;pre class=&quot;brush: powerShell&quot;&gt;sudo pip3 install urllib3
sudo pip3 install beautifulsoup4
&lt;/pre&gt;
&lt;p&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Code&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;urllib로 html문서를 가져왔고, beautifulsoup을 사용해 필요한 데이터를 찾았다.&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;종목코드와 종목이름을 list에 넣어&amp;nbsp;파일로 저장한다.&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;numpy의 savatxt를 사용하려고 했지만 atom에서 자꾸 인코딩 에러가 나서 codecs를 사용해 저장&lt;/span&gt;했다.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre class=&quot;brush: python&quot;&gt;#-*- coding: utf-8 -*-
from bs4 import BeautifulSoup
import numpy as np
import urllib.request
import sys
import io
import os
import codecs

download_path = os.getenv(&quot;HOME&quot;) + '/code/Korea_Finance_Analysis/data/market/KOSPI'

sys.stdout = io.TextIOWrapper(sys.stdout.detach(), encoding='utf-8')
sys.stderr = io.TextIOWrapper(sys.stderr.detach(), encoding='utf-8')

stock_code_list = list()
stock_name_list = list()
for i in range(1, 11):
    page = urllib.request.urlopen('http://finance.daum.net/quote/marketvalue.daum?stype=P&amp;amp;page=' + str(i) + '&amp;amp;col=listprice&amp;amp;order=desc')
    soup = BeautifulSoup(page.read().decode('utf-8'), &quot;html.parser&quot;, from_encoding='utf-8')
    elements = soup.findAll('td', {'class' : 'txt'})
    for e in elements:
        stock_code = e.find('a')['href'][-6:]
        stock_name = e.find('a').contents[0]
        stock_code_list.append(stock_code)
        stock_name_list.append(stock_name)

f = codecs.open(download_path, 'w', &quot;utf-8&quot;)
for code, name in zip(stock_code_list, stock_name_list):
    f.write(str(code) + ',' + str(name) + '\n')
f.close()
&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>Stock Prediction</category>
      <author>개발자입니다.</author>
      <guid isPermaLink="true">https://jihoonlee.tistory.com/9</guid>
      <comments>https://jihoonlee.tistory.com/9#entry9comment</comments>
      <pubDate>Mon, 19 Jun 2017 17:02:42 +0900</pubDate>
    </item>
    <item>
      <title>Python 주가데이터 가져오기</title>
      <link>https://jihoonlee.tistory.com/8</link>
      <description>&lt;p&gt;&lt;span style=&quot;font-size: 18pt; color: rgb(0, 0, 0);&quot;&gt;&lt;u&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Python 주가데이터 가져오기&lt;/span&gt;&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;yahoo finance가 historical data를 &lt;/span&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;제공해주지 않아 URL을 사용해 csv파일을 받는 방법이나&lt;/span&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;, 파이썬의 yahoo_finacne 패키지로 데이터를 가져오는 방법 등을 더 이상 사용할 수가 없게 되었다. 열심히 구글링을 하는 중 fix_yahoo_finance 패키지를 발견했다.&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;fix_yahoo_finance :&lt;/span&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://github.com/ranaroussi/fix-yahoo-finance&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;https://github.com/ranaroussi/fix-yahoo-finance&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Requirements&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre class=&quot;brush: powerShell&quot;&gt;Python &amp;gt;=3.4
Pandas (tested to work with &amp;gt;=0.18.1)
Numpy &amp;gt;= 1.11.1
requests &amp;gt;= 2.14.2
multitasking &amp;gt;= 0.0.3
&lt;/pre&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Install&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre class=&quot;brush: powerShell&quot;&gt;pip3 install fix_yahoo_finance --upgrade --no-cache-dir&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt;&quot;&gt;Code&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;kospi데이터를 가져오기 위해서는 종목코드.KS를 붙여야 한다. 코스닥이라면 KQ이다.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(255, 0, 0);&quot;&gt;예 :&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;pdr.get_data_yahoo&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;('&lt;/span&gt;&lt;b style=&quot;font-size: 14.6667px;&quot;&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;005930.KS'&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;)&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b style=&quot;font-size: 14.6667px;&quot;&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;sys.stdout, sys.stderr 부분은 개발환경에서 인코딩에 문제가 없으면 삭제해도 된다.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;
&lt;/span&gt;&lt;pre class=&quot;brush: python&quot;&gt;from pandas_datareader import data as pdr
import fix_yahoo_finance
import os
import sys
import io

sys.stdout = io.TextIOWrapper(sys.stdout.detach(), encoding='utf-8')
sys.stderr = io.TextIOWrapper(sys.stderr.detach(), encoding='utf-8')

def download(stock_list, download_path):
    market = 'KS'
    stock_num = ''
    for stock_info in stock_list:
        stock_num = stock_info.split(',')[0]
        stock_name = stock_info.split(',')[1]
        data = pdr.get_data_yahoo(stock_num + '.' + market, start='2012-01-01', end='2017-05-31')
        data.to_csv(download_path + stock_name + '.csv')

download_path = os.getenv(&quot;HOME&quot;) + '/code/Korea_Finance_Analysis/data/stock/'
market_path = os.getenv(&quot;HOME&quot;) + '/code/Korea_Finance_Analysis/data/market/KOSPI'
f = open(market_path, encoding='utf-8')
download(f.readlines(), download_path)

&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>Stock Prediction</category>
      <author>개발자입니다.</author>
      <guid isPermaLink="true">https://jihoonlee.tistory.com/8</guid>
      <comments>https://jihoonlee.tistory.com/8#entry8comment</comments>
      <pubDate>Mon, 19 Jun 2017 14:32:11 +0900</pubDate>
    </item>
    <item>
      <title>Linear Regression</title>
      <link>https://jihoonlee.tistory.com/3</link>
      <description>&lt;link rel=&quot;stylesheet&quot; href=&quot;//cdn.jsdelivr.net/highlight.js/8.7/styles/monokai_sublime.min.css&quot;&gt; &lt;script src=&quot;//cdn.jsdelivr.net/highlight.js/8.7/highlight.min.js&quot;&gt;&lt;/script&gt; &lt;script&gt;hljs.initHighlightingOnLoad();&lt;/script&gt;
&lt;h1&gt;&lt;u&gt;Linear Regression&lt;/u&gt;&lt;/h1&gt;&lt;h2 style=&quot;line-height: 1.5;&quot;&gt;1. 개요&lt;/h2&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;통계학에서, 선형 회귀는 종속 변수 y와 한 개 이상의 독립변수 X와의 선형 상관관계를 모델링하는 회귀분석 기법 &amp;nbsp;-&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: sans-serif; font-size: 11pt;&quot;&gt;위키피디아&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://ko.wikipedia.org/wiki/%EC%84%A0%ED%98%95_%ED%9A%8C%EA%B7%80&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot; style=&quot;font-family: sans-serif; font-size: 12pt;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;lt; 선형회귀&amp;nbsp;&amp;gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&lt;p style=&quot;text-align: center; clear: none; float: none;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 558px;  height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/2734163558F8A04931&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F2734163558F8A04931&quot; width=&quot;558&quot; height=&quot;433&quot; filename=&quot;1.png&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;X = [1, 2, 3, 4, 5]&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Y = [1, 2, 3, 4, 5]&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;Y = aX + b로 가정, 이것을&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 51, 51); font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt;&quot;&gt;hypothesis라고 한다.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;위처럼 X와 Y의 값을 가질 때, 사람은 Y = X 관계이며&amp;nbsp;만약 X가 6일때 Y가 6의 값을 가지는 것도 알 수 있음.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;하지만 컴퓨터는 Y = X의 관계를 바로 찾을 수 없음.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;즉 컴퓨터로 학습을 통해 독립변수 X가 들어왔을 때, Y가 어떤 값을 가질수 있는지 구하는 가장 간단한 방법이 선형회귀임.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&lt;h2&gt;2. 방법&lt;/h2&gt;&lt;div&gt;&lt;h3&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;0)&amp;nbsp;데이터&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;총 4개의 데이터가 있고 각각 (x, y) 2차원 좌표로 이루어짐.&amp;nbsp;우리의 목표는 2차원 그래프에서 X에 맞는 Y를 나타내는 1차원 선을 구하는 것!&lt;/span&gt;&lt;/div&gt;&lt;pre style=&quot;background-color: rgb(43, 43, 43);&quot;&gt;&lt;h3&gt;&lt;font color=&quot;#a9b7c6&quot; face=&quot;맑은 고딕, sans-serif&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;1번 데이터 ( 2,   5 ) &lt;/span&gt;&lt;/font&gt;&lt;font color=&quot;#a9b7c6&quot; face=&quot;Source Code Pro&quot;&gt;&lt;span style=&quot;font-size: 10.6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;color: rgb(169, 183, 198); font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt;&quot;&gt;2번 데이터 ( 3,  7 )&lt;/span&gt;&lt;font color=&quot;#a9b7c6&quot; face=&quot;Source Code Pro&quot;&gt;&lt;span style=&quot;font-size: 10.6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;color: rgb(169, 183, 198); font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt;&quot;&gt;3번 데이터 ( 4,  9 )&lt;/span&gt;&lt;font color=&quot;#a9b7c6&quot; face=&quot;Source Code Pro&quot;&gt;&lt;span style=&quot;font-size: 10.6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;color: rgb(169, 183, 198); font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt;&quot;&gt;4번 데이터 ( 5 , 11) &lt;/span&gt;&lt;/h3&gt;&lt;/pre&gt;&lt;p style=&quot;line-height: 1.2;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;h3&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;1) 일단 대입&lt;/span&gt;&lt;/h3&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&lt;u&gt;&lt;b&gt;1차원 직선 y = aX+b에 난수를 넣자.&lt;/b&gt;&lt;/u&gt; &lt;b&gt;[ a = 1, b = 10으로 가정]&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;&lt;b&gt;Y = 1X + 10 그래프임.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;1번 데이터의 X를 대입 &amp;nbsp;y = 1 * (2) + 10 , y = 12&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;2번 데이터의 X를 대입 y = 1 * (3) + 10, y = 13&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;3번 데이터를 X를 대입 y = 1 * (4) + 10, y = 14&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;4번 데이터를 X를 대입 y = 1 * (5) + 10 y = 15&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;데이터를 보면 &lt;b&gt;Y는 [5, 7, 9, 11]&lt;/b&gt;이 나옴. 하지만 &lt;b&gt;Y = 1X + 10의 식으로 계산하면 [12, 13, 14, 15]&lt;/b&gt;가 나옴&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;h3&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;2) 오차를 구하자.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h3&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&lt;b&gt;오차는???&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;정답이 되어야할 값 [5, 7, 9 , 11]에서 식에서 나온 값&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;[12, 13, 14&lt;/span&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;, 15]를 빼고 제곱을 함.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;[ -7, -6, -5, -4 ] &amp;gt; [ 49, 36, 25, 16 ]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;&lt;b&gt;제곱을 하는 이유는???&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;제곱을 함으로 방향이 없어짐. 오차가 마이너스 값이든 플러스 값이든 생각할 필요없이 0에 가까울수록 오차가 줄어든다는 것을 알 수 있음.&lt;/span&gt;&lt;/p&gt;&lt;h3&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;오차의 합을 구함&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;오차의 합은 126&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;오차의 제곱의 합이 최소가 되도록 하는 방법을 최소자승법이라고 함&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 15.21px; font-weight: normal;&quot;&gt;위키피디아&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://ko.wikipedia.org/wiki/%EC%B5%9C%EC%86%8C%EC%A0%9C%EA%B3%B1%EB%B2%95&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot; style=&quot;font-size: 15.21px; font-weight: normal;&quot;&gt;&amp;lt;최소자승법 설명&amp;gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;오차의 평균을 구함&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;평균은 126/4 = 31.5&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;이것을 평균제곱오차(Mean Square Error)라고 함.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 15.21px; font-weight: normal;&quot;&gt;위키피디아&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://en.wikipedia.org/wiki/Mean_squared_error&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot; style=&quot;font-size: 15.21px; font-weight: normal;&quot;&gt;&amp;lt; Mean Square Error&amp;gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 13px; font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;오차의 평균이 작을수록 데이터에 맞는 직선임.&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/h3&gt;&lt;h3&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;3) 오차의 평균이&lt;/span&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;최소가 되로록 Gradient Descent&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;Gradient Descent는 경사하강법이라고 하며, Gradient의 반대방향으로 이동하면서 최소값을 구할 수 있는 방법임.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;여기서 오차를 Cost, Loss라 하며,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;mean을 구하는 식(함수)을 Cost&lt;/span&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;&amp;nbsp;Fucntion 또는 Loss Function으로 정의함.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;Cost Function, Loss Function을 최소화 하는 값을 찾아야함. 평가함수라고도 함.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;다시 정리하면&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;비용을 구하기 위한 방법, 비용이 최소화되는지 평가하는 함수.&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;말들이 너무 어렵....&lt;/span&gt;&lt;/div&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;아래는 오차, 오차의 합, 오차의 평균을 구하는 식.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5; text-align: center; clear: none; float: none;&quot;&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/2339673F58F8B37C0B&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28Error%5Cquad%20%3D%5Cquad%20%7B%20%5BY%5Cquad%20-%5Cquad%20%28aX%5Cquad%20+%5Cquad%20b%29%5D%20%7D%5E%7B%202%20%7D%5C%5C%20%5C%5C%20Total%5Cquad%20Error%5Cquad%20%3D%5Cquad%20%5Csum%20%7B%20%7B%20%5BY%5Cquad%20-%5Cquad%20%28aX%5Cquad%20+%5Cquad%20b%29%5D%20%7D%5E%7B%202%20%7D%20%7D%20%5C%5C%20%5C%5C%20Mean%5Cquad%20%3D%5Cquad%20%5Csfrac%20%7B%202%20%7D%7B%20n%20%7D%20%5Csum%20%7B%20%7B%20%5BY%5Cquad%20-%5Cquad%20%28aX%5Cquad%20+%5Cquad%20b%29%5D%20%7D%5E%7B%202%20%7D%20%7D%20%5C%5C%20%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A14%2C%0A0xFFFFFF&quot; width=&quot;349&quot; height=&quot;199&quot;&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;b style=&quot;font-size: 11pt;&quot;&gt;왜 평균은 2/n일까는 밑에서 설명하겠음.&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;b style=&quot;font-size: 14.6667px;&quot;&gt;이제 Mean의 식에서 a, b로 편미분을 함.&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5; text-align: center; clear: none; float: none;&quot;&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/2250103658F8C6B601&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28%5Csfrac%20%7B%202%20%7D%7B%20n%20%7D%20%5Csum%20%7B%20%7B%20%5B%5Cquad%20Y%5Cquad%20-%5Cquad%20%28aX+b%29%5D%20%7D%5E%7B%202%20%7D%20%7D%20%5Cquad%20%3D%5Cquad%20%5Csfrac%20%7B%202%20%7D%7B%20n%20%7D%20%5Csum%20%7B%20%7B%20Y%20%7D%5E%7B%202%20%7D%5Cquad%20-%5Cquad%202Y%28aX+b%29%5Cquad%20+%5Cquad%20%7B%20%28aX+b%29%20%7D%5E%7B%202%20%7D%20%7D%20%5Cquad%20%5C%5C%20%5C%5C%20%5Cfrac%20%7B%20%5Cpartial%20%20%7D%7B%20%5Cpartial%20a%20%7D%20%5Cquad%20%3D%5Cquad%20%5Cquad%20%5Csfrac%20%7B%201%20%7D%7B%20n%20%7D%20%5Csum%20%7B%20-X%28Y-%28aX+b%29%20%7D%20%5C%5C%20%5C%5C%20%5Cfrac%20%7B%20%5Cpartial%20%20%7D%7B%20%5Cpartial%20b%20%7D%20%5Cquad%20%3D%5Cquad%20%5Cquad%20%5Csfrac%20%7B%201%20%7D%7B%20n%20%7D%20%5Csum%20%7B%20-%28Y-%28aX+b%29%20%7D%20%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A14%2C%0A0xFFFFFF&quot; width=&quot;588&quot; height=&quot;222&quot;&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;편미분 과정에서 2/n이 1/n으로 바뀌면서 식이 깔끔해짐.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;&lt;b&gt;계산의 편의를 위해 2를 넣는거임. ( * 안넣어도 상관없음.)&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;a와 b로 편미분 함으로&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;평가함수에서 a의 변화량, b의 변화량을 구할 수 있음.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;비용함수가 최소가 되도록 a와 b의 기울기 반대 방향으로 내려가야함.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;왜 반대방향인지 이해를 돕기위해 링크 첨부함.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;a href=&quot;http://nobilitycat.tistory.com/entry/Gradient-Descent&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;lt; 알고리즘 설명&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;위 링크의 설명대로 반대 방향으로 쭉!! 가다보면 최소값을 찾을 수 있음.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;근데 그냥 가다보면이 아니라 learningrate(학습율) 와 변화량만큼 이동함.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;그 이유는 너무 많이 이동하면 최소가 되는 지점을 지나칠 수 있음.&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;최종적으로&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5; text-align: center; clear: none; float: none;&quot;&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/25274A3B58F8D43F30&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28a%5Cquad%20%3D%5Cquad%20a%5Cquad%20-%5Cquad%20lr%5Cquad%20*%5Cquad%20%5B%5Csfrac%20%7B%201%20%7D%7B%20n%20%7D%20%5Csum%20%7B%20-X%28Y-%28aX+b%29%20%7D%20%5D%5C%5C%20b%5Cquad%20%3D%5Cquad%20b%5Cquad%20-%5Cquad%20lr%5Cquad%20*%5Cquad%20%5B%5Csfrac%20%7B%201%20%7D%7B%20n%20%7D%20%5Csum%20%7B%20-%28Y-%28aX+b%29%20%7D%20%5D%5Cquad%20%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A14%2C%0A0xFFFFFF&quot; width=&quot;354&quot; height=&quot;88&quot;&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;설명이 많이 부족.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;글로 이해가 안되면 코드를 참조&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;h3&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;4&lt;/span&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;) 구현&lt;/span&gt;&lt;/h3&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;언어 : 파이썬&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;python&quot;&gt;import random
size = 4.
dataset_x = [2, 3, 4, 5]
dataset_y = [5, 7, 9, 11]
learning_rate = 0.01
repeat = 10000

def grading_descent(a, b):
	move_a = 0
	move_b = 0
	for x, y in zip(dataset_x, dataset_y):
		move_a +=  (1 / size) * ( (-x)  *  ( y- (a * x) - b) )
		move_b +=  (1 / size) * ( (-1)  *  (y - (a * x) - b) )
	a = a - learning_rate * move_a
	b = b - learning_rate * move_b

	return a, b

if __name__ == '__main__':
	
	a = random.random()
	b = random.random()
	for i in range(repeat):
		new_a, new_b = grading_descent(a, b)
		a = new_a
		b = new_b	

	print a
	print b

&lt;/code&gt;&lt;/pre&gt;


&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 1.5;&quot;&gt;&lt;font color=&quot;#222222&quot; face=&quot;sans-serif&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/font&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>ML</category>
      <author>개발자입니다.</author>
      <guid isPermaLink="true">https://jihoonlee.tistory.com/3</guid>
      <comments>https://jihoonlee.tistory.com/3#entry3comment</comments>
      <pubDate>Thu, 20 Apr 2017 23:14:32 +0900</pubDate>
    </item>
    <item>
      <title>Linear Classifier</title>
      <link>https://jihoonlee.tistory.com/1</link>
      <description>&lt;h1&gt;&lt;u&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Linear Classifier&lt;/span&gt;&lt;/u&gt;&lt;/h1&gt;&lt;h2&gt;1. 개요&lt;/h2&gt;&lt;h2&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;color: rgb(37, 37, 37); font-family: sans-serif; font-size: 14px; line-height: 22.4px;&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;기계학습&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;분야에서&lt;/span&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp;통계적 분류&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(37, 37, 37); font-family: sans-serif; font-size: 14px; line-height: 22.4px;&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;는 개체의 속성을 이용하여 그 개체가 속하는 그룹, 또는 클래스를 판별하는 것을 목표로 한다.&lt;/span&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(37, 37, 37); font-family: sans-serif; font-size: 14px; line-height: 22.4px;&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;선형 분류&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(37, 37, 37); font-family: sans-serif; font-size: 14px; line-height: 22.4px;&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;에서는 주어진 속성의&lt;/span&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;https://ko.wikipedia.org/wiki/%EC%84%A0%ED%98%95%EA%B2%B0%ED%95%A9&quot; title=&quot;선형결합&quot; style=&quot;color: rgb(11, 0, 128); font-family: sans-serif; font-size: 14px; line-height: 22.4px; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;선형결합&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: rgb(37, 37, 37); font-family: sans-serif; font-size: 14px; line-height: 22.4px;&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;을 바탕으로 분류를 수행한다. 개체의 속성은&lt;/span&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp;피쳐 값&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(37, 37, 37); font-family: sans-serif; font-size: 14px; line-height: 22.4px;&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;이라고 부르기도 하는데, 보통&lt;/span&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp;피쳐 벡터&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: sans-serif; font-size: 12pt; line-height: 22.4px;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;라는 벡터 형태로 제공한다. &amp;nbsp;- 위키피디아 &lt;/span&gt;&lt;a href=&quot;https://ko.wikipedia.org/wiki/%EC%84%A0%ED%98%95_%EB%B6%84%EB%A5%98&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;lt; 선형분류 &amp;gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;h2&gt;&lt;/h2&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center; clear: none; float: none;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 640px;  height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/2223683B5785EF702C&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F2223683B5785EF702C&quot; width=&quot;640&quot; height=&quot;570&quot; filename=&quot;linear_classifier.png&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&amp;lt;그림 : 선형분류&amp;gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.2;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.2;&quot;&gt;&lt;span style=&quot;font-size:11pt;&quot;&gt;선형분류는 두 개의 집합(혹은 그 이상)&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;을 나눌 때 사용할 수 있다. 분류를 할 때 주로 Neural Network, SVM을&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;많이 사용하지만, 개인적인 생각이지만 가장 간단한&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Linear Classifier을 먼저&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;이해하고 neuraln&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;et이나 다른 머신러닝 알고리즘을 공부하는 것이 더 효율적인 것 같다.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.2;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.2;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;h2&gt;2. 방법&lt;/h2&gt;&lt;div&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;2차원 그래프 위에 두 집합의 특징을 나타내는&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;(X, Y)의 점들이 있을 때 사람은 두 집합을 분류하는 직선을 쉽게 그릴 수 있을 것이다. 하지만 컴퓨터는 직관적으로 두 집합을 구별할 수 없을 것이다. 컴퓨터가 두 집합을 나눌 수 있는 선을 그리려면 어떻게 해야 할까?&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;0)&amp;nbsp;데이터&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;총 4개의 데이터가 있고 각각 x, y, label(답)이 있다. 우리의 목표는 2차원 그래프에서&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;사람과 동물을 나누는 하나의 선을 찾는 것이다.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;pre style=&quot;background-color: rgb(43, 43, 43);&quot;&gt;&lt;h3&gt;&lt;font color=&quot;#a9b7c6&quot; face=&quot;맑은 고딕, sans-serif&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;1번 데이터 x:&lt;/span&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;2.9781&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt; y:&lt;/span&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;4.5651&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt; label:사람&lt;/span&gt;&lt;/font&gt;&lt;font color=&quot;#a9b7c6&quot; face=&quot;Source Code Pro&quot;&gt;&lt;span style=&quot;font-size: 10.6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;color: rgb(169, 183, 198); font-family: '맑은 고딕', sans-serif; font-size: 11pt;&quot;&gt;2번 데이터 x:3.0357 y:3.3165 &lt;/span&gt;&lt;span style=&quot;color: rgb(169, 183, 198); font-family: '맑은 고딕', sans-serif; font-size: 11pt;&quot;&gt;label:사람&lt;/span&gt;&lt;font color=&quot;#a9b7c6&quot; face=&quot;Source Code Pro&quot;&gt;&lt;span style=&quot;font-size: 10.6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;color: rgb(169, 183, 198); font-family: '맑은 고딕', sans-serif; font-size: 11pt;&quot;&gt;3번 데이터 x:1.5841 y:3.3575 &lt;/span&gt;&lt;span style=&quot;color: rgb(169, 183, 198); font-family: '맑은 고딕', sans-serif; font-size: 11pt;&quot;&gt;label:동물&lt;/span&gt;&lt;font color=&quot;#a9b7c6&quot; face=&quot;Source Code Pro&quot;&gt;&lt;span style=&quot;font-size: 10.6pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;color: rgb(169, 183, 198); font-family: '맑은 고딕', sans-serif; font-size: 11pt;&quot;&gt;4번 데이터 x:2.0103 y:3.2039 label:동물&lt;/span&gt;&lt;/h3&gt;&lt;/pre&gt;&lt;p style=&quot;line-height: 1.2;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;h3&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;1) 로지스틱 함수를 이용하여 확률의 개념으로 바꾼다.&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;span style=&quot;font-size:11pt;&quot;&gt;로지스틱 함수는 아래의 2차원 그래프에서 아래의&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;그림처럼 완만한 곡선모양을 이룬다.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;로지스틱 함수에서 상수&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;e(exp)는 탄젠트 곡선의 기울기에서 유도되는 특정한 실수이다. &amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;로지스틱&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;함수 f(x)는 0과 1사이의 값을 가지므로 함수의 결과를 확률이라고 생각하자. 우리가 구해야 할 직선 ax+by+c를 로지스틱함수의 독립변수(입력값)&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;x라고 생각하자.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;p style=&quot;text-align: center; clear: none; float: none;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 327px;  height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/243A33435785F48A08&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F243A33435785F48A08&quot; width=&quot;327&quot; height=&quot;284&quot; filename=&quot;logistic_function.png&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 322px;  height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/210DA34C5785F6DB11&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F210DA34C5785F6DB11&quot; width=&quot;322&quot; height=&quot;265&quot; filename=&quot;logistic_function2.png&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;p style=&quot;text-align: center; clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;b&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;함수의 출력값은 1번데이터가 사람이라면 1에 가깝도록, 동물이라면 0에 가깝도록 a, b, c를 &amp;nbsp;바꿔야 한다.&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: 11pt; line-height: 1.2;&quot;&gt;만약 a,b,c의 값이 0.37, 1, -4일 때 직선은 0.37x+y-4가 된다. f(x)에 1번 데이터(사람)와 3번 데이터(동물)가 입력되었을 때 출력값을 확인해 보자.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: 11pt; line-height: 1.2;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: 11pt; line-height: 1.2;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: 11pt; line-height: 1.2;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;p style=&quot;line-height: 1.2; text-align: center; clear: none; float: none;&quot;&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/2220263B5785FE2D08&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28P%28%7B%20dataset%20%7D_%7B%201%20%7D%29%5Cquad%20%3D%5Cquad%20f%28%7B%20dataset%20%7D_%7B%201%20%7D%29%5Cquad%20%3D%5Cquad%20%5Cfrac%20%7B%201%20%7D%7B%201+%7B%20e%20%7D%5E%7B%20-%282.9784%5Ctimes%200.37+4.5651-4%29%20%7D%20%7D%20%5Cquad%20%3D%5Cquad%200.8314%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A14%2C%0A0xFFFFFF&quot; width=&quot;599&quot; height=&quot;60&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;line-height: 1.2; text-align: center; clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.2; text-align: center; clear: none; float: none;&quot;&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/237AD93C5785FE1F0D&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28P%28%7B%20dataset%20%7D_%7B%203%20%7D%29%5Cquad%20%3D%5Cquad%20f%28%7B%20dataset%20%7D_%7B%203%20%7D%29%5Cquad%20%3D%5Cquad%20%5Cfrac%20%7B%201%20%7D%7B%201+%7B%20e%20%7D%5E%7B%20-%281.5841%5Ctimes%200.37+3.3575-4%29%20%7D%20%7D%20%5Cquad%20%3D%5Cquad%200.4677%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A14%2C%0A0xFFFFFF&quot; width=&quot;599&quot; height=&quot;60&quot; style=&quot;line-height: 15.6px;&quot;&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.2; text-align: center; clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.2; text-align: center; clear: none; float: none;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px; line-height: 19.2px;&quot;&gt;P는 Probability의 약자이다.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.2;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.2;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;h3&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;2) 전체 확률이 최대가 되도록 해보자.&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size:11pt;&quot;&gt;label이 동물일 때의 P(X)의 값은 0에 가깝게 a, b, c를 수정한다고 하였다. &lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;확률 값이 최대가 되기 위해서는 label이 동물일 때는&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size:11pt;&quot;&gt;1-P(X)를 해주어야만&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&amp;nbsp;최대가 되는 확률을 구할 수 있다.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size:11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;1-P(X)를 정리해보자.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;p style=&quot;text-align: center; clear: none; float: none;&quot;&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/21040347578602DB2E&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%281-%5Cfrac%20%7B%201%20%7D%7B%201+%7B%20e%20%7D%5E%7B%20-x%20%7D%20%7D%20%5Cquad%20%3D%5Cquad%20%5Cfrac%20%7B%201+%7B%20e%20%7D%5E%7B%20-x%20%7D%20%7D%7B%201+%7B%20e%20%7D%5E%7B%20-x%20%7D%20%7D%20-%5Cfrac%20%7B%201%20%7D%7B%201+%7B%20e%20%7D%5E%7B%20-x%20%7D%20%7D%20%5C%5C%20%3D%5Cfrac%20%7B%20%7B%20e%20%7D%5E%7B%20-x%20%7D%20%7D%7B%201+%7B%20e%20%7D%5E%7B%20-x%20%7D%20%7D%20%5Cquad%20%3D%5Cquad%20%5Cfrac%20%7B%20%7B%20e%20%7D%5E%7B%20-x%20%7D%5Ctimes%20%7B%20e%20%7D%5E%7B%20x%20%7D%5Cquad%20%20%7D%7B%20%281+%7B%20e%20%7D%5E%7B%20-x%20%7D%29%7B%20e%20%7D%5E%7B%20x%20%7D%20%7D%20%5C%5C%20%3D%5Cfrac%20%7B%201%20%7D%7B%201+%7B%20e%20%7D%5E%7B%20x%20%7D%20%7D%20%5C%5C%20%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A14%2C%0A0xFFFFFF&quot; width=&quot;287&quot; height=&quot;221&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;사람일 때는 label을 1, 동물일때는 label을 -1로 지정해주면 전체 확률의 곱은 a, b, c가 알맞은 값일 수록 1에 가까울 것이다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center; clear: none; float: none;&quot;&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/226F223F57860A7834&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28argmax%5Cquad%20%5Cprod%20%7B%20P%28label%7CX%29%20%7D%20%5Cquad%20%3D%5Cquad%20%5Cprod%20%7B%20%5Cfrac%20%7B%201%20%7D%7B%201+%7B%20e%20%7D%5E%7B%20%28-label%5Ctimes%20%28ax+by+c%29%29%20%7D%20%7D%20%20%7D%20%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A14%2C%0A0xFFFFFF&quot; width=&quot;455&quot; height=&quot;60&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: 14.6667px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;3) neagtive log likelihood로 바꿔준다.&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;위의 수식에서 양변에 로그를 취힌다. 로그를 취하는 이유는 underflow를 피하기 위해서이다.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center; clear: none; float: none;&quot;&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/216D044157860A6F0F&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28argmax%5Cquad%20log%5Cprod%20%7B%20P%28label%7CX%29%20%7D%20%5Cquad%20%3D%5Cquad%20%5Csum%20%7B%20-log%281+%7B%20e%20%7D%5E%7B%20%28-label%5Ctimes%20%28ax+by+c%29%29%20%7D%20%7D%20%29%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A14%2C%0A0xFFFFFF&quot; width=&quot;515&quot; height=&quot;36&quot; style=&quot;text-align: center;&quot;&gt;&lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;argmax는&amp;nbsp;함수를 최대로 하는 값을 찾는다는 의미이다.&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; line-height: 19.2px;&quot;&gt;이제 &lt;span style=&quot;font-family: '맑은 고딕', sans-serif;&quot;&gt;양변에 -1(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt; line-height: 19.2px; font-family: '맑은 고딕', sans-serif;&quot;&gt;negative)&lt;/span&gt;&lt;span style=&quot;font-size: 11pt; line-height: 19.2px; font-family: '맑은 고딕', sans-serif;&quot;&gt;을 곱해주어 최대값을 찾는문제를 최소값을 찾는 문제로 바꿔준다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; line-height: 19.2px; font-family: '맑은 고딕', sans-serif;&quot;&gt;negative로 만들어주는 이유는 &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-family: 나눔고딕, NanumGothic, 'Apple SD Gothic Neo', 돋움, dotum, Arial, sans-serif; font-size: 11pt; line-height: 20px;&quot;&gt;&lt;span style=&quot;font-size: 11pt; font-family: '맑은 고딕', sans-serif;&quot;&gt;op&lt;/span&gt;&lt;span style=&quot;font-family: '맑은 고딕', sans-serif;&quot;&gt;timization problem이 전부 minimum을 구하기 때문에, 여기서도 negative로 바꿔줘야 arg max가 arg min으로 바뀐다고 한다.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: '맑은 고딕', sans-serif; line-height: 22.4px; font-size: 11pt;&quot;&gt;&amp;nbsp;- &lt;a href=&quot;http://khanrc.tistory.com/entry/likeihood-postierior-prior-MAP-MLE&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;출처&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: '맑은 고딕', sans-serif; line-height: 22.4px; font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14.6667px; line-height: 22.4px;&quot;&gt;마지막으로 수식은 아래와 같이 정리가 된다. L은 loss&amp;nbsp;function(손실함수) 혹은 cost function(비용함수)이라고 한다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-family: 나눔고딕, NanumGothic, 'Apple SD Gothic Neo', 돋움, dotum, Arial, sans-serif; font-size: 11pt; line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center; clear: none; float: none;&quot;&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/2150DB4657860A611A&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28L%5Cquad%20%3D%5Cquad%20%5Csum%20%7B%20log%281+%7B%20e%20%7D%5E%7B%20%28-label%5Ctimes%20%28ax+by+c%29%29%20%7D%20%7D%20%29%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A14%2C%0A0xFFFFFF&quot; width=&quot;275&quot; height=&quot;36&quot; style=&quot;text-align: center;&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; line-height: 19.2px;&quot;&gt;비용이 최소화될수록 a,b,c를 잘 찾은 것이다. 이제 a, b, c를 찾아보자.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h2&gt;&lt;span style=&quot;font-size: 16px; line-height: 19.2px;&quot;&gt;4) Gradient Descent(경사하강법)&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px; line-height: 19.2px;&quot;&gt;&lt;a href=&quot;http://darkpgmr.tistory.com/133&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Gradient Descent 참고 1&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://fermium.tistory.com/833&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot; style=&quot;font-size: 16px; line-height: 19.2px;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Gradient Descent 참고 2&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px; line-height: 19.2px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Gradient Descent란 미분을 하여 함수의 기울기를 구하고 기울기의 반대방향으로 조금씩 이동하여 최소값에 이를 때 까지 이를 반복하는 것이다.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center; clear: none; float: none;&quot;&gt;&lt;img class=&quot;txc-formula&quot; src=&quot;https://t1.daumcdn.net/cfile/tistory/2124DC3E57860F2B32&quot; historydata=&quot;%3Cflashrichtext%20version%3D%221%22%3E%0A%20%20%3Ctextformat%20font%3D%22Dotum%22%20size%3D%2216%22%20color%3D%222236962%22%20bold%3D%22false%22%20italic%3D%22false%22%20underline%3D%22false%22%20url%3D%22%22%20target%3D%22transparent%22%20align%3D%22left%22%20leftMargin%3D%2225%22%20rightMargin%3D%2225%22%20indent%3D%220%22%20leading%3D%220%22%20blockIndent%3D%220%22%20kerning%3D%22true%22%20letterSpacing%3D%220%22%20display%3D%22block%22%3E%28%5Ctriangledown%20L%5Cquad%20%3D%5Cquad%20%5Cleft%5B%20%5Cfrac%20%7B%20%5Cpartial%20L%20%7D%7B%20%5Cpartial%20a%20%7D%20%5C%5C%20%5Cfrac%20%7B%20%5Cpartial%20L%20%7D%7B%20%5Cpartial%20b%20%7D%20%5C%5C%20%5Cfrac%20%7B%20%5Cpartial%20L%20%7D%7B%20%5Cpartial%20c%20%7D%20%20%5Cright%5D%20%29%3C/textformat%3E%0A%3C/flashrichtext%3E%2C%0A14%2C%0A0xFFFFFF&quot; width=&quot;141&quot; height=&quot;182&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; line-height: 19.2px;&quot;&gt;Gradient를&amp;nbsp;구하고, 학습률(LearningLate)를 조절하여 a, b, c를 구하면 된다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;주의사항은 Graident를 모두 구하고 a, b, c를 한번에 업데이트 해야한다.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center; clear: none; float: none;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 410px;  height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/236111415786103C38&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F236111415786103C38&quot; width=&quot;410&quot; height=&quot;223&quot; filename=&quot;gradient.png&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px; line-height: 19.2px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px; line-height: 19.2px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px; line-height: 19.2px;&quot;&gt;코드와 학습데이터를 첨부하였으니 이해가 가지 않으면 참고하자.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px; line-height: 19.2px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.2;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block;   height: auto; max-width: 100%;&quot;&gt;&lt;a href=&quot;https://t1.daumcdn.net/cfile/tistory/236AA9455786113222&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://i1.daumcdn.net/cfs.tistory/v/0/blog/image/extension/zip.gif&quot; style=&quot;vertical-align: middle;&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot;/&gt;LinearClassfier.zip&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.2;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.2;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;</description>
      <category>ML</category>
      <author>개발자입니다.</author>
      <guid isPermaLink="true">https://jihoonlee.tistory.com/1</guid>
      <comments>https://jihoonlee.tistory.com/1#entry1comment</comments>
      <pubDate>Wed, 13 Jul 2016 19:00:33 +0900</pubDate>
    </item>
  </channel>
</rss>