<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Meng-Ru Tsai's Blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/mengtsai/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/mengtsai/feed.xml</link>
    <description>still thinking</description>
    <lastBuildDate>Tue, 16 Apr 2019 05:17:23 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>機器學習的生命週期作業：Machine Learning Operationalization</title>
      <link>https://docs.microsoft.com/archive/blogs/mengtsai/%E6%A9%9F%E5%99%A8%E5%AD%B8%E7%BF%92%E7%9A%84%E7%94%9F%E5%91%BD%E9%80%B1%E6%9C%9F%E4%BD%9C%E6%A5%AD%EF%BC%9Amachine-learning-operationalization</link>
      <pubDate>Sat, 29 Apr 2017 09:05:51 GMT</pubDate>
      <dc:creator><![CDATA[蔡孟儒 (Raymond)]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mengtsai/?p=1095</guid>
      <description><![CDATA[這篇文章會帶您透過幾個簡單的指令，快速的將 TensorFlow, CNTK 或是 Python 所建立的預測模型，部署到 Azure Container Service (ACS) 或...]]></description>
      <content:encoded><![CDATA[這篇文章會帶您透過幾個簡單的指令，快速的將 TensorFlow, <a href="https://www.microsoft.com/en-us/research/product/cognitive-toolkit/">CNTK</a> 或是 Python 所建立的預測模型，部署到 <a href="https://azure.microsoft.com/zh-tw/services/container-service/">Azure Container Service (ACS)</a> 或 <a href="https://azure.microsoft.com/zh-tw/services/hdinsight/">HDInsight Spark </a>上，以達到高擴充性的需求。

<a href="https://github.com/Azure/Machine-Learning-Operationalization">AML CLI </a>(Azure Machine Learning Command Line Interface) 是個全新的 Azure 機器學習指令集，目前是 preview 版本，目的在將機器學習的生命週期，例如 Experiment, Model training, Deployment, Management 等．能透過指令自動化流程處理。同時支援 CNTK, TenserFlow 等不同的機器學習框架，未來也將支援如 GPU/FPGA 等機器，協助資料科學家們對模型生命週期的訓練及管理。

<a href="https://github.com/Azure/Machine-Learning-Operationalization">GitHub</a> 上有完整範例及文件並隨時更新，已可在 Linux Data Science Virtual Machine (DSVM) 上使用。

<strong>環境準備</strong>

首先你需要有 Azure 訂用帳戶 (<a href="https://azure.microsoft.com/zh-tw/free/">取得訂用帳戶</a>)，然後依<a href="https://docs.microsoft.com/zh-tw/azure/machine-learning/machine-learning-data-science-linux-dsvm-intro">說明文件</a>建一個 DSVM 出來 (要完成以下練習，只要選擇最便宜的機器即可)。

透過 SSH 連線至 DSVM (可使用 <a href="https://docs.microsoft.com/zh-tw/azure/machine-learning/machine-learning-data-science-linux-dsvm-intro#installing-and-configuring-x2go-client">X2Go </a>或 <a href="https://docs.microsoft.com/zh-tw/azure/virtual-machines/linux/ssh-from-windows#use-putty-to-ssh-to-a-linux-machine">Putty </a>)後，執行以下指令:

$ wget -q https://amlsamples.blob.core.windows.net/scripts/amlupdate.sh -O - | sudo bash -

$ sudo /opt/microsoft/azureml/initial_setup.sh

<span style="text-decoration: underline">注意: 請登出再重新登入以讓改變有效</span>

接下來執行以下指令來設定 AML CLI 環境:

$ az login

$ aml env setup

以上指令會在這個 DSVM 中新增以下這些服務：
<ul>
 	<li>A resource group</li>
 	<li>A storage account</li>
 	<li>An Azure Container Registry (ACR)</li>
 	<li>An Azure Container Service (ACS)</li>
 	<li>Application insights</li>
</ul>
<span style="text-decoration: underline">注意:</span>
<ol>
 	<li><span style="text-decoration: underline">首先你會被要求到 <a href="https://aka.ms/devicelogin">https://aka.ms/devicelogin</a> 輸入一組代碼，再登入您的 Azure 帳號，確保你有足夠的權限新增服務。</span></li>
 	<li><span style="text-decoration: underline">得輸入小於20個字元、只能包含小寫字母及數字的環境名稱 (Environment names)。</span></li>
</ol>
之後你隨時可以執行以下指令來了解所有的環境設定:

$ aml env show

<a href="https://msdnshared.blob.core.windows.net/media/2017/04/amlenv1.png"><img width="2147" height="550" class="alignnone wp-image-185 size-full" alt="amlenv1" src="https://msdnshared.blob.core.windows.net/media/2017/04/amlenv1.png" /></a>

<strong>使用 Jupyter</strong>

身為資料科學家，您可以使用喜歡的 IDE 來寫作。若使用 Jupyter，在 DSVM 中是跑在 https://&lt;machine-ip-address&gt;:8000 ，請直接以瀏覽器打開並以登入 DSVM 的帳密登入。

在以下資料夾中可分別找到即時及批次服務的範例:

即時: azureml/realtime/realtimewebservices.ipynb notebook

批次: azureml/batch/batchwebservices.ipynb notebook

<a href="https://msdnshared.blob.core.windows.net/media/2017/04/jupyter1-1.png"><img width="250" height="419" class="alignnone wp-image-165" alt="jupyter1-1" src="https://msdnshared.blob.core.windows.net/media/2017/04/jupyter1-1-179x300.png" /></a>

照著步驟即可訓練出一個預測模型：

<a href="https://msdnshared.blob.core.windows.net/media/2017/04/jupyter2-1.png"><img width="500" height="375" class="alignnone wp-image-175" alt="jupyter2-1" src="https://msdnshared.blob.core.windows.net/media/2017/04/jupyter2-1-1024x768.png" /></a>

<strong>CNTK, TensorFlow 及 Python 範例</strong>
<ul>
 	<li><a href="https://github.com/Azure/Machine-Learning-Operationalization/blob/master/samples/cntk/tutorials/realtime">CNTK</a></li>
 	<li><a href="https://github.com/Azure/Machine-Learning-Operationalization/blob/master/samples/tensorflow/tutorials/realtime">Tensorflow</a></li>
 	<li><a href="https://github.com/Azure/Machine-Learning-Operationalization/blob/master/samples/python/tutorials/realtime">Python</a></li>
</ul>
<strong>利用 AML 部署</strong>

若是即時服務 (realtime)，會部署到 Azure Container Service (ACS)，若是批次服務 (batch) 會部署到 HDInsight Spark，以達成高擴充性及高可用性的目標，無論您的預測模型是由 TensorFlow、CNTK 或 Python 所建制的。

以 realtime 服務範例。SSH到DSVM後，切換到訓練出來的預測模型所在資料夾：

$ cd ~/notebooks/azureml/realtime

接下來執行以下指令，就能部署 realtime service 至所在的 DSVM：

$ aml env local

$ aml service create realtime -f testing.py -m housing.model -s webserviceschema.json -n mytestapp

部署成功後的畫面：

<a href="https://msdnshared.blob.core.windows.net/media/2017/04/amlenv2.png"><img width="500" height="317" class="alignnone wp-image-205" alt="amlenv2" src="https://msdnshared.blob.core.windows.net/media/2017/04/amlenv2-300x190.png" /></a>

你也可以執行以下指令，部署到 Azure Container Service (ACS) cluster 中：

$ aml env cluster

$ aml service create realtime -f testing.py -m housing.model -s webserviceschema.json -n mytestapp

<strong>了解更多 AML CLI 指令</strong>

在 <a href="https://github.com/Azure/Machine-Learning-Operationalization/blob/master/aml-cli-reference.md">https://github.com/Azure/Machine-Learning-Operationalization/blob/master/aml-cli-reference.md</a> 可看到所有的指令，例如可以執行

$ aml service list

會看到所有已部署的 realtime 或 batch 服務]]></content:encoded>
    </item>
    <item>
      <title>將你的網站轉為 Windows App- 使用 Windows App Studio</title>
      <link>https://docs.microsoft.com/archive/blogs/mengtsai/%E5%B0%87%E4%BD%A0%E7%9A%84%E7%B6%B2%E7%AB%99%E8%BD%89%E7%82%BA-windows-app-%E4%BD%BF%E7%94%A8-windows-app-studio</link>
      <pubDate>Thu, 28 Apr 2016 09:09:49 GMT</pubDate>
      <dc:creator><![CDATA[蔡孟儒 (Raymond)]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mengtsai/?p=1075</guid>
      <description><![CDATA[[感謝微軟學生大使、清華大學計量財務金融學系賴虹安同學，協助翻譯原發佈於 Building Apps for Windows 部落格中的文章：Building Hosted Web Apps with...]]></description>
      <content:encoded><![CDATA[[感謝<a href="https://www.facebook.com/MSPTaiwan/?fref=ts" target="_blank">微軟學生大使</a>、清華大學計量財務金融學系賴虹安同學，協助翻譯原發佈於 Building Apps for Windows 部落格中的文章：<a href="https://blogs.windows.com/buildingapps/2016/03/08/building-hosted-web-apps-with-windows-app-studio/" target="_blank">Building Hosted Web Apps with Windows App Studio</a>]

以下則是賴同學在 3 分鐘內，將自己的履歷網站轉為 Windows App 之經驗分享：
<iframe src="//www.slideshare.net/slideshow/embed_code/key/ePzdLn4T0I4JcN" width="595" height="485" frameborder="0" allowfullscreen="allowfullscreen"> </iframe>
<div style="margin-bottom: 5px"><strong> <a title="利用Windows app studio建立Hosted Web App" href="//www.slideshare.net/ssuserb61a90/windows-app-studiohosted-web-app" target="_blank">利用Windows app studio建立Hosted Web App</a> </strong> from <strong><a href="//www.slideshare.net/ssuserb61a90" target="_blank">賴 虹安</a></strong></div>
<div style="margin-bottom: 5px"></div>
<div style="margin-bottom: 5px"><span style="text-decoration: underline"><strong>將你的網站轉為 Windows App- 使用 Windows App Studio)</strong></span></div>
<div style="margin-bottom: 5px">如果你已經擁有自己的 Web App ，並且有公開的 URL ，那麼只要使用 <a href="https://appstudio.windows.com/zh-tw" target="_blank">Windows App Studio</a> (有中文介面) 裡的 Hosted Web App 範本，你就可以輕易地將它轉移成 Windows 10 的 App 。 Windows App Studio 這個線上服務，能讓無程式基礎的人也能輕鬆地創建 Windows 系統上的 App 。這篇文章將帶各位了解如何建立屬於自己的 Hosted Web App 。</div>
在 Windows App Studio 裡，你可以藉由範本或是空白的網頁畫布（ canvas ）於瀏覽器中創建原生 Windows 10 App ，接著加入所需資訊、數據、服務及風格設計等等。建立完成後，你就等於建構了一個 Visual Studio Solution 、側載套件（ Sideloading Package ）或發行套件（ Publishing Package ）的App，同時也代表著，你將接觸到 Windows Store 中超過 20 億個 Windows 10 裝置的使用者。
在眾多範本中，可讓無障礙網頁（ Accessible Websites ）及 Web App 發布至 Windows 上的便是 Hosted Web App （ HWA ）。它會要求你輸入Web App 的 URL 、新增 App 的圖示（ icon ）、確認所有設定、並準備發布至 Windows Store 。而這些步驟只會花費你一些時間即可完成。
底下這些生活日常所花費的時間甚至比建一個 HWA 的時間還多呢！例如：
 檢查 E-mail
 微波一袋爆米花
 逛逛百貨
 刷刷牙
 欣賞電視節目中的廣告片段（建 HWA 的最佳時間！）

所以如果你願意花 3 分鐘的時間來學習，那就讓我們開始吧！<img class="" src="https://az648995.vo.msecnd.net/win/2016/03/1_foursteps-1024x201.png" alt="1_foursteps" width="713" height="140" />

<strong>步驟 1 ：建立專案</strong>
如果你還沒用你的 Microsoft 帳號登入 Windows App Studio ，別擔心，這是一項完全免費的服務，成功登入後前往「 Start New Page 」，那裏就會有建立 HWP 的選項。

<img class="" src="https://az648995.vo.msecnd.net/win/2016/03/2_createyourHWA-1024x674.png" alt="2_createyourHWA" width="613" height="403" />

點選建立 Hosted Web App 後，會有一個彈出視窗，輸入你的Windows App 的名字後點擊「 Start with this one 」，而右側的裝置預覽（ device previews ）將會展示 App 在各式裝置螢幕上的呈現樣貌。

<img class="" src="https://az648995.vo.msecnd.net/win/2016/03/3_nametheapp-1024x557.png" alt="3_nametheapp" width="620" height="337" />

<strong>步驟 2 ：安裝 App</strong>
在建立專案後，你會前往內容編輯（ Content ）的頁面，在這個頁面你唯一需要做的事情便是輸入你想要轉換的網頁 URL 。

<img class="" src="https://az648995.vo.msecnd.net/win/2016/03/4_themanifest-1024x693.png" alt="4_themanifest" width="619" height="419" />

接著你可以選擇上傳安裝資訊檔（ Manifest ），或是你也可以定義新的URL 規則以及旋轉偏好（ rotation preference ），但是這些都是非強制性的喔！
在右方預覽的螢幕上，會顯示你的 HWA 在各式裝置螢幕上的顯現效果，如果你沒有預覽成功也不必擔心，這通常代表這個網站不被允許嵌入在iframe 裡，但仍然是可運作的喔！
在輸入 URL 及其他相關資訊後，你可能會想要更新 App 的預設 icon ，只要點擊 Content tab 裡導覽列上的 icon 就可以打開 icon 編輯器了。

<img class="" src="https://az648995.vo.msecnd.net/win/2016/03/5_iconeditor-1024x678.png" alt="5_iconeditor" width="624" height="413" />

接著點擊「 App Logo 」下方的圖標，就會打開一個資料夾，在裡頭你可以選擇你想要的 icon 來使用，上傳自己喜歡的 icon 後，這個工具將會自動產生各種 icon 大小供你使用。

最後，點擊「 Settings 」來編輯你的市集（ Store ）清單細節，例如： App 的描述、語言、市集相關細節、隱私條款，以及其他資訊等。在發布到市集前，你需要填妥市集相關資料，更多詳細發布指示請見<a href="https://appstudio.windows.com/zh-tw/home/howto#publish" target="_blank">文件</a> (中文)。

<img class="" src="https://az648995.vo.msecnd.net/win/2016/03/6_publishtostore1-1024x666.png" alt="6_publishtostore" width="618" height="402" />

<strong>步驟 3 ：建立 App</strong>
當你完成安裝設定後，點擊上方灰色「 Finish 」按鈕，你將被導入一個新的頁面，在此頁面你可以瀏覽你的 App 在各式裝置上的新樣貌，而你在這個頁面所需要做的事情，便是點擊上方「 Generate 」大按鈕，接著會打開一個彈出視窗，選擇你所要的產生的套件即可（ Visual Studio Solution 通常為預設選項）。
值得注意的一點是，為了能夠產生發行套件，你必須確實完成上述所提的市集相關資訊。

在所有步驟都結束後，按下「 Generate 」，等候一分鐘，你就可以擁有屬於自己的 App 囉！

<strong>結論</strong>
只要上述這些步驟，就能輕鬆在 Ｗindows App Studio 建立一個 HWA ，是不是非常簡單？
如果你在使用這個工具後有<a href="https://social.msdn.microsoft.com/forums/windowsapps/en-US/home?forum=wpappstudio" target="_blank">任何意見</a>，我們都非常歡迎你提出與我們分享喔！]]></content:encoded>
    </item>
    <item>
      <title>App 設計：我該從哪開始?</title>
      <link>https://docs.microsoft.com/archive/blogs/mengtsai/app-%E8%A8%AD%E8%A8%88%EF%BC%9A%E6%88%91%E8%A9%B2%E5%BE%9E%E5%93%AA%E9%96%8B%E5%A7%8B</link>
      <pubDate>Tue, 26 Apr 2016 03:44:27 GMT</pubDate>
      <dc:creator><![CDATA[蔡孟儒 (Raymond)]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mengtsai/?p=1045</guid>
      <description><![CDATA[[感謝微軟學生大使、清華大學計量財務金融學系賴虹安同學，協助翻譯原發佈於 Building Apps for Windows 部落格中的文章：Getting Started With App...]]></description>
      <content:encoded><![CDATA[[感謝<a href="https://www.facebook.com/MSPTaiwan/?fref=ts" target="_blank">微軟學生大使</a>、清華大學計量財務金融學系賴虹安同學，協助翻譯原發佈於 Building Apps for Windows 部落格中的文章：<a href="https://www.google.com.tw/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=4&amp;cad=rja&amp;uact=8&amp;ved=0ahUKEwicrpOrsKvMAhUHi5QKHVMOCX4QFgg0MAM&amp;url=https%3A%2F%2Fblogs.windows.com%2Fbuildingapps%2F2016%2F03%2F15%2Fgetting-started-with-app-design%2F&amp;usg=AFQjCNE5EFz7yQ9b1BeXzmYi6EIH-BMNxA&amp;sig2=YIidUAm_CxDRH4cz1Y74Qw" target="_blank">Getting Started With App Design</a>]

<img class=" alignnone" src="https://az648995.vo.msecnd.net/win/2016/03/appdesignHERO.png" alt="" width="427" height="407" />

在軟體產業裡，我們總是常常聽到設計者和程式開發者在溝通上有代溝，因次希望能藉由本篇文章，介紹大家一些設計 App 的小撇步，幫助大家設計出更吸引人、比別人更成功的 App，同時也能減少工程師和設計者之間的隔閡！

<span style="color: #3366ff"><strong>淺顯易懂的設計 Demystifying Design</strong></span>

就跟工程師一樣，「設計」也是需要藉由不停的練習，才能將自身的技能結合想傳達的資訊，完美的傳遞給使用者。一些基本的技能包括：
<ul>
	<li>排版 Typography</li>
	<li>色彩學 Color Theory</li>
	<li>視覺平衡 Visual Balance</li>
	<li>圖像研究 Iconography</li>
	<li>導航列設計 Navigation</li>
	<li>設計素描 Sketching</li>
</ul>
當你學會並且時常練習這些基礎功後，你將會發覺許多以往你可能忽略的色彩美學或排版技巧，甚至，你更有可能藉此知道往後該如何修正自己的 App，讓現有的作品擁有更美觀的視覺呈現。

<strong><span style="color: #3366ff">讓我們開始吧！Getting Started！</span></strong>

設計，絕不能等程式開發完的最後一刻才開始動工。做為一個 App 開發者，你可能已經發現 App 的功能和其設計息息相關。舉例來說，一旦你在功能選單放入太多項目，有些重要的功能常常在最後看起來已沒那麼重要；你也有可能發現，在設計完 App 的主視覺、編寫程式後，自己像是擁有兩個 App 而非一個。然而，設計者們卻有不少能力能解決上述這些狀況。

<strong>- 這個 App 的重點是什麼？</strong>

在開始著手設計前，請先記得了解自己的 App 的用途為何、你希望 App 使用者能夠如何使用。如果你是一個偏好視覺走向的開發者，那麼就想像這裡有一個完全空白的畫布，並且思考你要放什麼內容進去；如果你喜好利用語言、文字來表達，那麼建議你採用清單條列式來呈現。若你不屬於上述二者，那麼就先把所有你覺得你用的到的功能、希望的色彩和選單都先放上去。

接下來的重頭戲便是「簡化」。雖然這可能讓人心煩，尤其是在當你把所有心血都放上去後，但是現代 App 設計最重要也是唯一的大準則便是：化繁為簡。太多的重點和功能會混淆使用者，過多的畫面則會讓使用者難以瀏覽及記住剛剛瀏覽過的項目在哪，所以請開始動手「簡化」吧！

你可以畫一條線刪掉那些其實你並不需要的功能，然後再畫一條線，刪掉那些你覺得你需要但是其實並不適合其他清單上的項目；在反覆此步驟後，你就會發現你已經將你的 App 簡化成它最單純的樣子囉！

<strong>- 了解你的消費者</strong>

現在你需要了解你的 App 究竟是為誰而設計。

你的 App 是為孩童或是成人而設計？是為繁忙的專業人士還是賦閒在家的人所設計？這個 App 是用來做為科技知識突破所用還是給那些需要協助的人們所用？釐清這些問題將幫助你構思出整體外觀、給人的感覺以及排版設計。舉例來說，繁忙的專業人士沒有太多時間閱讀過多的文字，然而針對那些較少接觸科技的人來說，他們需要較多提示及線索來使用 App；此外，比起仿舊風，孩童大多較喜歡明亮的顏色設計。

<img class="" src="https://az648995.vo.msecnd.net/win/2016/03/2_inspiration.png" alt="2_inspiration" width="480" height="404" />

了解你的目標消費者後，起身去和他們聊天吧！不要覺得這個舉動很多此一舉，一旦你付出越多了解你的消費者，往後設計app時你將更得心應手。在和他們談話時，可以徵求他們的同意後，錄下談話時的影片並且觀察他們、詢問他們相關問題，從中發現他們希望從你的 App 中得到什麼樣的幫助或便利。

<strong>- 靈感啟發</strong>

記得主動找尋靈感！無論是蒐集照片、字體、名言佳句、文章、或是任何和你的 App 及消費者相關的設計，甚至是那些你驚鴻一瞥的小事物，把這些材料都拿來當作你設計及程式開發的靈感來源吧！當然，你得在原創作者同意下再把這些元素加入你的 App 裡。此外，你可以觀察其他已開發的同性質 App，同時思考是否有哪些地方是你可以做為借鏡，改善自己的 App。

<img src="https://az648995.vo.msecnd.net/win/2016/03/1_inspiration.png" alt="1_inspiration" />

同樣重要的是，別忘記繪製草稿！把握所有機會，拿起筆或是蠟筆在紙上畫下 App 的設計草圖，這同時也是幫助你的「設計腦」永保靈活的一項練習。將你所有草圖都保存在安全的地方，並在開發 App 進入尾聲時將當初的草圖們都拿出來溫習，你會很開心能看見這個 App 一路的蛻變。

<strong>- 原型開發</strong>

不論是畫草圖 (sketch) 還是線框稿 (wireframe)，根據消費者給你的意見回饋建構出各種不同的畫面設計，並且，想像消費者在執行任務時所會採用的流程。你可以使用任何對你有利的方法建構原型，假設對你而言在 Visual Studio 或 Blend 上做介面設計是較快速的，那麼就使用這些工具吧！但務必注意，在這個階段你不需要太專業的軟體或是具備非常頂尖的繪畫能力，使用記事本或是繪圖板就可以了。更棒的是，你可以直接在便利貼上設計你的 App，如此一來你就可以更輕易的移動畫面元件來看不同的排列組合所呈現出來的樣貌，你甚至可以在發現排列組合的結果不是你所期望後，輕鬆地把它們放回去。

如果你不確定該從何處下手，建議你可以先看看那些和你的 App 類似的作品並且發現是否有適合你的 App 的設計流程。

<img class="" src="https://az648995.vo.msecnd.net/win/2016/03/3_prototypes-1024x772.png" alt="3_prototypes" width="399" height="301" />

現在，試試看移動畫面上的元件，如果你原本是從上方導覽 (top navigation) 開始，那你可以改試著將導覽從左邊開始；如果你原本設計的介面是擁有大型的文字頁首 (header)，那你可以嘗試將他移到畫面的底端；按鈕 (buttons) 和內容儀表板 (content panels) 也可以隨意的移至其他地方；將文字和按鈕分離或是將連結 (links) 和文字分開；透過這些更動，你會在最後找到最適合這個 App 的設計。

<img class="" src="https://az648995.vo.msecnd.net/win/2016/03/4_sketching-1024x693.png" alt="4_sketching" width="487" height="330" />

<strong>- 鼓起你的勇氣</strong>

現在去找一些測試者 (至少5人)，請他們在看過你的原型 (prototype) 後給予你意見，在此強調，這種易用性測試 (usability testing) 或市場調查 (market research) 比起一般的問答測驗 (QA testing) 來的好。

<img class="" src="https://az648995.vo.msecnd.net/win/2016/03/5_iterate.png" alt="5_iterate" width="427" height="408" />

如果你找不到任何人願意協助你，那麼就試著想像自己是第一次使用這個 App，並思考這個 App給你的第一印象會是什麼？當你看著它是否就能夠猜出它的功能是什麼？是否就能了解下一步該怎麼做？

如果上述問題有任何答案是讓你不滿意的，那就再次拿起你的便利貼，重新尋找最佳的設計方法。先前那些你用來構思草圖的便利貼及付出的時間與心力都需要善加保存與紀錄，這些將協助你找到最終的完美解答。

<strong><span style="color: #3366ff">大功告成 Wrapping Up</span></strong>

在每一步驟開始前審慎思考 App的設計會幫助你判斷程式開發與介面設計相對應的優先順序。按照本篇文章的引導，你將可以更早發現問題並解決，同時避免往後可能面臨之一切重大錯誤。

若想獲得更多資訊，歡迎瀏覽「<a href="https://msdn.microsoft.com/en-us/windows/uwp/get-started/plan-your-app" target="_blank">Plan Your Universal Windows Platform (UWP) App</a>」。]]></content:encoded>
    </item>
    <item>
      <title>在 Azure Machine Learning 中處理影像資料 (以辨識人臉為例)</title>
      <link>https://docs.microsoft.com/archive/blogs/mengtsai/azure-machine-learning</link>
      <pubDate>Mon, 11 Jan 2016 00:29:45 GMT</pubDate>
      <dc:creator><![CDATA[蔡孟儒 (Raymond)]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mengtsai/2016/01/11/azure-machine-learning/</guid>
      <description><![CDATA[本文將使用 Azure Machine Learning Studio，一次匯入數張影像檔，再經由一個預先訓練過的模型，偵測這些影像中是否含有人臉。  步驟一：開通 Azure 「機器學習」帳號...]]></description>
      <content:encoded><![CDATA[<p><font size="1">本文將使用 </font><a href="https://studio.azureml.net/" target="_blank"><font size="1">Azure Machine Learning Studio</font></a><font size="1">，一次匯入數張影像檔，再經由一個預先訓練過的模型，偵測這些影像中是否含有人臉。</font></p>  <p><strong><font size="1">步驟一：開通 Azure 「機器學習」帳號</font></strong></p>  <blockquote>   <p><font size="1">1. 不需要信用卡就可以免費開始使用 Azure Machine Learning (</font><a href="https://studio.azureml.net/"><font size="1">https://studio.azureml.net/</font></a><font size="1">)：擁有 10GB Azure Storage 的 Datasets 空間、最多建制 100 modules 以及一小時的 Machine Learning experiments 時間。</font></p> </blockquote>  <blockquote>   <p><a href="https://studio.azureml.net/"><font size="1"><img title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/3487.image_6B75F90E.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/3487.image_5F00_6B75F90E.png" width="644" height="128" /></font></a></p> </blockquote>  <blockquote>   <p><font size="1">2. 如果你是成立不到五年的新創公司，可以免費申請 </font><a href="https://www.microsoft.com/taiwan/bizspark/about.htm"><font size="1">BizSpark</font></a><font size="1"> 方案，享有</font><a href="https://azure.microsoft.com/zh-tw/offers/ms-azr-0064p/"><font size="1">每個月 NT$4,700</font></a><font size="1"> 額度的 Azure credit。開通時亦無需輸入信用卡，所以沒有付費的風險。</font></p> </blockquote>  <blockquote>   <p><font size="1">3. 如果你是 MSDN 訂閱用戶，本來就有 Azure 免費額度，只要</font><a href="https://azure.microsoft.com/zh-tw/pricing/member-offers/msdn-benefits/"><font size="1">開通</font></a><font size="1">即可。</font></p>    <p><font size="1">4. 當然你也可以直接申請</font><a href="https://azure.microsoft.com/zh-tw/pricing/free-trial/"><font size="1">免費試用一個月</font></a><font size="1">，取得 NT$6,300 元的 Azure 信用額度。</font></p>    <p><font size="1">(如果你是學校老師或學生，有</font><a href="https://blogs.msdn.com/b/mengtsai/archive/2015/05/15/azure-campus-student-faculty.aspx"><font size="1">更多 Azure 免費資源</font></a><font size="1">)</font></p> </blockquote>  <p><font size="1"><strong>步驟二：選擇合適的照片上傳至 Azure Blob 儲存體</strong></font></p>  <p><font size="1">影像、音樂、影片等檔案通常較大，<a href="https://azure.microsoft.com/zh-tw/services/storage/" target="_blank">Azure Blob 儲存體</a>提供了便宜彈性的儲存空間，可作為 Azure Machine Learning 連結使用。</font></p>  <p><font size="1">首先我選擇了以下 4 張照片:</font></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/0726.image_24D414B5.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/0726.image_5F00_24D414B5.png"><font size="1"><img title="image" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/7851.image_thumb_316B42EE.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/7851.image_5F00_thumb_5F00_316B42EE.png" width="644" height="123" /></font></a></p>  <p><font size="1">然後將它們上傳至 Azure Blob (可見</font><a href="https://blogs.msdn.com/b/mengtsai/archive/2016/01/08/azure-azure-blob.aspx" target="_blank"><font size="1">此文</font></a><font size="1">有詳細的上傳步驟):</font></p>  <p><font size="1"><img alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/6283.image_thumb_53A75583.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/6283.image_5F00_thumb_5F00_53A75583.png" width="640" height="412" /></font></p>  <p><font size="1"><strong>步驟三：</strong><strong>匯入影像、偵測人臉</strong></font></p>  <p><font size="1">接下來我們要使用一個預先訓練過、用來<a href="https://msdn.microsoft.com/library/azure/403eb35a-83b2-4191-a212-7716292c7a5b" target="_blank">偵測人臉的分類模組</a>，並將影像檔作為資料源，逐一分析各影像裡是否含有人臉。當然未來你也可以利用 “Import Images” 模組所匯進來的影像，訓練出你自己的預測模型。</font></p>  <p><font size="1">登入 </font><a href="https://studio.azureml.net/" target="_blank"><font size="1">Azure ML Studio</font></a><font size="1">，在空白的 Experiment 裡拉進”</font><a href="https://msdn.microsoft.com/library/azure/403eb35a-83b2-4191-a212-7716292c7a5b" target="_blank"><font size="1">Pre-trained Cascade Image Classification</font></a><font size="1">”、“</font><a href="https://msdn.microsoft.com/en-us/library/azure/dn905877" target="_blank"><font size="1">Import Images</font></a><font size="1">”、”Score Model”以及 “Execute R Script” 模組，並連結如以下:</font></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/3364.image_4617CE72.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/3364.image_5F00_4617CE72.png"><font size="1"><img title="image" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/2476.image_thumb_5001E13F.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/2476.image_5F00_thumb_5F00_5001E13F.png" width="644" height="250" /></font></a></p>  <p><font size="1">在 “Import Images” 中設定你剛剛上傳影像的 Blob URL 位址。若你的 Blob 是設定為非公開存取的話，則需要再輸入帳號密碼。以 Public URL 為例：</font></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/8037.image_75FA2246.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/8037.image_5F00_75FA2246.png"><font size="1"><img title="image" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/2541.image_thumb_7BD9E741.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/2541.image_5F00_thumb_5F00_7BD9E741.png" width="644" height="150" /></font></a></p>  <p><font size="1">然後在 “Execute R Script” 模組中，貼入以下 R Script。其重點在 Line 4，這行程式是把偵測人臉預測結果的三個欄位取出來。</font></p>  <div id="codeSnippetWrapper" style="font-size: 8pt; overflow: auto; cursor: text; border-top: silver 1px solid; font-family: &#39;Courier New&#39;, courier, monospace; border-right: silver 1px solid; width: 97.5%; border-bottom: silver 1px solid; padding-bottom: 4px; direction: ltr; text-align: left; padding-top: 4px; padding-left: 4px; border-left: silver 1px solid; margin: 20px 0px 10px; line-height: 12pt; padding-right: 4px; max-height: 200px; background-color: #f4f4f4">   <div id="codeSnippet" style="border-top-style: none; font-size: 8pt; overflow: visible; border-left-style: none; font-family: &#39;Courier New&#39;, courier, monospace; width: 100%; border-bottom-style: none; color: black; padding-bottom: 0px; direction: ltr; text-align: left; padding-top: 0px; border-right-style: none; padding-left: 0px; line-height: 12pt; padding-right: 0px; background-color: #f4f4f4">     <pre style="border-top-style: none; font-size: 8pt; overflow: visible; border-left-style: none; font-family: &#39;Courier New&#39;, courier, monospace; width: 100%; border-bottom-style: none; color: black; padding-bottom: 0px; direction: ltr; text-align: left; padding-top: 0px; border-right-style: none; padding-left: 0px; margin: 0em; line-height: 12pt; padding-right: 0px; background-color: white"><font face="Arial"><font size="1"><span id="lnum1" style="color: #606060">   1:</span> # Map 1-based optional input ports to variables</font></font></pre>
<!--CRLF-->

    <pre style="border-top-style: none; font-size: 8pt; overflow: visible; border-left-style: none; font-family: &#39;Courier New&#39;, courier, monospace; width: 100%; border-bottom-style: none; color: black; padding-bottom: 0px; direction: ltr; text-align: left; padding-top: 0px; border-right-style: none; padding-left: 0px; margin: 0em; line-height: 12pt; padding-right: 0px; background-color: #f4f4f4"><font face="Arial"><font size="1"><span id="lnum2" style="color: #606060">   2:</span> dataset1 &lt;- maml.mapInputPort(1) # <span style="color: #0000ff">class</span>: data.frame</font></font></pre>
<!--CRLF-->

    <pre style="border-top-style: none; font-size: 8pt; overflow: visible; border-left-style: none; font-family: &#39;Courier New&#39;, courier, monospace; width: 100%; border-bottom-style: none; color: black; padding-bottom: 0px; direction: ltr; text-align: left; padding-top: 0px; border-right-style: none; padding-left: 0px; margin: 0em; line-height: 12pt; padding-right: 0px; background-color: white"><font face="Arial"><font size="1"><span id="lnum3" style="color: #606060">   3:</span>&#160; </font></font></pre>
<!--CRLF-->

    <pre style="border-top-style: none; font-size: 8pt; overflow: visible; border-left-style: none; font-family: &#39;Courier New&#39;, courier, monospace; width: 100%; border-bottom-style: none; color: black; padding-bottom: 0px; direction: ltr; text-align: left; padding-top: 0px; border-right-style: none; padding-left: 0px; margin: 0em; line-height: 12pt; padding-right: 0px; background-color: #f4f4f4"><font face="Arial"><font size="1"><span id="lnum4" style="color: #606060">   4:</span> data.set = data.frame(<span style="color: #006080">'Image Name'</span>=dataset1[<span style="color: #006080">'Image Name'</span>], <span style="color: #006080">'Score Labels'</span>=dataset1[<span style="color: #006080">'Scored Labels'</span>], <span style="color: #006080">'Label Probabilities'</span>=dataset1[<span style="color: #006080">'Scored Probabilities'</span>])</font></font></pre>
<!--CRLF-->

    <pre style="border-top-style: none; font-size: 8pt; overflow: visible; border-left-style: none; font-family: &#39;Courier New&#39;, courier, monospace; width: 100%; border-bottom-style: none; color: black; padding-bottom: 0px; direction: ltr; text-align: left; padding-top: 0px; border-right-style: none; padding-left: 0px; margin: 0em; line-height: 12pt; padding-right: 0px; background-color: white"><font face="Arial"><font size="1"><span id="lnum5" style="color: #606060">   5:</span>&#160; </font></font></pre>
<!--CRLF-->

    <pre style="border-top-style: none; font-size: 8pt; overflow: visible; border-left-style: none; font-family: &#39;Courier New&#39;, courier, monospace; width: 100%; border-bottom-style: none; color: black; padding-bottom: 0px; direction: ltr; text-align: left; padding-top: 0px; border-right-style: none; padding-left: 0px; margin: 0em; line-height: 12pt; padding-right: 0px; background-color: #f4f4f4"><font face="Arial"><font size="1"><span id="lnum6" style="color: #606060">   6:</span>&#160; </font></font></pre>
<!--CRLF-->

    <pre style="border-top-style: none; font-size: 8pt; overflow: visible; border-left-style: none; font-family: &#39;Courier New&#39;, courier, monospace; width: 100%; border-bottom-style: none; color: black; padding-bottom: 0px; direction: ltr; text-align: left; padding-top: 0px; border-right-style: none; padding-left: 0px; margin: 0em; line-height: 12pt; padding-right: 0px; background-color: white"><font face="Arial"><font size="1"><span id="lnum7" style="color: #606060">   7:</span> # Select data.frame to be sent to the output Dataset port</font></font></pre>
<!--CRLF-->

    <pre style="border-top-style: none; font-size: 8pt; overflow: visible; border-left-style: none; font-family: &#39;Courier New&#39;, courier, monospace; width: 100%; border-bottom-style: none; color: black; padding-bottom: 0px; direction: ltr; text-align: left; padding-top: 0px; border-right-style: none; padding-left: 0px; margin: 0em; line-height: 12pt; padding-right: 0px; background-color: #f4f4f4"><font face="Arial"><font size="1"><span id="lnum8" style="color: #606060">   8:</span> maml.mapOutputPort(<span style="color: #006080">&quot;data.set&quot;</span>);</font></font></pre>
<!--CRLF--></div>
</div>

<p><strong><font size="1">步驟四：執行結果</font></strong></p>

<p><font size="1">按下 Run，等待執行結束。</font></p>

<p><font size="1">我們先來看 “Import Images” 幫我們作了什麼事，選擇 Visualize 之後，會發現它幫<strong><u>每一個影像的每一個像素都轉換為 RGB 數值</u></strong>。觀察以下可發現，我們共匯入了 4 個影像，而因為每個影像是 640*427 像素，每一像素有 R, G, B 3 個值，所以每個影像後面有 640*427*3 = 819,480 個欄位：</font></p>

<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/4314.image_13FFE24E.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/4314.image_5F00_13FFE24E.png"><font size="1"><img title="image" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/2318.image_thumb_622CED18.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/2318.image_5F00_thumb_5F00_622CED18.png" width="644" height="332" /></font></a></p>

<p><font size="1">我們再到 “Execute R Script” 觀察最後執行結果。</font></p>

<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/1067.image_41144DCF.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/1067.image_5F00_41144DCF.png"><font size="1"></font><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/1106.image_1AD715D9.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/1106.image_5F00_1AD715D9.png"><img title="image" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/1460.image_thumb_3395574B.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/1460.image_5F00_thumb_5F00_3395574B.png" width="335" height="205" /></a></a></a></p>

<p><font size="1">看來這個預先訓練的人臉辨識模型準確度不錯，第 1 張小狗照片判斷沒有人臉 (false)，第 2 到 4 張都成功判別出有人臉 (true)。</font></p>

<p><img alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/7851.image_thumb_316B42EE.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/7851.image_5F00_thumb_5F00_316B42EE.png" /></p>

<p><font size="1"><strong>備註：</strong></font></p>

<p><font size="1">1. “Import Images” 支援下列的影像格式：</font></p>

<ul>
  <li><font size="1">Windows 點陣圖檔案：*.bmp、*.dib</font> </li>

  <li><font size="1">JPEG 檔案：*.jpeg、*.jpg、*.jpe</font> </li>

  <li><font size="1">JPEG 2000 檔案：*.jp2</font> </li>

  <li><font size="1">可攜式網路圖形：*.png</font> </li>

  <li><font size="1">可攜式影像格式：*.pbm、*.pgm、*.ppm</font> </li>

  <li><font size="1">Sun 點陣：*.sr、*.ras</font> </li>

  <li><font size="1">TIFF 檔案：*.tiff、*.tif</font> </li>
</ul>

<p><font size="1">2. 請注意影像檔及 Blob 的技術細節，匯入過程中出現的錯誤通常來自這些規範：</font></p>

<ul>
  <li><font size="1">所有影像必須相同大小。</font> </li>

  <li><font size="1">所有影像必須具有相同的色頻。例如，您不能混用灰階 與 RGB 影像。</font> </li>

  <li><font size="1">每個影像的像素數目有其上限 (實際測試發現其上限數目其實遠大於<a href="https://msdn.microsoft.com/en-us/library/azure/dn905877" target="_blank">官方文件</a>說的 65536)。 不過，影像數目不受任何限制。</font> </li>

  <li><font size="1">如果您是將 Blob Container 作資料來源，則此 Container 中不能包含 Blob，只能包含影像檔。</font> </li>
</ul>

<p><font size="1"></font></p>

<p><font size="1">3. “Import Images” 在第一次執行時會花較久的時間，但在影像 cached 之後即可省略匯入的動作。</font></p>

<p><font size="1"></font></p>

<p><font size="1"><strong>延伸閱讀：</strong></font></p>

<blockquote>
  <h6><a href="https://blogs.msdn.com/b/mengtsai/archive/2015/01/05/azure.aspx"><font size="1" face="Arial">Azure 「機器學習」初體驗</font></a></h6>

  <h6><a href="https://blogs.msdn.com/b/mengtsai/archive/2015/01/06/azure-faq.aspx" target="_blank"><font size="1" face="Arial">Azure 「機器學習」FAQ</font></a></h6>

  <h6><a href="https://blogs.msdn.com/b/mengtsai/archive/2015/01/08/azure-algorithms.aspx"><font size="1" face="Arial">Azure 「機器學習」：我該用哪種演算法 (algorithms)?</font></a></h6></blockquote>]]></content:encoded>
    </item>
    <item>
      <title>[Azure 筆記] 上傳檔案到 Azure Blob 儲存體</title>
      <link>https://docs.microsoft.com/archive/blogs/mengtsai/azure-azure-blob</link>
      <pubDate>Fri, 08 Jan 2016 01:28:09 GMT</pubDate>
      <dc:creator><![CDATA[蔡孟儒 (Raymond)]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mengtsai/2016/01/08/azure-azure-blob/</guid>
      <description><![CDATA[電腦裡有硬碟可以儲存照片、影片、MP3 等檔案，微軟的公有雲上也有專門用來儲存這種非結構化資料的儲存體 Azure Blob。本文是紀錄如何設定 Azure Blob 並上傳一些照片，以作為後續使用。...]]></description>
      <content:encoded><![CDATA[<p><font size="1">電腦裡有硬碟可以儲存照片、影片、MP3 等檔案，微軟的公有雲上也有專門用來儲存這種非結構化資料的儲存體 </font><a href="https://azure.microsoft.com/zh-tw/services/storage/blobs/" target="_blank"><font size="1">Azure Blob</font></a><font size="1">。本文是紀錄如何設定 Azure Blob 並上傳一些照片，以作為後續使用。</font></p>  <p><font size="1"><strong>步驟一：取得 Azure 帳號</strong></font></p>  <blockquote>   <p><font size="1">如果您還沒有 Azure 帳號:</font></p> </blockquote>  <ol>   <li><font size="1">可以直接申請</font><a href="https://azure.microsoft.com/zh-tw/pricing/free-trial/"><font size="1">免費試用一個月</font></a><font size="1">，取得 NT$6,300 元的 Azure 信用額度。 </font></li>    <li><font size="1">如果你是成立不到五年的新創公司，可以免費申請 </font><a href="https://www.microsoft.com/taiwan/bizspark/about.htm"><font size="1">BizSpark</font></a><font size="1"> 方案，享有</font><a href="https://azure.microsoft.com/zh-tw/offers/ms-azr-0064p/"><font size="1">每個月 NT$4,700</font></a><font size="1"> 額度的 Azure credit。開通時無需輸入信用卡，所以沒有付費的風險。 </font></li>    <li><font size="1">如果你是 MSDN 訂閱用戶，本來就有 Azure 免費額度，只要</font><a href="https://azure.microsoft.com/zh-tw/pricing/member-offers/msdn-benefits/"><font size="1">開通</font></a><font size="1">即可。 </font></li> </ol>  <p><font size="1"><strong>步驟二：登入至 </strong></font><a href="https://manage.windowsazure.com/" target="_blank"><font size="1"><strong>Azure 入口網站</strong></font></a><font size="1"><strong>，新增一個 Blob</strong></font></p>  <blockquote>   <p><font size="1">畫面左下角選擇 NEW –&gt; Storage –&gt; QUICK CREATE，給定一個 URL，建立一個 Storage。</font></p>    <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/2022.image_7DBC4F1E.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/2022.image_5F00_7DBC4F1E.png"><font size="1"><img title="image" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/5040.image_thumb_45365066.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/5040.image_5F00_thumb_5F00_45365066.png" width="648" height="377" /></font></a></p>    <p><font size="1">然後點選剛剛新增出來的 Storage，選擇 Container，並新增一個 Blob：</font></p>    <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/4212.image_7C355001.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/4212.image_5F00_7C355001.png"><font size="1"><img title="image" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/8420.image_thumb_186ABA42.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/8420.image_5F00_thumb_5F00_186ABA42.png" width="644" height="409" /></font></a></p>    <p><font size="1"></font></p>    <p><font size="1"></font></p>    <p><font size="1">至此，你已成功在 Azure 上建立了一個 Blob! 它的結構如以下，我們即可以開始上傳各種檔案。</font></p>    <p><font size="1"><a href="https://azure.microsoft.com/zh-tw/documentation/articles/storage-dotnet-how-to-use-blobs/" target="_blank"><img alt="Blob1" src="https://acom.azurecomcdn.net/80C57D/cdn/mediahandler/docarticles/dpsmedia-prod/azure.microsoft.com/en-us/documentation/articles/storage-dotnet-how-to-use-blobs/20151223054713/includes/storage-blob-concepts-include/blob1.jpg" /></a></font></p> </blockquote>  <p><font size="1"><strong>步驟三：上傳檔案到 Azure Blob</strong></font></p>  <blockquote>   <p><font size="1">網路上有許多類似「檔案總管」的 </font><a href="https://blogs.msdn.com/b/windowsazurestorage/archive/2014/03/11/windows-azure-storage-explorers-2014.aspx" target="_blank"><font size="1">Azure Storage 管理小工具</font></a><font size="1">，讓你能很簡單的上傳、下載、刪除、觀看檔案以及管理目錄。</font></p>    <p><font size="1">我從中挑了一個開放源碼的 </font><a href="https://azurestorageexplorer.codeplex.com/" target="_blank"><font size="1">Azure Storage Explore</font></a><font size="1"> 來使用。下載安裝之後，登入你的 Azure 帳號，瀏覽至剛剛建立的 Blob 中，點選 Upload 就能在硬碟中選擇你要上傳的檔案。</font></p>    <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/8117.image_1FAEA20F.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/8117.image_5F00_1FAEA20F.png"><font size="1"><img title="image" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/2845.image_thumb_4F4E8FA5.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/2845.image_5F00_thumb_5F00_4F4E8FA5.png" width="512" height="484" /></font></a></p>    <p><font size="1">回到 Azure 管理畫面，即可看到有 4 張照片已被上傳成功讓其他應用程式使用，例如：</font><a class="internal-link view-post" style="cursor: pointer; text-decoration: ; color: ; outline-width: medium; outline-style: none; outline-color: invert" href="https://blogs.msdn.com/b/mengtsai/archive/2016/01/11/azure-machine-learning-import-images-and-face-detection.aspx"><font color="#777777" size="1">在 Azure Machine Learning 中處理影像資料 (以辨識人臉為例)</font></a><font size="1">。</font></p>    <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/2728.image_5E400183.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/2728.image_5F00_5E400183.png"><font size="1"><img title="image" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/6283.image_thumb_53A75583.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/6283.image_5F00_thumb_5F00_53A75583.png" width="644" height="415" /></font></a></p> </blockquote>  <p><font size="1"></font></p>  <p><font size="1"></font></p>  <p><font size="1"></font></p>]]></content:encoded>
    </item>
    <item>
      <title>在 Excel 裡使用 Azure 「機器學習」預測服務</title>
      <link>https://docs.microsoft.com/archive/blogs/mengtsai/excel-azure</link>
      <pubDate>Thu, 17 Dec 2015 23:27:59 GMT</pubDate>
      <dc:creator><![CDATA[蔡孟儒 (Raymond)]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mengtsai/2015/12/17/excel-azure/</guid>
      <description><![CDATA[不需要會寫程式，現在只要打開 Excel 就能直接呼叫 Azure 「機器學習」的服務來作預測。  步驟一：到 Office 市集中下載免費的 Excel Azure ML 增益集 (Add-in)...]]></description>
      <content:encoded><![CDATA[<p><font size="2">不需要會寫程式，現在只要打開 Excel 就能直接呼叫 Azure 「機器學習」的服務來作預測。</font></p>  <p><strong><font size="2">步驟一：到 Office 市集中</font></strong><a href="https://store.office.com/azure-machine-learning-WA104379638.aspx?assetid=WA104379638&amp;sourcecorrid=6543fde5-6ae0-4172-a3a3-fdec8d2f77da&amp;searchapppos=0" target="_blank"><strong><font size="2">下載免費的 Excel Azure ML 增益集 (Add-in)</font></strong></a></p>  <p><font size="2">安裝時需要登入您的 Microsoft Account 帳號，日後不論您是使用 iOS、Android、桌面、甚至網頁版本的 Excel，就都能直接使用。</font></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/5353.image_2AA96D87.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/5353.image_5F00_2AA96D87.png"><font size="2"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/6254.image_40957088.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/6254.image_5F00_40957088.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/4150.image_thumb_673DB71B.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/4150.image_5F00_thumb_5F00_673DB71B.png" width="244" height="195" /></a></font></a></p>  <p><font size="2">(是的! 現在增益集可以發佈至 Office 市集進行銷售囉! 有興趣開發的人可以到 </font><a href="https://dev.office.com/" target="_blank"><font size="2">Office 開發官網</font></a><font size="2">了解)</font></p>  <p><strong><font size="2">步驟二：打開 Excel 並選擇此 Add-in</font></strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/8171.image5_3F53685A.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/8171.image5_5F00_3F53685A.png"><font size="2"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/7674.image5_3A07125A.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/7674.image5_5F00_3A07125A.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/8272.image5_thumb_58CAB8C5.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/8272.image5_5F00_thumb_5F00_58CAB8C5.png" width="244" height="212" /></a></font></a></p>  <p><strong><font size="2">步驟三：執行 (以「鐵達尼號生還率預測」為例)</font></strong></p>  <p><font size="2">各位可以先把以下資料複製後貼到 Excel，作為我們的預測資料。</font></p>  <table style="list-style-type: disc; border-collapse: collapse" cellspacing="0" cellpadding="0" width="696" border="0"><colgroup><col style="width: 60pt" width="80" /></colgroup><tbody>     <tr style="height: 10.5pt" height="14">       <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; background: #5b9bd5; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: #9bc2e6 0.5pt solid; padding-right: 1px; text-underline-style: none; text-line-through: none; mso-pattern: #5b9bd5 none" height="28" width="134">PassengerClass</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; background: #5b9bd5; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none; mso-pattern: #5b9bd5 none" width="68">Gender</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; background: #5b9bd5; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none; mso-pattern: #5b9bd5 none" width="38">Age</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; background: #5b9bd5; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none; mso-pattern: #5b9bd5 none" width="118">SiblingSpouse</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; background: #5b9bd5; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none; mso-pattern: #5b9bd5 none" width="103">ParentChild</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; background: #5b9bd5; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none; mso-pattern: #5b9bd5 none" width="86">FarePrice</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; background: #5b9bd5; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none; mso-pattern: #5b9bd5 none" width="147">PortEmbarkation</td>     </tr>      <tr style="height: 10.5pt" height="14">       <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; background: #ddebf7; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: #9bc2e6 0.5pt solid; padding-right: 1px; text-underline-style: none; text-line-through: none; mso-pattern: #ddebf7 none" height="28" width="133">2</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; background: #ddebf7; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none; mso-pattern: #ddebf7 none" width="68">female</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; background: #ddebf7; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none; mso-pattern: #ddebf7 none" width="39">40</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; background: #ddebf7; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none; mso-pattern: #ddebf7 none" width="118">2</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; background: #ddebf7; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none; mso-pattern: #ddebf7 none" width="103">1</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; background: #ddebf7; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none; mso-pattern: #ddebf7 none" width="86">50</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; background: #ddebf7; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none; mso-pattern: #ddebf7 none" width="147">C</td>     </tr>      <tr style="height: 10.5pt" height="14">       <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: #9bc2e6 0.5pt solid; padding-right: 1px; text-underline-style: none; text-line-through: none" height="28" width="133">1</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none" width="68">male</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none" width="40">20</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none" width="117">1</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none" width="103">3</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none" width="86">200</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none" width="147">C</td>     </tr>      <tr style="height: 10.5pt" height="14">       <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; background: #ddebf7; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: #9bc2e6 0.5pt solid; padding-right: 1px; text-underline-style: none; text-line-through: none; mso-pattern: #ddebf7 none" height="28" width="133">2</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; background: #ddebf7; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none; mso-pattern: #ddebf7 none" width="68">female</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; background: #ddebf7; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none; mso-pattern: #ddebf7 none" width="41">55</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; background: #ddebf7; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none; mso-pattern: #ddebf7 none" width="117">0</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; background: #ddebf7; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none; mso-pattern: #ddebf7 none" width="103">1</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; background: #ddebf7; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none; mso-pattern: #ddebf7 none" width="86">50</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; background: #ddebf7; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none; mso-pattern: #ddebf7 none" width="147">C</td>     </tr>      <tr style="height: 10.5pt" height="14">       <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: #9bc2e6 0.5pt solid; padding-right: 1px; text-underline-style: none; text-line-through: none" height="28" width="133">3</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none" width="68">female</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none" width="41">90</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none" width="117">4</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none" width="103">2</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none" width="86">50</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none" width="147">C</td>     </tr>      <tr style="height: 10.5pt" height="14">       <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; background: #ddebf7; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: #9bc2e6 0.5pt solid; padding-right: 1px; text-underline-style: none; text-line-through: none; mso-pattern: #ddebf7 none" height="28" width="133">1</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; background: #ddebf7; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none; mso-pattern: #ddebf7 none" width="68">male</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; background: #ddebf7; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none; mso-pattern: #ddebf7 none" width="41">20</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; background: #ddebf7; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none; mso-pattern: #ddebf7 none" width="117">2</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; background: #ddebf7; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none; mso-pattern: #ddebf7 none" width="103">1</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; background: #ddebf7; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none; mso-pattern: #ddebf7 none" width="86">90</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; background: #ddebf7; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none; mso-pattern: #ddebf7 none" width="147">C</td>     </tr>      <tr style="height: 10.5pt" height="14">       <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: #9bc2e6 0.5pt solid; padding-right: 1px; text-underline-style: none; text-line-through: none" height="28" width="133">1</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none" width="68">male</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none" width="41">2</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none" width="117">2</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none" width="103">2</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none" width="86">80</td>        <td class="xl65" style="text-decoration: ; border-top: #9bc2e6 0.5pt solid; font-family: ; border-right: medium none; vertical-align: bottom; border-bottom: #9bc2e6 0.5pt solid; color: ; padding-top: 1px; padding-left: 1px; border-left: medium none; padding-right: 1px; text-underline-style: none; text-line-through: none" width="147">C</td>     </tr>   </tbody></table>  <p>&#160;</p>  <p><font size="2">選擇「鐵達尼號生還率預測」服務 (Titanic Survivor Predictor) 後：</font></p>  <ol>   <li><font size="2">在 Input 選取以上這個表格 </font></li>    <li><font size="2">在 output 輸入 H1 欄位 </font></li>    <li><font size="2">然後按下 Predict，就可看到預測結果了! </font></li> </ol>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/4237.image_695B1895.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/4237.image_5F00_695B1895.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/7608.image_thumb_3A97F0A4.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/7608.image_5F00_thumb_5F00_3A97F0A4.png" width="644" height="366" /></a></p>  <p><font size="2">(女生生存率超高的! 男生只有 2 歲的小孩有高生存率。原因當然是當時以婦女及小孩為優先逃生)。</font></p>  <p><font size="2"><strong>使用你自已的 Web Service</strong></font></p>  <p><font size="2">當然你可以使用自已設計出來的 Azure 機器學習服務，只要</font><a href="https://azure.microsoft.com/zh-tw/documentation/articles/machine-learning-excel-add-in-for-web-services/" target="_blank"><font size="2">依此文的步驟</font></a><font size="2">取得 Web Service 的 URL 及 API Key 再貼上即可。</font></p>  <p><font size="2"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/52/Excel-3.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-52/Excel_2D00_3.png" /></font></p>  <p><font size="2"><strong>批次執行 (Batch Execution)</strong></font></p>  <p><font size="2">你可以在 Predict 的下拉選擇中選擇 As a batch，即能讓你在 Excel 中測試大量批次執行。</font></p>  <p><font size="2"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/52/Excel-4.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-52/Excel_2D00_4.png" /></font></p>  <p><font size="2"><strong>分享您的 Excel 工作表</strong></font></p>  <p><font size="2">許多公司及個人都已在使用 Excel 儲存及處理資料，如銷售紀錄、客戶資訊等等。只要透過這個 Excel Add-in 加入 Web Service 並儲存後，所有打開這個 Excel 檔案的人即能直接使用這個服務來預測自己的資料，無需知道背後其實使用了「機器學習」的服務，整個過程不需寫程式且操作方便。</font></p>  <p><font size="2"><strong>其他功能及應用：</strong></font></p>  <ul>   <li><font size="2">打開 VIEW SCHEMA，即可了解 input 及 output 的所有資料欄位及格式</font> </li> </ul>  <blockquote>   <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/0272.image_5B780702.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/0272.image_5F00_5B780702.png"><font size="2"><img title="image" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/0574.image_thumb_48596B07.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/0574.image_5F00_thumb_5F00_48596B07.png" width="283" height="484" /></font></a></p> </blockquote>  <ul>   <li><font size="2">自動預測</font> </li> </ul>  <blockquote>   <p><font size="2">如果勾選 Auto Predict 的話，只要選取的表格資料有變動，就會自動更新預測結果。</font></p> </blockquote>  <blockquote>   <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/3113.image_60EB9908.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/3113.image_5F00_60EB9908.png"><font size="2"><img title="image" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/6763.image_thumb_57FE977A.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/6763.image_5F00_thumb_5F00_57FE977A.png" width="244" height="40" /></font></a></p> </blockquote>  <p><font size="2"></font></p>  <p><font size="2"></font></p>  <p><font size="2"><strong>延伸閱讀：</strong></font></p>  <h6><a href="https://blogs.technet.com/b/machinelearning/archive/2015/12/16/excel-add-in-general-availability-for-azure-ml.aspx"><font size="2" face="Arial">General Availability of Free Excel Add-In for Azure ML</font></a></h6>]]></content:encoded>
    </item>
    <item>
      <title>如何利用 Azure 「機器學習」贏得黑客松 (Hackathon)?</title>
      <link>https://docs.microsoft.com/archive/blogs/mengtsai/azure-hackathon</link>
      <pubDate>Mon, 23 Nov 2015 19:20:08 GMT</pubDate>
      <dc:creator><![CDATA[蔡孟儒 (Raymond)]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mengtsai/2015/11/23/azure-hackathon/</guid>
      <description><![CDATA[預測某個 YouBike...]]></description>
      <content:encoded><![CDATA[<p><font color="#000000" size="2" face="Microsoft MHei">預測某個 YouBike 租借站在某個時間點是否還有車可以借、是否還有車位可以停；預測某個城市在不同的時間發生犯罪的機率；依據下眼瞼的照片判斷貧血的程度；找出不同的開車模式和車禍發生機率的關係。以上都是你可以利用 Azure&#160; Machine Learning「機器學習」贏得一場黑客松 (Hackathon) 的題目，甚至成為你開始新創公司的契機!</font></p>  <p><font color="#000000" size="2" face="Microsoft MHei">本文將介紹使用 Azure 「機器學習」的步驟及各種資源，方便你在黑客松活動中使用。其中前二個步驟可以在參加之前即先行完成。</font></p>  <p><font color="#000000" size="2" face="Microsoft MHei"><strong>步驟一：開通 Azure 「機器學習」帳號</strong></font></p>  <blockquote>   <p><font color="#000000" face="Microsoft MHei"><font size="2">1. 不需要信用卡就可以免費開始使用 Azure Machine Learning (</font><a title="https://studio.azureml.net/" href="https://studio.azureml.net/" target="_blank"><font size="2">https://studio.azureml.net/</font></a></font><font color="#000000" face="Microsoft MHei"></font><font color="#000000" size="2" face="Microsoft MHei">)：擁有 10GB Azure Storage 的 Datasets 空間、最多建制 100 modules 以及一小時的 Machine Learning experiments 時間。</font></p> </blockquote>  <blockquote>   <p><a href="https://studio.azureml.net/" target="_blank"><font size="2"><img title="image" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/3487.image_6B75F90E.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/3487.image_5F00_6B75F90E.png" width="644" height="128" /></font></a></p> </blockquote>  <blockquote>   <p><font color="#000000" face="Microsoft MHei"><font size="2">2. 如果你是成立不到五年的新創公司，可以免費申請 </font><a href="https://www.microsoft.com/taiwan/bizspark/about.htm" target="_blank"><font size="2">BizSpark</font></a></font><font color="#000000" face="Microsoft MHei"></font><font color="#000000" size="2" face="Microsoft MHei"> 方案，享有</font><a href="https://azure.microsoft.com/zh-tw/offers/ms-azr-0064p/"><font color="#000000" size="2" face="Microsoft MHei">每個月 NT$4,700</font></a><font color="#000000" size="2" face="Microsoft MHei"> 額度的 Azure credit。開通時亦無需輸入信用卡，所以沒有付費的風險。</font></p> </blockquote>  <blockquote>   <p><font color="#000000" face="Microsoft MHei"><font size="2">3. 如果你是 MSDN 訂閱用戶，本來就有 Azure 免費額度，只要</font><a href="https://azure.microsoft.com/zh-tw/pricing/member-offers/msdn-benefits/" target="_blank"><font size="2">開通</font></a></font><font color="#000000" face="Microsoft MHei"></font><font color="#000000" size="2" face="Microsoft MHei">即可。</font></p>    <p><font color="#000000" size="2" face="Microsoft MHei">4. 當然你也可以直接申請<a href="https://azure.microsoft.com/zh-tw/pricing/free-trial/" target="_blank">免費試用一個月</a>，取得 NT$6,300 元的 Azure 信用額度。</font></p>    <p><font face="Microsoft MHei"><font color="#000000"><font size="2">(</font><font size="2">如果你是學校老師或學生，有</font></font><a href="https://blogs.msdn.com/b/mengtsai/archive/2015/05/15/azure-campus-student-faculty.aspx" target="_blank"><font color="#000000" size="2">更多 Azure 免費資源</font></a><font color="#000000" size="2">)</font></font></p> </blockquote>  <p><font color="#000000" face="Microsoft MHei"><strong><font size="2">步驟二：學習使用 </font><a href="https://studio.azureml.net/" target="_blank"><font size="2">Azure Machine Learning Studio</font></a></strong></font></p>  <p><font color="#000000" size="2" face="Microsoft MHei">如果你是機器學習的完全初學者，除了可先閱讀專門爲初學者所寫的二篇文章之外：</font></p>  <blockquote>   <h6><font color="#000000" size="2" face="Microsoft MHei"><a href="https://blogs.msdn.com/b/mengtsai/archive/2015/01/05/azure.aspx" target="_blank">Azure 「機器學習」初體驗</a></font></h6> </blockquote>  <blockquote>   <h6><font color="#000000" size="2" face="Microsoft MHei"><a href="https://blogs.msdn.com/b/mengtsai/archive/2015/03/12/10599661.aspx" target="_blank">如果你搭上了鐵達尼號，有機會生還嗎?</a></font></h6> </blockquote>  <p><font color="#000000" face="Microsoft MHei"><font size="2">強列建議走一遍官方中文教學：</font><a href="https://azure.microsoft.com/zh-tw/documentation/articles/machine-learning-create-experiment/" target="_blank"><font size="2">在 Azure Machine Learning Studio 中建立您的第一個實驗</font></a></font></p>  <p><font color="#000000" size="2" face="Microsoft MHei"><strong>步驟三：尋找合適的訓練資料</strong></font></p>  <p><font color="#000000" size="2" face="Microsoft MHei">如同文章一開始所提出的各種問題，Azure 「機器學習」的強項即是能根據歷史資料作數值預測 (Regression)、分類&#160; (Classification) 或是分群 (Clustering)，成為解決這些問題的強力工具。請記得，能問出一個好問題、進而定出一個好題目，常常是贏得一場黑客松非常重要的關鍵!</font></p>  <p><font color="#000000" face="Microsoft MHei"><font size="2">定出題目之後，就要尋找合適的資料作為機器學習模組的訓練之用了。資料集 (datasets) 的提供可以透過直接上傳(如 .csv 格式)、或是提供連結 (如 OData feed provider) 的方式。若要使用公開資料，以下是幾個常用的國內外站點：</font><a href="https://data.gov.tw" target="_blank"><font size="2">政府資料開發平台</font></a></font><font color="#000000" face="Microsoft MHei"></font><font color="#000000" face="Microsoft MHei"><font size="2">、</font><a href="https://data.gov/" target="_blank"><font size="2">美國政府開放平台</font></a></font><font color="#000000" face="Microsoft MHei"></font><font color="#000000" face="Microsoft MHei"><font size="2">、</font><a href="https://www.kaggle.com/" target="_blank"><font size="2">Kaggle</font></a></font><font color="#000000" face="Microsoft MHei"></font><font color="#000000"><font face="Microsoft MHei"><font size="2">、<b><a href="https://archive.ics.uci.edu/ml/">UC Irvine Machine Learning Repository</a> 等。</b></font></font></font></p>  <p><strong><font color="#000000" size="2" face="Microsoft MHei">步驟四：建構你的學習模型</font></strong></p>  <p><font color="#000000" size="2" face="Microsoft MHei">「機器學習」之中，若是作為數值預測 (Regression) 或分類 (Classification) 之用途．皆是屬於監督式學習 (Supervised Learning) 的範疇。監督式學習基本上會遵守以下的流程：</font></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/0081.image_018D97D1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/0081.image_5F00_018D97D1.png"><font color="#000000" size="2" face="Microsoft MHei"><img title="image" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/1884.image_thumb_38B66423.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/1884.image_5F00_thumb_5F00_38B66423.png" width="794" height="493" /></font></a></p>  <p><font color="#000000" face="Microsoft MHei"><font size="2">別小看了其中”資料清理”的工作喔! 因為你所選擇的訓練資料，可能有缺漏或不全之處需要補全或是移除、有些欄位 (如姓名、ID等) 不應該作為訓練之用、有些資料需要先”類別化” (Categorized) 以作為訓練之用並讓使用者選擇 (如性別、鐵達尼號的上船港口等)。建議大家可看看</font><a href="https://studio.azureml.net/community/unpack?packageUri=https%3a%2f%2fstorage.azureml.net%2fdirectories%2fc8c02ed8f99841388a460a1df0a1b6d2&amp;communityUri=https%3a%2f%2fgallery.azureml.net%2fDetails%2f01b2765fa75147ce99679e18482d280f" target="_blank"><font size="2">”鐵達尼號”的模型</font></a><font size="2">如何作資料清理，並據此學習。</font></font></p>  <p><font color="#000000" size="2" face="Microsoft MHei"><strong>步驟五：選擇合適的演算法</strong></font></p>  <p><font color="#000000" face="Microsoft MHei"><font size="2">在此</font><a href="https://blogs.msdn.com/b/mengtsai/archive/2015/01/08/azure-algorithms.aspx" target="_blank"><font size="2">文章</font></a></font><font color="#000000" face="Microsoft MHei"></font><font color="#000000" size="2" face="Microsoft MHei">中有介紹各種不同演算法，及各自的使用時機，大方向如下:</font></p>  <ul>   <li><font size="2"><font color="#000000" face="Microsoft MHei">如果您<u>期望的解答是一個數值</u>的話 =&gt; Regression (迴歸分析)</font> </font></li>    <li><font size="2"><font color="#000000" face="Microsoft MHei">如果您的問題<u>能夠以 Yes/No 來回答</u> =&gt; Classification (分類)</font></font> </li>    <li><font color="#000000" size="2" face="Microsoft MHei">如果您想<u>將具相同特性的資料群集分類</u> =&gt; Clustering (分群)</font> </li> </ul>  <p><font color="#000000" face="Microsoft MHei"><font size="2">微軟也製作了一個 </font><a href="https://azure.microsoft.com/en-us/documentation/articles/machine-learning-algorithm-cheat-sheet/" target="_blank"><font size="2">PDF 小抄</font></a><font size="2">可供下載</font></font><font color="#000000" face="Microsoft MHei"></font><font color="#000000" size="2" face="Microsoft MHei">，方便大家依步驟判斷，以選擇最合適的演算法:</font></p>  <p><font color="#000000" size="2" face="Microsoft MHei"><img alt="Machine Learning Algorithm cheat sheet: Learn how to choose a Machine Learning algorithm." src="https://acomdpsstorage.blob.core.windows.net/dpsmedia-prod/azure.microsoft.com/en-us/documentation/articles/machine-learning-algorithm-cheat-sheet/20151014060220/machine-learning-algorithm-cheat-sheet-small_v_0_6-01.png" /></font></p>  <p><font color="#000000" size="2" face="Microsoft MHei"><strong>步驟六：優化你的訓練模型</strong></font></p>  <p><font color="#000000" face="Microsoft MHei"><font size="2">個人覺得 Azure Machine Learning Studio 這個工具最酷的地方，就是可以自動找到最適合的</font><a href="https://azure.microsoft.com/zh-tw/documentation/articles/machine-learning-algorithm-parameters-optimize/" target="_blank"><font size="2">演算法設定參數</font></a><font size="2">了。例如，我用了決策樹 (Decision Tree) 演算法，但我怎麼知道節點或是葉子的數目該設為多少呢?</font></font></p>  <p><font color="#000000" size="2" face="Microsoft MHei">預設的單一參數 (Single Parameter) 設定：</font></p>  <p><font color="#000000" size="2" face="Microsoft MHei"><img alt="image2" src="https://acomdpsstorage.blob.core.windows.net/dpsmedia-prod/azure.microsoft.com/zh-tw/documentation/articles/machine-learning-algorithm-parameters-optimize/20151030125546/fig2.png" width="382" height="414" /></font></p>  <p><font color="#000000" size="2" face="Microsoft MHei">你只要更改為參數區間 (Parameter Range)，就能設定參數範圍 (以等差或等比遞增)、指定數個參數、或是混合設定。訓練模型就會自動根據你的設定找出最佳的參數!</font></p>  <p><font size="2"><img alt="image3" src="https://acomdpsstorage.blob.core.windows.net/dpsmedia-prod/azure.microsoft.com/zh-tw/documentation/articles/machine-learning-algorithm-parameters-optimize/20151030125546/fig3.png" width="288" height="480" /></font></p>  <blockquote>   <p><font color="#000000" size="2" face="Microsoft MHei"><a href="https://azure.microsoft.com/zh-tw/documentation/articles/machine-learning-algorithm-parameters-optimize/">選擇參數來最佳化 Azure Machine Learning 中的演算法</a></font></p> </blockquote>  <p><font color="#000000" size="2" face="Microsoft MHei">同時也不要忘記，可在 “Score Model” 及 “Evaluate Model” 中檢視你的模型預測準確度。</font></p>  <p><font size="2"><img alt="多元分類評估結果" src="https://acomdpsstorage.blob.core.windows.net/dpsmedia-prod/azure.microsoft.com/zh-tw/documentation/articles/machine-learning-evaluate-model-performance/20151030125546/11.png" width="324" height="324" /></font></p>  <blockquote>   <p><font color="#000000" size="2" face="Microsoft MHei"><a href="https://azure.microsoft.com/zh-tw/documentation/articles/machine-learning-evaluate-model-performance/">在 Azure Machine Learning 中評估模型效能</a></font></p> </blockquote>  <blockquote>   <h3><font color="#000000" size="2" face="Microsoft MHei"><a href="https://azure.microsoft.com/zh-tw/documentation/articles/machine-learning-interpret-model-results/">在 Azure Machine Learning 中解譯模型結果</a></font></h3> </blockquote>  <p><font color="#000000" size="2" face="Microsoft MHei"></font></p>  <p><font color="#000000" size="2" face="Microsoft MHei"><strong>步驟七：發佈為 Web Service</strong></font></p>  <p><font color="#000000" size="2" face="Microsoft MHei">模型優化之後，就可以發佈為 Web Service 以進行預測了。在下方選擇 “SET UP WEB SERVICE” =&gt; “Predictive Web Service” ，再點選 “DEPLOY WEB SERVICE” 即可佈署使用。</font></p>  <p><font size="2"></font></p>  <p><font color="#000000" size="2" face="Microsoft MHei"></font></p>  <p><font size="2"><img alt="Convert to scoring experiment" src="https://acomdpsstorage.blob.core.windows.net/dpsmedia-prod/azure.microsoft.com/en-us/documentation/articles/machine-learning-publish-a-machine-learning-web-service/20151104111654/figure-1.png" width="640" height="151" /></font></p>  <p><font size="2"></font></p>  <p><font size="2"><img alt="Deploy the web service" src="https://acomdpsstorage.blob.core.windows.net/dpsmedia-prod/azure.microsoft.com/en-us/documentation/articles/machine-learning-publish-a-machine-learning-web-service/20151104111654/figure-2.png" width="640" height="74" /></font></p>  <blockquote>   <p><font size="2" face="Microsoft MHei"><a href="https://azure.microsoft.com/zh-tw/documentation/articles/machine-learning-publish-a-machine-learning-web-service/" target="_blank">部署 Azure Machine Learning Web 服務</a></font></p> </blockquote>  <p><strong><font size="2">步驟八：使用 Web Service</font></strong></p>  <p><font size="2">最貼心的是，還提供 C#, Python 及 R 語言的 sample code，協助大家節省時間贏得比賽!</font></p>  <p><font size="2"><img alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/0702.image_thumb_7A6167E4.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/0702.image_5F00_thumb_5F00_7A6167E4.png" width="644" height="474" /></font></p>  <p><font size="2">Web Service 提供了</font><a href="https://azure.microsoft.com/en-us/documentation/articles/machine-learning-consume-web-services/" target="_blank"><font size="2">兩種呼叫方式</font></a><font size="2">：</font></p>  <p><font size="2" face="Microsoft MHei">1. <u>Request/Response</u>: 提供快速可延展的呼叫服務，接受一或多筆資料作為輸入、也可輸出一或多筆結果，適合用在單筆且快速回應的需求，例如即時回應使用者對股市收盤行情的預測。</font></p>  <p><font size="2" face="Microsoft MHei">2. <u>Batch Execution</u>：適合處理批次、大量、非同步的資料，例如批次性的處理 IoT 在一段時間之中收集的所有資料。</font></p>  <p><font size="2" face="Microsoft MHei"></font></p>  <p><font face="Microsoft MHei"><font size="2">希望以上對大家有幫助，值得一提的是，2015 年 8 月舉辦的</font><a href="https://www.bnext.com.tw/article/view/id/37165" target="_blank"><font size="2">台大 HackNTU</font></a><font size="2"> 中，前 2 名都是與 Azure Machine Learning 有關的喔!</font></font></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/1134.image_6DA2A7B9.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/1134.image_5F00_6DA2A7B9.png"><font size="2" face="Microsoft MHei"><img title="image" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/1565.image_thumb_685D4225.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/1565.image_5F00_thumb_5F00_685D4225.png" width="644" height="200" /></font></a></p>  <p><font face="Microsoft MHei"><font size="2">其中第一名使用了</font><a href="https://www.projectoxford.ai/" target="_blank"><font size="2">Project Oxford</font></a><font size="2"> 服務，包括 </font><a href="https://www.projectoxford.ai/speech" target="_blank"><font size="2">Speech APIs</font></a><font size="2"> (Speech recognition + Text to Speech Conversion 等)，其背後機制即是微軟的「機器學習」；第二名則是運用 Azure 機器學習來訓練六種手語手勢。</font></font></p>  <blockquote>   <p><a href="https://www.bnext.com.tw/article/view/id/37165" target="_blank"><font size="2" face="Microsoft MHei">千人黑客松HackNTU得獎團隊揭曉 語言學習App、手語辨識系統、救災無人機獲獎</font></a><font size="2" face="Microsoft MHei"> </font></p> </blockquote>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/2451.image_2F924C7E.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/2451.image_5F00_2F924C7E.png"><font size="2"><img title="image" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/36/93/metablogapi/6607.image_thumb_0E7D56AB.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-36-93-metablogapi/6607.image_5F00_thumb_5F00_0E7D56AB.png" width="644" height="455" /></font></a></p>  <p><font size="2" face="Microsoft MHei"></font></p>  <p><font size="2" face="Microsoft MHei"></font></p>  <p><font size="2" face="Microsoft MHei"></font></p>  <p><font size="2" face="Microsoft MHei"></font></p>  <p><font size="2" face="Microsoft MHei"></font></p>  <p><font size="2" face="Microsoft MHei"><strong>延伸閱讀：</strong></font></p>  <p><font size="2" face="Microsoft MHei">1. </font><a href="https://blogs.msdn.com/b/jennifer/archive/2015/09/10/how-to-win-a-hackathon-using-azure-machine-learning.aspx" target="_blank"><font size="2" face="Microsoft MHei">How to win a hackathon using Azure Machine Learning</font></a><font face="Microsoft MHei"><font size="2"> - 作者為微軟總部高級主管 </font><a href="https://blogs.msdn.com/b/jennifer/"><font size="2">Jennifer Marsman</font></a><font size="2">，本篇主題及內容來自她的文章，並已取得她的同意作適當的翻譯及在地化。</font></font></p>  <p><font size="2" face="Microsoft MHei">2. 本部落格所有機器學習相關文章: </font><a title="https://blogs.msdn.com/b/mengtsai/archive/tags/machine+learning/" href="https://blogs.msdn.com/b/mengtsai/archive/tags/machine+learning/"><font size="2" face="Microsoft MHei">https://blogs.msdn.com/b/mengtsai/archive/tags/machine+learning/</font></a></p>  <ul>   <ul>     <li><a href="https://blogs.msdn.com/b/mengtsai/archive/2015/01/06/azure-faq.aspx"><font size="2" face="Microsoft MHei">Azure 「機器學習」FAQ，以及實際應用模型</font></a><font size="2"> </font></li>      <li><a href="https://blogs.msdn.com/b/mengtsai/archive/2015/02/24/azure-neural-network.aspx"><font size="2" face="Microsoft MHei">Azure 「機器學習」: 初探類神經網路 (Neural Network)</font></a><font size="2"> </font></li>      <li><a href="https://blogs.msdn.com/b/mengtsai/archive/2015/02/25/net-azure-ml-convolution-neural-network.aspx"><font size="2" face="Microsoft MHei">Net# 簡介：透過 Azure ML 實作多層網路及卷積神經網路 (Convolution Neural Network)</font></a><font size="2"> </font></li>      <li><a href="https://blogs.msdn.com/b/mengtsai/archive/2015/03/04/r-azure-machine-learning-studio.aspx"><font size="2" face="Microsoft MHei">R 語言初體驗- 使用 Azure Machine Learning Studio </font></a></li>   </ul> </ul>  <p><font size="2"></font></p>]]></content:encoded>
    </item>
    <item>
      <title>Azure 校園免費方案整理 (學生及老師適用)</title>
      <link>https://docs.microsoft.com/archive/blogs/mengtsai/azure-2</link>
      <pubDate>Fri, 15 May 2015 02:57:10 GMT</pubDate>
      <dc:creator><![CDATA[蔡孟儒 (Raymond)]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mengtsai/2015/05/15/azure-2/</guid>
      <description><![CDATA[1. 所有學生：“Azure for Students” 方案開放給所有學生，不用信用卡即能開始使用，直接至 Microsoft Azure for DreamSpark...]]></description>
      <content:encoded><![CDATA[<p><font size="3" face="微軟正黑體">1. <strong>所有學生</strong>：“Azure for Students” 方案開放給所有學生，<strong>不用信用卡</strong>即能開始使用，直接至 </font><a href="https://www.dreamspark.com/Product/Product.aspx?productid=99"><font size="3" face="微軟正黑體">Microsoft Azure for DreamSpark</font></a><font size="3" face="微軟正黑體"> 認證您的學生身份，即可免費使用多種 Azure 公有雲服務，目前包含以下 4 種，將會不定期持續新增：</font></p>  <ul>   <li><a href="https://azure.microsoft.com/en-us/documentation/articles/app-service-web-overview/"><font size="2" face="微軟正黑體"><strong>Azure App Service Web Apps</strong></font></a><font size="2" face="微軟正黑體"> </font><font size="2" face="微軟正黑體">is a part of a fully managed cloud offering that enables you to build and deploy web apps in seconds. Use </font><a href="https://asp.net/"><font size="2" face="微軟正黑體">ASP.NET</font></a><font size="2" face="微軟正黑體">, Java, PHP, Node.js or Python. Run popular web apps and CMS solutions. Set up continuous integration and deployment workflows with VSO, GitHub, TeamCity, Hudson or BitBucket – enabling you to automatically build, test and deploy your web app on each successful code check-in or integration tests. </font></li> </ul>  <ul>   <li><font face="微軟正黑體"><font size="2"><strong>MySQL Database from ClearDB</strong> adds the power of MySQL to your Web Apps. With clearDB MySQL you can deploy more kinds of web apps and CMS solutions such as Wordpress, Joomla, Acquia Drupal, phpBB, and more.</font></font></li> </ul>  <ul>   <li><font face="微軟正黑體"><font size="2"><strong>Application Insights</strong> provides a 360° view across availability, performance and usage of your ASP.NET services and mobile applications for Windows Phone, iOS and Android platforms. Search and analyze your data to continuously improve your application, prioritize future investments and improve overall customer experience.</font></font></li> </ul>  <ul>   <li><font face="微軟正黑體"><font size="2"><strong>Visual Studio Online</strong> is the fastest and easiest way yet to plan, build, and ship software across a variety of platforms. Get up and running in minutes on our cloud infrastructure without having to install or configure a single server.</font></font></li> </ul>  <p><font size="3" face="微軟正黑體">2. <strong>學校開課</strong>：</font><font size="3" face="微軟正黑體">Microsoft Educator Grant Program provides access to Azure for use in the classroom by university students and their professor. </font></p>  <p><font size="3" face="微軟正黑體">請直接填寫相關資料即可申請: </font><a href="https://www.microsoftazurepass.com/azureu"><font size="3" face="微軟正黑體">https://www.microsoftazurepass.com/azureu</font></a></p>  <ul>   <li><font size="3" face="微軟正黑體">Faculty will receive a 12 month, $250/month account</font></li>    <li><font size="3" face="微軟正黑體">Students will receive a 6 month, $100/month account</font></li> </ul>  <p><font size="3" face="微軟正黑體">3. <strong>研究專案</strong>：<font size="3" face="微軟正黑體">Microsoft Azure for Research </font>目前有 Ebola Research，Azure Machine Learning, Climate Data Initiative 等不同的專案可申請：</font><a href="https://research.microsoft.com/en-US/projects/azure/awards.aspx"><font size="3" face="微軟正黑體">https://research.microsoft.com/en-US/projects/azure/awards.aspx</font></a></p>]]></content:encoded>
    </item>
    <item>
      <title>我看起來幾歲 How old do I look? 幕後花絮</title>
      <link>https://docs.microsoft.com/archive/blogs/mengtsai/how-old-do-i-look</link>
      <pubDate>Sun, 03 May 2015 00:03:05 GMT</pubDate>
      <dc:creator><![CDATA[蔡孟儒 (Raymond)]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mengtsai/2015/05/03/how-old-do-i-look/</guid>
      <description><![CDATA[【原文來自： 台灣微軟雲端與企業平台事業部副總經理葉怡君網誌】  這幾天有款 App (or 網站?) https://how-old.net/# 爆紅 – “How Old Do I Look?”...]]></description>
      <content:encoded><![CDATA[<p><font size="2" face="微軟正黑體">【原文來自： 台灣微軟雲端與企業平台事業部副總經理葉怡君</font><a href="https://www.facebook.com/notes/cathy-yeh/%E6%88%91%E7%9C%8B%E8%B5%B7%E4%BE%86%E5%B9%BE%E6%AD%B2-how-old-do-i-look-%E5%B9%95%E5%BE%8C%E8%8A%B1%E7%B5%AE/10153240877759659?comment_id=10153240936774659&amp;offset=0&amp;total_comments=5&amp;notif_t=note_reply" target="_blank"><font size="2" face="微軟正黑體">網誌</font></a>】</p>  <p><font size="2" face="微軟正黑體">這幾天有款 App (or 網站?) </font><a href="https://l.facebook.com/l.php?u=http%3A%2F%2Fhow-old.net%2F&amp;h=QAQFKl92g&amp;s=1"><font size="2" face="微軟正黑體">https://how-old.net/</font></a><font size="2" face="微軟正黑體"># 爆紅 – “<strong>How Old Do I Look?”</strong> (我看起來幾歲?), 短短 48 個小時就有一百萬人上去 PO 照片測試. 我的臉書幾乎被大家的自拍照片洗版, 大部份的人都很滿意他們的測試結果, 因為都比實際年齡少了許多, 連我 91 歲的阿嬤也立馬叫她的朋友來試, 因為她有一張笑開懷的照片看起來只有 76 … </font></p>  <p><font size="2" face="微軟正黑體">當然囉, 也有一些例外, 但基本上是款相當討喜的軟體,所以也被瘋狂轉載. 也因為基本上蠻準的(特別對老人及小孩), 也或是很不準(特別是涷齡的東方女生), 所以引起很多討論, 包含:</font></p>  <ul>   <li><font size="2" face="微軟正黑體">這到底怎麼猜的? 怎麼這麼準? </font></li>    <li><font size="2" face="微軟正黑體">這到底怎麼猜的? 為什麼我表情不一樣, 猜的年齡也不一樣?&#160;&#160;&#160;&#160;&#160;&#160; </font></li>    <li><font size="2" face="微軟正黑體">這到底怎麼猜的? 為什麼我一直被猜出是女生? 我明明是男的? (Who knows?)&#160;&#160;&#160;&#160;&#160;&#160;&#160; </font></li>    <li><font size="2" face="微軟正黑體">這到底怎麼猜的?我PO上去的照片會不會被Microsoft拿去使用?</font></li> </ul>  <p><font size="2" face="微軟正黑體">由於這個網站是敝公司做的, 當初只是為了開發者大會 (//Build) 做的一款 demo, 用了蠻多物聯網及大數據的技術, 所以我就去查了一下幕後花絮, 結果發現一些有趣的故事.</font></p>  <p><strong><font size="2" face="微軟正黑體">樣本那裡來?</font></strong></p>  <p><font size="2" face="微軟正黑體">一開始那個開發團隊只想找 50 個人, 結果最後弄到了3萬5仟個人參加 (而且2萬9仟人來自土耳其, 土耳其!!!! 只能說要讓全世界看到, 一定要積極參與國際事務). 總共上傳了21萬張照片, 再用Microsoft Azure 雲端服務上的 </font><font size="2" face="微軟正黑體">Face detection APIs 去找到人臉, 去分類, 去看是不是同一個人。</font></p>  <p><font size="2" face="微軟正黑體"> 個人覺得很準, 因為我拿我們家阿布的臉去測, 即使他很帥, 還是測不出來的.</font></p>  <p><font size="2" face="微軟正黑體"><img title="" alt="" src="https://scontent-tpe.xx.fbcdn.net/hphotos-xfa1/v/t1.0-9/s720x720/11182050_10153240879264659_383066571779166925_n.jpg?oh=8dc497d2fe984ab79c1cbf06ba132776&amp;oe=55DCAA3A" /></font></p>  <p><strong><font size="2" face="微軟正黑體">性別跟年齡怎麼猜出來</font></strong></p>  <p><font size="2" face="微軟正黑體">要在一兩天就寫出這款討喜的App, 當然不能不能從研究演算法開始, 當然也站在巨人的肩膀上摘水果, 所以這個開發團隊用了微軟的機器學習套件 - Azure Machine Learning Gallery 中, 由一個叫 “牛津專案” (<a href="https://www.projectoxford.ai/" target="_blank">Project Oxford</a>) 所做出來的雲端智能服務, 包含Face, Speech, and Vision. 另外, 考量大家除了測自已跟家人的年齡外, 也一定想惡搞一番, 去找名人或古人的照片, 所以再用了Bing Search API 去搜尋網路上的有趣照片.</font></p>  <p><strong><font size="2" face="微軟正黑體">Microsoft 到底會不會把上傳的照片存下來?</font></strong></p>  <p><font size="2" face="微軟正黑體">真的不會. 這是官網上的說明：</font></p>  <p><em><font size="2">We've had some questions so we updated this post to be more clear. To answer the top one: <strong>No we don't store photos, we don't share them and we only use them to guess your age and gender</strong>. The photos are discarded from memory once we guess. While the terms of service very common in our industry, and similar to most other online services, we have chosen not to store or use the photos in any way other than to temporarily process them to guess your age.</font></em></p>  <p><font size="2" face="微軟正黑體">那大家一定會問, 真的嗎? 照片一直不斷的傳上來, 你不存起來怎麼分析, 怎麼學習?</font></p>  <p><font size="2" face="微軟正黑體">問的好, 重點來了, 這就是大數據<strong>即時分析</strong>的神妙之處啊啊啊. 別忘了有 Azure 啊. </font></p>  <p><font size="2" face="微軟正黑體">資料的匯集跟派送可以用 <a href="https://azure.microsoft.com/zh-tw/services/event-hubs/" target="_blank">Azure Event Hubs</a>, 可以一秒鐘進出幾百萬份資料, 你的照片不會被存下, 我們存下的是從照片萃取出來的資料, 是什麼資料呢? 我同事說是叫”顏值” 的資料, 也就是青春的軌跡吧. 所以大家放心. 你的照片不會被留下來.</font></p>  <p><font size="2" face="微軟正黑體">但對於寫程式的人來說, 怎麼抽出這些像是性別, 年齡資料, 來做即時呈現呢? 大家上傳照片一定想要立馬知道結果, 没有人想過幾天再開獎, 又不是全身健檢… 當然, 又得靠工具了. <a href="https://azure.microsoft.com/zh-tw/services/stream-analytics/" target="_blank">Azure Stream Analytics</a> 可以讓開發者用簡單的 SQL query 語法捉到即時的串流資訊, 立馬回報.</font></p>  <p><strong><font size="2" face="微軟正黑體"></font></strong></p>  <p><strong><font size="2" face="微軟正黑體">比起別的國家來, 台灣人是不是看起來比實際年齡年輕?</font></strong></p>  <p><font size="2" face="微軟正黑體">我不確定, 但根據這幾天我所看到的結果, 好像我們普徧看起來年輕很多 (只要不要亂做鬼臉, 拍太暗…). 但如果你真的有心想要開發新的App來統計一下, 也有好用的工具來做圖表分析, 那就是(噹噹噹…) PowerBI <a href="https://l.facebook.com/l.php?u=http%3A%2F%2Fwww.powerbi.com%2F&amp;h=OAQGRaXMP&amp;s=1"><font size="2" face="微軟正黑體">https://www.powerbi.com</font></a>!</font></p>  <p><font size="2" face="微軟正黑體">還是那句話, 實際幾歲不重要, 看起來幾歲比較重要, 去玩玩看吧, 或許你會找到讓自已看起來年輕的秘訣. 還有, 如果你是開發者, 發揮想像力吧, 利用 Azure 這些 API,</font></p>  <p><font size="2" face="微軟正黑體">看你可以寫出什麼讓大家瘋傳的 App!</font></p>  <p><font size="2" face="微軟正黑體"><strong>原文參見 </strong></font><a href="https://l.facebook.com/l.php?u=http%3A%2F%2Fblog.how-old.net%2F&amp;h=2AQH6ZLP_&amp;s=1"><font size="2" face="微軟正黑體"><strong>https://blog.how-old.net/</strong></font></a></p>  <p><font size="2" face="微軟正黑體"></font></p>]]></content:encoded>
    </item>
    <item>
      <title>(應用程式篇) 免費取得程式編碼軟體 Microsoft Imagine Access</title>
      <link>https://docs.microsoft.com/archive/blogs/mengtsai/microsoft-imagine-access</link>
      <pubDate>Fri, 17 Apr 2015 02:05:42 GMT</pubDate>
      <dc:creator><![CDATA[蔡孟儒 (Raymond)]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/mengtsai/2015/04/17/microsoft-imagine-access/</guid>
      <description><![CDATA[羅列 Microsoft Imagine Access 網站中，所有免費編寫應用程式的軟體及資源，依初學者至專業遊戲開發排列如下。    使用 Windows App Studio...]]></description>
      <content:encoded><![CDATA[<p><font size="2" face="微軟正黑體">羅列 </font><a href="https://msdn.microsoft.com/zh-tw/imagineapps"><font size="2" face="微軟正黑體">Microsoft Imagine Access</font></a><font size="2" face="微軟正黑體"> 網站中，所有免費編寫應用程式的軟體及資源，依初學者至專業遊戲開發排列如下。</font></p>  <p><a href="https://appstudio.windows.com/"><font size="2" face="微軟正黑體"><img src="https://i-msdn.sec.s-msft.com/dynimg/IC766283.png" /></font></a></p>  <h6><font face="微軟正黑體">使用 <font style="font-weight: bold">Windows App Studio </font>創作您的第一個簡單型應用程式</font></h6>  <p><font size="2" face="微軟正黑體">花費數分鐘即可直接在網頁瀏覽器中創作應用程式！ 您可以透過 Windows App Studio 使用預先製作好的範本來設計應用程式，然後填入您的文字與圖片。</font></p>  <p><a href="https://appstudio.windows.com/"><font size="2" face="微軟正黑體">建立您的第一個 Windows App Studio 應用程式</font></a>     <br /><a href="https://appstudio.windows.com/zh-tw/home/sampleapps"><font size="2" face="微軟正黑體">瀏覽 Windows App Studio 應用程式</font></a></p>  <p><a href="https://download.microsoft.com/download/C/A/F/CAF9E062-94D3-4003-80D9-44CDF7EC7BD9/SmallBasic.msi"><font size="2" face="微軟正黑體"><img src="https://i-msdn.sec.s-msft.com/dynimg/IC766287.png" /></font></a></p>  <h6><font face="微軟正黑體">了解如何使用 <font style="font-weight: bold">SmallBasic </font>編寫所有類型的應用程式</font></h6>  <p><font size="2" face="微軟正黑體">使用免費的學生程式設計工具 SmallBasic，進一步實際體驗編寫程式碼。 雖然只有 20 個可運用的命令，卻足以建立整個世界的應用程式，這是學習編寫程式碼基本知識的簡易方式。</font></p>  <p><a href="https://social.technet.microsoft.com/wiki/contents/articles/30513.download-microsoft-small-basic.aspx"><font size="2" face="微軟正黑體">免費下載 SmallBasic</font></a>     <br /><a href="https://social.technet.microsoft.com/wiki/contents/articles/16982.small-basic-curriculum-online.aspx"><font size="2" face="微軟正黑體">了解如何編寫程式碼</font></a>     <br /><a href="https://blogs.msdn.com/b/smallbasic/archive/2013/02/17/small-basic-program-gallery-listed-by-category.aspx#ProductivityApps"><font size="2" face="微軟正黑體">瀏覽 SmallBasic 應用程式</font></a></p>  <p><a href="https://go.microsoft.com/fwlink/?LinkID=286266"><font size="2" face="微軟正黑體"><img src="https://i-msdn.sec.s-msft.com/dynimg/IC766285.png" /></font></a></p>  <h6><font face="微軟正黑體">了解如何使用 <font style="font-weight: bold">WebMatrix </font>編寫網站</font></h6>  <p><font size="2" face="微軟正黑體">想要製作自己的網站嗎？ 立刻免費下載 WebMatrix 3，然後學習編寫網站的基本知識。 您很快就能建置非常棒的網站。</font></p>  <p><a href="https://go.microsoft.com/fwlink/?LinkID=286266"><font size="2" face="微軟正黑體">下載 WebMatrix 3</font></a>     <br /><a href="https://download.microsoft.com/documents/uk/msdn/80627_v6_Web_Development_Guide.pdf"><font size="2" face="微軟正黑體">學習編寫網站的基本知識</font></a></p>  <p><a href="https://www.visualstudio.com/products/visual-studio-community-vs?wt.mc_id=p~CO~COMMUNITY~DISPLAY~FY15~11Nov~DXStudentDevs"><font size="2" face="微軟正黑體"><img src="https://i-msdn.sec.s-msft.com/dynimg/IC766288.png" /></font></a></p>  <h6><font face="微軟正黑體">使用這些免費的專業工具開發您的應用程式</font></h6>  <p><font size="2" face="微軟正黑體">您可以透過 Microsoft <strong>Visual Studio</strong> 取得與專業人員相同的開發應用程式工具！ 此外，還可以透過免費的 Windows 市集開發人員帳戶，在 Windows 和 Windows Phone 市集販賣您的應用程式。</font></p>  <p><a href="https://www.visualstudio.com/products/visual-studio-community-vs?wt.mc_id=p~CO~COMMUNITY~DISPLAY~FY15~11Nov~DXStudentDevs"><font size="2" face="微軟正黑體">下載 Visual Studio</font></a>     <br /><a href="https://www.dreamspark.com/Student/Windows-Store-Access.aspx"><font size="2" face="微軟正黑體">免費取得 Windows 市集開發人員帳戶</font></a></p>  <p><a href="https://msdn.microsoft.com/students-overview-msdn"><font size="2" face="微軟正黑體"><img src="https://i-msdn.sec.s-msft.com/dynimg/IC766284.png" /></font></a></p>  <h6><font face="微軟正黑體">經由免費的線上學習即可和專業人員一樣地開發應用程式</font></h6>  <p><font size="2" face="微軟正黑體">準備好深入了解嗎？ 如果您是已具經驗的學生開發人員，可以取得免費的線上課程影片、程式碼編寫指南和文件，而且是為自己獲取增進第一份工作之技能的大好機會。</font></p>  <p><a href="https://msdn.microsoft.com/students-overview-msdn"><font size="2" face="微軟正黑體">在 Microsoft Developer Network 尋找免費的線上影片課程以及其他內容</font></a></p>  <p><font size="2" face="微軟正黑體"><strong>延伸閱讀</strong>：</font></p>  <p><font size="2" face="微軟正黑體">1. </font><a href="https://blogs.msdn.com/b/mengtsai/archive/2015/03/25/azure-for-students.aspx"><font size="2" face="微軟正黑體">學生免費公有雲服務 “Azure for Students”</font></a></p>  <p><font size="2" face="微軟正黑體">2. </font><a href="https://blogs.msdn.com/b/mengtsai/archive/2015/04/17/microsoft-imagine-access.aspx"><font size="2" face="微軟正黑體">免費取得程式編碼軟體 Microsoft Imagine Access (遊戲篇)</font></a></p>]]></content:encoded>
    </item>
  </channel>
</rss>