<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by 陳怡中 on Medium]]></title>
        <description><![CDATA[Stories by 陳怡中 on Medium]]></description>
        <link>https://medium.com/@nk7260ynpa?source=rss-d9e6bdff0e80------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*RRmk1FM1ymaTvFxP.</url>
            <title>Stories by 陳怡中 on Medium</title>
            <link>https://medium.com/@nk7260ynpa?source=rss-d9e6bdff0e80------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 09:25:34 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nk7260ynpa/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Vim 基本指令]]></title>
            <link>https://nk7260ynpa.medium.com/vim-%E5%9F%BA%E6%9C%AC%E6%8C%87%E4%BB%A4-1988eaf3f77c?source=rss-d9e6bdff0e80------2</link>
            <guid isPermaLink="false">https://medium.com/p/1988eaf3f77c</guid>
            <category><![CDATA[vim]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[陳怡中]]></dc:creator>
            <pubDate>Sun, 20 Dec 2020 10:26:03 GMT</pubDate>
            <atom:updated>2020-12-20T10:27:02.969Z</atom:updated>
            <content:encoded><![CDATA[<p>Vim 是很方便的編輯器，特別是在Command Line Interface(CLI)相當好用，不需要跳出CLI即可使用。</p><h3>開啟檔案</h3><p>vim [filename]</p><h3>模式介紹</h3><p>在Vim中有兩種模式，1. 一般模式，2. 命令行模式，3. 輸入模式<br>可分別透過以下指令切換</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*msUtmRVdqfTI_bYtmKLZhQ.jpeg" /><figcaption>Vim 切換簡介</figcaption></figure><h4>輸入模式</h4><p>這模式是用來編輯文件的內容，其操作方式就如一般的txt編輯器。<br>在一般模式下可以透過主要可透過按 i 或 a 進入。</p><h4>命令列模式</h4><p>這模式中用來管理檔案本身，用來管理檔案的儲存及各種設定。<br>在一般模式下可以透過主要可透過按 : 進入。常見指令如下</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ebnKsSu-zzJ9wN6k7MBhuA.png" /></figure><h4>一般模式</h4><p>這模式中可用來管理內容與光標操作。<br>在其他模式模式下可以透過主要可透過按 Esc 進入。常見指令如下</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XmP1KS-84Nyelo3fyG50qA.png" /><figcaption>移動光標指令</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JNNg0fjgBZtRlOOxexhWGA.png" /><figcaption>光標字詞移動指令</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3gBmJFfpQ7hr9coD2i8OKw.png" /><figcaption>內容修改指令</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uWPh-Mp2ZWfSSanr3Dj7hA.png" /><figcaption>大範圍移動指令</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UDjwcLEw88Ak6ZnNL_Yvhg.png" /><figcaption>進入插入模式指令</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ts68r5VvV_Bvk92DL2XJKA.png" /><figcaption>搜尋指令</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1988eaf3f77c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Anaconda 安裝教學(MacOS)]]></title>
            <link>https://nk7260ynpa.medium.com/anaconda-%E5%AE%89%E8%A3%9D%E6%95%99%E5%AD%B8-macos-f59e744a2cb9?source=rss-d9e6bdff0e80------2</link>
            <guid isPermaLink="false">https://medium.com/p/f59e744a2cb9</guid>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[anaconda]]></category>
            <dc:creator><![CDATA[陳怡中]]></dc:creator>
            <pubDate>Wed, 17 Apr 2019 23:55:01 GMT</pubDate>
            <atom:updated>2019-04-17T23:55:01.335Z</atom:updated>
            <content:encoded><![CDATA[<h4>Anaconda介紹與安裝教學</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pingloANmARovN3b0m45jQ.png" /></figure><p>anaconda是一個模組包，這包把許多常用的模組和應用程式通通做成一包，像是Numpy、Pandas、Matplotlib、Scipy、scikit-learn、Jupyter notebook、IPython，建議使用此組合包，可以省去套件安裝問題。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zjeOo93B9hnTxHSwluv2-A.jpeg" /></figure><h3>安裝教學</h3><h4>方法一</h4><p>(1)下載Anaconda</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PZrC6t5U6bioX7vDpls4xQ.png" /><figcaption>到<a href="https://anaconda.org/">anaconda官方網站</a>點擊右上角 <strong>Download Anaconda</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qOf8lzE3WNm3ftPUVPqz0A.png" /><figcaption>進到下載頁面向下滑，確定下載為macOS版本，<br>下載 <strong>64-Bit Graphical Installer</strong></figcaption></figure><p>(2)依照以下指示安裝</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*97hxJq2d_NDVkF2JpWU0Jw.png" /><figcaption>點擊右下角 Continue</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gEM-6NRdjjvncK5MhKHWTg.png" /><figcaption>同意安裝</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*34DcnoSrbH-wrf-8MfGIGA.png" /><figcaption>點選Continue繼續</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PpXamYG44bF5Pn7CBr4QQA.png" /><figcaption>點擊安裝</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e03nz5fxyJo9Hwpv-Twgww.png" /><figcaption>安裝中…</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hzgGVdwfB69pYIfPmzXZUw.png" /><figcaption>這個頁面是廣告，點擊Continue即可</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZhUwNPa-yhStBvfzl70HJw.png" /><figcaption>安裝完成，結束</figcaption></figure><p>(3)測試是否安裝成功</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5plNAjX0Bk5UeBtOOkOKBw.png" /><figcaption>開啟Terminal，並打上ipython</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3DY8yTIYVlCDaldIabHYUw.png" /><figcaption>安裝成功則出現以上畫面</figcaption></figure><h4>方法二</h4><p>(1)下載Anaconda</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*auAsFd4dwO0Lc57kiMdMhw.png" /><figcaption>到<a href="https://anaconda.org/">anaconda官方網站</a>點擊右上角 <strong>Download Anaconda</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*00_z8vqpJSV5L2bzOEU7LQ.png" /><figcaption>進到下載頁面向下滑，確定下載為macOS版本，<br>下載 <strong>64-Bit Command LineInstaller</strong></figcaption></figure><p>(2)依照以下指示安裝</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gUNuCbID4OQQJZOV1LKSKg.png" /><figcaption>bash &lt;你要剛下載的檔案&gt;</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7lAKupzKEKk4pSEtf6YoTw.png" /><figcaption>此處點擊Enter即可</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NEKOF4ZpSlG0oDNEXXRc_w.png" /><figcaption>此處是授權協議，建議按q跳到最後即可</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vcsM9eE4-_QjOff0ZXR7Sw.png" /><figcaption>此處輸入yes，代表接受協議(不接受即無法安裝)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XaeWjteFl9xgTDOnaeLJ1w.png" /><figcaption>安裝中…</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3oJ9O43N_UoOMeQ1SmR-fw.png" /><figcaption>此處輸入yes來初始化</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kdNNv8PspbtAx_5eL0__HQ.png" /><figcaption>安裝完成</figcaption></figure><p>(3)測試是否安裝成功</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5plNAjX0Bk5UeBtOOkOKBw.png" /><figcaption>開啟Terminal，並打上ipython</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3DY8yTIYVlCDaldIabHYUw.png" /><figcaption>安裝成功則出現以上畫面</figcaption></figure><h3>附錄</h3><h4>舊版本下載頁面</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fDu7Hc6mWerIVSB03tnbKA.png" /><figcaption><a href="https://repo.continuum.io/archive/">https://repo.continuum.io/archive/</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f59e744a2cb9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[機器學習與條件機率相關問題]]></title>
            <link>https://nk7260ynpa.medium.com/%E6%A9%9F%E5%99%A8%E5%AD%B8%E7%BF%92%E8%88%87%E6%A2%9D%E4%BB%B6%E6%A9%9F%E7%8E%87%E7%9B%B8%E9%97%9C%E5%95%8F%E9%A1%8C-7d241728e7b4?source=rss-d9e6bdff0e80------2</link>
            <guid isPermaLink="false">https://medium.com/p/7d241728e7b4</guid>
            <dc:creator><![CDATA[陳怡中]]></dc:creator>
            <pubDate>Mon, 13 Aug 2018 18:49:40 GMT</pubDate>
            <atom:updated>2018-08-13T18:49:40.864Z</atom:updated>
            <content:encoded><![CDATA[<p>某班男生佔全班<strong>2/3</strong>，女生佔全班<strong>1/3</strong>。<br>若某次考試男生及格率為<strong>1/3</strong>，而女生及格率為<strong>1/2</strong><br>試問全班及格率為多少???</p><p>答案為</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/547/1*BspkK6wQL5P-ojFLHdRWsA.png" /></figure><p>也就是把 &#39;男生比例x男生及格率+女生比例 x 女生及格率&#39;即可</p><p>相當於在求下圖紅色區域所佔的比例(圖只是示意，不是實際大小)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*yeKsoU3BQoCNVCEQKq7xpQ.png" /></figure><p>那麼那麼? 若是我們知道有一人及格，那他是男生的機率是多少呢?</p><p>首先思考的是，及格是由(男生及格+女生及格)<br>所以只要計算 (男生及格 / 全部及格) 即可求出答案</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/958/1*tFC8-5yRKohJT2eRtoEWIg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TgTMoaepgQwcc7N6SxwYdw.png" /></figure><h3>引申為數學式</h3><p>P(C) = P(C|A) x P(A) + P(C|B) x P(B)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/934/1*DFYaILk8vTfiLG8CwaPRcQ.png" /></figure><p>此時條件為C求A的機率為何<br>P(A|C) =( P(C|A) x P(A)) / (P(C|A) x P(A) + P(C|B) x P(B))</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/988/1*NdTWNY4IBgEJlTnszxiZ9Q.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7d241728e7b4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[人工智慧相關免費數學資源]]></title>
            <link>https://nk7260ynpa.medium.com/%E4%BA%BA%E5%B7%A5%E6%99%BA%E6%85%A7%E7%9B%B8%E9%97%9C%E5%85%8D%E8%B2%BB%E8%B3%87%E6%BA%90-a3f5719beaf6?source=rss-d9e6bdff0e80------2</link>
            <guid isPermaLink="false">https://medium.com/p/a3f5719beaf6</guid>
            <dc:creator><![CDATA[陳怡中]]></dc:creator>
            <pubDate>Sat, 04 Aug 2018 02:45:56 GMT</pubDate>
            <atom:updated>2018-08-14T18:41:32.396Z</atom:updated>
            <content:encoded><![CDATA[<h4>1. 計算機概論</h4><p>計算機概論是電腦科學最基礎的課程，只要未來往電腦科學發展，這絕對是必讀的課程。</p><p><a href="http://ocw.aca.ntu.edu.tw/ntu-ocw/ocw/cou/101S210">計算機概論 - 臺大開放式課程 (NTU OpenCourseWare)</a></p><h4>2. 基礎數學</h4><p>Khan Academy 是全球著名的數學教學網站，未來若想往人工智慧發展，最少最少要修完Algebra I 跟 Algebra II。若是可以最好連同Calculus、Linear Algebra、Statistics都修完。</p><p><a href="https://www.khanacademy.org/">Client Challenge</a></p><h4>3. 描述統計、推論統計</h4><p>描述統計：基礎的統計課程，除了Standard error以外在高中都學過，不過還是建議重新聽一遍複習一下</p><p><a href="https://classroom.udacity.com/courses/ud827">Udacity</a></p><p>推論統計：稍微比描述統計還進階的基礎統計課程，在數據分析領域極為重要。</p><p><a href="https://classroom.udacity.com/courses/ud201">Udacity</a></p><h4>4. 機率論</h4><p>此刻課程是機率的基礎課程，在生活中極為實用，像我就用機率論去算中華電信499大概要等多久，不管有沒有要學人工智慧，都建議要學。</p><p><a href="https://www.coursera.org/learn/prob1">頑想學概率：機率一 | Coursera</a></p><p>機率二課程會用到微積分，建議學玩微積分再來學機率二</p><p><a href="https://www.coursera.org/learn/prob2">頑想學概率：機率二 | Coursera</a></p><h4>5. 線性代數</h4><p>線性代數可以說是人工智慧的及基礎課程，往此領域必定要學習。</p><p><a href="http://ocw.aca.ntu.edu.tw/ntu-ocw/ocw/cou/102S207">線性代數 - 臺大開放式課程 (NTU OpenCourseWare)</a></p><h4>6. 離散數學</h4><p><a href="http://ocw.nctu.edu.tw/course_detail.php?bgid=9&amp;gid=0&amp;nid=252">http://ocw.nctu.edu.tw/course_detail.php?bgid=9&amp;gid=0&amp;nid=252</a></p><h4>7. 高等微積分</h4><p><a href="http://ocw.aca.ntu.edu.tw/ntu-ocw/ocw/cou/101S130">http://ocw.aca.ntu.edu.tw/ntu-ocw/ocw/cou/101S130</a></p><h4>8. 多變量分析</h4><p><a href="http://ocw.nctu.edu.tw/course_detail.php?bgid=1&amp;gid=4&amp;nid=543&amp;page=1">http://ocw.nctu.edu.tw/course_detail.php?bgid=1&amp;gid=4&amp;nid=543&amp;page=1</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a3f5719beaf6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tensorflow Source code install]]></title>
            <link>https://nk7260ynpa.medium.com/tensorflow-source-code-install-5b64b95ba8bb?source=rss-d9e6bdff0e80------2</link>
            <guid isPermaLink="false">https://medium.com/p/5b64b95ba8bb</guid>
            <dc:creator><![CDATA[陳怡中]]></dc:creator>
            <pubDate>Thu, 02 Aug 2018 13:07:35 GMT</pubDate>
            <atom:updated>2018-08-02T13:07:35.705Z</atom:updated>
            <content:encoded><![CDATA[<p>在現今的社會中，許多人用Macbook編程，但是若只是用<br>sudo pip install tensorflow 則可能會跑出以下警告</p><p>The TensorFlow library wasn’t compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.</p><p>這個警告的原因是電腦沒有使用 SSE4.2 instructions的指示去做編譯，導致了你的電腦運算沒有辦法跑到最快。 這個時候你要用source code的安裝方式安裝。舉例來說：你去uniqlo買一件衣服跟你訂製了一件衣服，想必你訂製的衣服肯定更加合身，而source code安裝就是這個道理，為你的CPU打造一間專屬的衣服。</p><h3>開始安裝</h3><h4>1. 先下載Tensorflow</h4><p>在Terminal中輸入透過git下載tensorflow</p><pre><strong>git clone </strong><a href="https://github.com/tensorflow/tensorflow"><strong>https://github.com/tensorflow/tensorflow</strong></a></pre><h4>2. 切換資料夾</h4><p>輸入以下指令</p><pre><strong>cd tensorflow</strong></pre><h4>3. 安裝bazel</h4><p>根據以下網站的指示完成bazel安裝<br><a href="https://docs.bazel.build/versions/master/install.html">https://docs.bazel.build/versions/master/install.html</a></p><h4>4. 安裝相關的配件包</h4><p>接著需要安裝numpy dev pip wheel配件包，輸入2行以下指令即可(Python3)</p><pre><strong>sudo apt-get install python3-numpy python3-dev python3-pip python3-wheel</strong></pre><pre><strong>sudo pip install six numpy wheel</strong></pre><h4>5. 打包tensorflow</h4><p>在這階段bazel會開始打包tensorflow(這個指令就像是開始量身打造衣服)</p><pre>bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package</pre><p>這階段通常要很久，建議先去吃個飯</p><h4>6. 安裝tensorflow</h4><p>這時候會有個檔案是編譯完的tensorflow包接著輸入(就好比穿上這件衣服)</p><pre><strong>sudo pip install 你的檔名.whl</strong></pre><h4>7. 檢查安裝</h4><p>輸入以下程式碼</p><pre># Python<br>import tensorflow as tf<br>hello = tf.constant(&#39;Hello, TensorFlow!&#39;)<br>sess = tf.Session()<br>print(sess.run(hello))</pre><p>若沒跑出警告就成功囉。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5b64b95ba8bb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tensorflow-gpu 安裝教學]]></title>
            <link>https://nk7260ynpa.medium.com/tensorflow-gpu-%E5%AE%89%E8%A3%9D%E6%95%99%E5%AD%B8-1c002b159cc0?source=rss-d9e6bdff0e80------2</link>
            <guid isPermaLink="false">https://medium.com/p/1c002b159cc0</guid>
            <dc:creator><![CDATA[陳怡中]]></dc:creator>
            <pubDate>Wed, 01 Aug 2018 19:38:05 GMT</pubDate>
            <atom:updated>2018-08-01T19:38:05.089Z</atom:updated>
            <content:encoded><![CDATA[<p>由於近年來GPU的進步以及軟體的跟上，於是深度學習運算效率大量提升，若要進行深度學習的運算建議買一張Nvidia顯卡</p><h3>1. 購買顯卡</h3><p>在買顯卡前建議先參考此網站<a href="https://itw01.com/VAUKEOI.html">https://itw01.com/VAUKEOI.html</a>，除此之外還要再去<a href="https://developer.nvidia.com/cuda-gpus">Nvidia官方網站</a>確認該顯卡是否有支援深度學習，根據自己的需求去決定顯卡，接著再去<a href="https://www.coolpc.com.tw/evaluate.php">原價屋</a>購買顯卡。接著等二～三天等電腦送來即可。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0g5FsnDJhW5iE2NpMsvBYA.jpeg" /></figure><h3>2. 下載驅動程式</h3><p>(1)在Nvidia的網站下載驅動程式CUDA <br><a href="https://developer.nvidia.com/cuda-downloads">https://developer.nvidia.com/cuda-downloads</a></p><p>(2)在Nvidia網站下載另外一個驅動程式cudnn64_5.dll(免費下載，不過要登入)<br><a href="https://developer.nvidia.com/cudnn">https://developer.nvidia.com/cudnn</a></p><p>(3)CUDA安裝</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/607/1*trCDxxQEcCs9L8lvgHbToA.png" /><figcaption>下一步到底，BJ4</figcaption></figure><p>(4) 設定環境變數<br>Windows 介面：<br>編輯系統環境變數 &gt; 進階 &gt; 環境變數 &gt; 新增 &gt; 增加變數名稱(Path) &gt; <br>輸入路徑 &gt; 將cudnn放到此路徑</p><p>(5) 安裝tensorflow<br>在cmd介面中打上 <strong>pip install tensorflow-gpu</strong></p><p>(6) 測試安裝是否成功<br>打開cmd 輸入ipython， 輸入 <strong>import tensorflow as tf</strong> ，若沒出錯及安裝成功。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c002b159cc0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python 編程介面介紹]]></title>
            <link>https://nk7260ynpa.medium.com/python-%E7%B7%A8%E7%A8%8B%E4%BB%8B%E9%9D%A2%E4%BB%8B%E7%B4%B9-cc8db2da885?source=rss-d9e6bdff0e80------2</link>
            <guid isPermaLink="false">https://medium.com/p/cc8db2da885</guid>
            <dc:creator><![CDATA[陳怡中]]></dc:creator>
            <pubDate>Sat, 23 Jun 2018 09:50:30 GMT</pubDate>
            <atom:updated>2018-06-23T09:56:31.325Z</atom:updated>
            <content:encoded><![CDATA[<p>安裝完python以後，在開始編程以前，先針對常用的編成環境做介紹</p><h3>1. Python Console</h3><p>Python本身就有內建互動式介面，只要<strong>在Terminal輸入python</strong>就可以啟動</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FRzNwm1-_IOrU8b3FH5YEQ.png" /></figure><p>優點：即時回覆，若只要操縱幾行程式碼很方便使用<br>缺點：在編輯大型程式的時候不方便</p><h3>2. Ipython Console</h3><p>在安裝完anaconda後，其中有個應用程式是Ipython，在<strong>Terminal輸入ipython</strong>就可以開啟ipython介面。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x8k7_S8Lq7vN95xh3eDtdA.png" /></figure><p>優點：即時回覆，是python互動式介面的優化版<br>缺點：在編輯大型程式的時候不方便</p><h3>3. Jupyter notebook</h3><p>安裝完anaconda後，<strong>在Terminal輸入jupyter notebook</strong>即可開啟jupyter notebook。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*laX-Brv0WGsZtkTj852kBA.png" /></figure><p>點選右邊的new並選擇下方的Python(任何一項皆可)，便可新建一個jupyter notebook檔案。</p><p>開啟後後介面如下</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DgdwZUMyVZi-be0shNXNHw.png" /></figure><p>在這裡面每一個執行單位稱為一個cell，按下shift+Enter 即可執行cell，執行範例如下</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Uv0x1pyGmBwnAXG1oy6l-Q.png" /></figure><p>優點：可以邊執行邊進行編程，推薦用於機器學習，也可清楚顯示表格<br>缺點：快捷鍵設定不方便</p><h3>4. <a href="https://www.jetbrains.com/pycharm/">Pycharm</a></h3><p>Pycharm是由JetBrain開發的大型IDE若要編寫大型程式，若要編寫網站，建議使用此IDE。此外Pycharm有開源的社群版，有許多志願者有開發相關插件。下載位置：<a href="https://www.jetbrains.com/pycharm/">https://www.jetbrains.com/pycharm/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ItRJezI8xwPaAMgTeRmnBQ.png" /></figure><p>優點：介面設定簡單，字體顏色舒服，切換虛擬環境方便<br>缺點：無法一邊執行，一邊修改code，若用以機器學習，每次執行要重新開 始學</p><h3>5. 其他大型IDE</h3><p>(1)Atom: <a href="https://atom.io/">https://atom.io/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*rhM_v0mwsD7mkeYRvJh02Q.jpeg" /></figure><p>(2)Sublime: <a href="https://www.sublimetext.com/">https://www.sublimetext.com/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/256/1*juoSVspxa-tcDmyNFDxWlQ.png" /></figure><p>(3)Spyder: anaconda內建的大型IDE，開啟anaconda應用程式即可看到</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*f5W83EhHEfhB9YnjNf97fw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cc8db2da885" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python 安裝教學]]></title>
            <link>https://nk7260ynpa.medium.com/python-%E5%AE%89%E8%A3%9D%E6%95%99%E5%AD%B8-2764e95d142c?source=rss-d9e6bdff0e80------2</link>
            <guid isPermaLink="false">https://medium.com/p/2764e95d142c</guid>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[陳怡中]]></dc:creator>
            <pubDate>Sat, 16 Jun 2018 08:34:27 GMT</pubDate>
            <atom:updated>2018-06-23T09:02:52.274Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>1.安裝Python</strong></h3><p>通常電腦是沒有內建Python或只有安裝舊版，所以在開始編程以前，要先安裝Python及其常用的模組。</p><p>(1)連上<a href="https://www.python.org/">官方網站</a>下載Python</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HkwDZJhvPttdb7E27LKvoQ.png" /></figure><p>(2) 開啟下載的程式開始安裝</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9qtwTF_fTGGJTipzop8Wbw.png" /><figcaption>這邊下一步到底(不解釋)(Mac)</figcaption></figure><p>(3)安裝測試，在Terminal輸入python，出現以下畫面表示成功</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8O-aF0GPZAxohoVr2WNE7Q.png" /></figure><h3><strong>2. 設定 pip install</strong></h3><p>Python的特色就是擁有許多方面的模組，但在使用模組之前要先安裝才能夠使用，接下來要介紹的是 簡單安裝這些模組</p><p>(1)在Terminal輸入 curl <a href="https://bootstrap.pypa.io/get-pip.py">https://bootstrap.pypa.io/get-pip.py</a> &gt; get-pip.py</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YcvyVTM46STjC1n2zX-mdA.png" /><figcaption>這一步的目的是下載 get-pip.py</figcaption></figure><p>(2)輸入 sudo python get-pip.py 以安裝 pip install功能</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*022lhYMSb6l4oKoRmjhVHg.png" /><figcaption>這一步是要安裝 pip install功能</figcaption></figure><p>(3)從此之後，要是想下載python模組只需要輸入 pip install `module`即可</p><h3><strong>3. 下載anaconda</strong></h3><p>anaconda是一個模組包，這包把許多常用的模組和應用程式通通做成一包，像是Numpy、pandas、Matplotlib、Scipy、scikit-learn、Jupyter notebook、IPython，一定要下載。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Byof61jJZVzFOk5Y3wp8_w.jpeg" /></figure><p>(1)到<a href="https://anaconda.org/">anaconda官方網站</a>下載安裝程式</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uGV2_gW7C93JNqt0zjb6RA.png" /></figure><p>(2)安裝anaconda</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0NqFm2ncDHWfMGmkSb3ulw.png" /><figcaption>一步到底，不解釋</figcaption></figure><p>(3)測試安裝結果，輸入ipython，若跑出以下畫面表示安裝成功</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F2VJC0gAfI56d2GuIUO7xw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2764e95d142c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>