<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by ณัฐภัทร ป้อมสินทรัพย์ on Medium]]></title>
        <description><![CDATA[Stories by ณัฐภัทร ป้อมสินทรัพย์ on Medium]]></description>
        <link>https://medium.com/@bright_nyanza_mink_482?source=rss-17f8f5fa4a1b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*pp1QOev0f2x_VBLp</url>
            <title>Stories by ณัฐภัทร ป้อมสินทรัพย์ on Medium</title>
            <link>https://medium.com/@bright_nyanza_mink_482?source=rss-17f8f5fa4a1b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 12:30:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bright_nyanza_mink_482/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Machine Learning ไม่ยากอย่างที่คิดด้วย Amazon Machine Learning]]></title>
            <link>https://medium.com/sirisoft/machine-learning-%E0%B9%84%E0%B8%A1%E0%B9%88%E0%B8%A2%E0%B8%B2%E0%B8%81%E0%B8%AD%E0%B8%A2%E0%B9%88%E0%B8%B2%E0%B8%87%E0%B8%97%E0%B8%B5%E0%B9%88%E0%B8%84%E0%B8%B4%E0%B8%94%E0%B8%94%E0%B9%89%E0%B8%A7%E0%B8%A2-amazon-machine-learning-98ea1984cfd3?source=rss-17f8f5fa4a1b------2</link>
            <guid isPermaLink="false">https://medium.com/p/98ea1984cfd3</guid>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[go]]></category>
            <dc:creator><![CDATA[ณัฐภัทร ป้อมสินทรัพย์]]></dc:creator>
            <pubDate>Mon, 06 Jan 2020 13:03:06 GMT</pubDate>
            <atom:updated>2020-01-06T14:03:55.926Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/820/1*vKxUyD7nyqzZcWiivo0eZg.png" /></figure><h3>Machine Learning คืออะไร ?</h3><p>ML หรือ Machine Learning ที่เราคุ้นหูกันคือโปรแกรมอย่างหนึ่งครับ โดยหลักการของมันคือ “การสอนให้โปรแกรม หรือ ระบบคอมพิวเตอร์มีความสามารถเรียนรู้ได้ด้วยตัวเองโดยการใช้ข้อมูล” โดย ML สามารถนำมาใช้ประโยชน์ได้หลากหลาย เช่นการระบุตัวตน, การจำแนกสิ่งของต่างๆ หรือ การคาดการที่อิงจากข้อมูลตัวอย่าง</p><h3><strong>Amazon Machine Learning คืออะไร ?</strong></h3><p>Amazon Machine Learning คือ Service หนึ่งของ Amazon Web Service ที่ให้บริการด้าน Machine Learning ครับ โดย Amazon Machine Learning หรือเรียกย่อๆว่า AML จะมี Features หลากหลายเช่น <a href="https://aws.amazon.com/sagemaker/">Amazon Sage Maker</a>, <a href="https://aws.amazon.com/rekognition/">Amazon Rekognition</a>, <a href="https://aws.amazon.com/deeplens/">Amazon Deeplens</a>, ฯลฯ</p><h3>ทำไมถึงต้องเป็น AML (Amazon Machine Learning)</h3><p>เนื่องจาก Machine Learning เป็นโปรแกรมตัวหนึ่งครับจำเป็นต้องพัฒนาขึ้นมาเองโดยการจะทำให้ ML นั้นใช้งานได้อย่างมีประสิทธิภาพนั้นจำเป็นต้องมีการเพิ่มข้อมูลตัวอย่างเข้าไปในระบบ แต่ทาง AML จะเป็นการช่วยอำนวยความสะดวกในการพัฒนาลงโดยทาง AML จะมี API หรือตัว SDK มาให้เราใช้งาน ซึ่งทำให้เราไม่จำเป็นต้องเพิ่มข้อมูลตัวอย่างจำนวนหนึ่งก่อน ทำให้เราสะดวกยิ่งขึ้นในการเรียกใช้หรือพัฒนาโปรแกรมที่มีส่วนของ Machine Learning ครับ</p><h3><strong>มาเริ่มทดลองใช้งานกัน</strong></h3><p>ในบทความนี้เราจะใช้ Amazon Rekognition มาใช้สำหรับ Detect Object นะครับโดยจะมี Service อื่นที่เกี่ยวข้องด้วยหลักๆ 3 ตัว ประกอบไปด้วย IAM, S3 และ AWS Lambda ครับ</p><blockquote>โดย Archictecture ของตัวอย่างนี้จะมีรูปแบบเป็นแบบนี้ครับ</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/901/1*md0u7Wbi01wCOKEffS189Q.png" /></figure><blockquote>ขั้นตอนแรกให้ทำการสร้าง User ใน IAM สำหรับใช้งาน โดยในส่วน Permission ให้ตั้งค่าเป็น AmazonS3FullAccess, AWSCloudFormationFullAccess, IAMFullAccess และ AmazonRekognitionFullAccess</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WY2gp48_e38RiwICNCgKPg.png" /></figure><blockquote>จากนั้นนำค่า Secret ที่ได้มาจากการสร้าง User มาใส่บนเครื่อง Local เรา</blockquote><pre>$ aws configure</pre><pre>AWS Access Key ID [****************JA3U]: &lt;Your Access Key&gt;</pre><pre>AWS Secret Access Key [****************vvNl]: &lt;Your Secret Key&gt;</pre><pre>Default region name [ap-southeast-1]:</pre><pre>Default output format [json]:</pre><blockquote>หลังจากที่ทำการเพิ่ม Access Key แล้วให้ทำการสร้างโปรเจคโดยในที่นี้จะใช้เป็น Go</blockquote><pre>$ cd ~/go/src<br>$ serverless create -t aws-go-dep -p aws-rekog<br>$ cd aws-rekog &amp;&amp; make</pre><blockquote>จากนั้นลองใช้คำสั่ง Serverless deploy เพื่อตรวจสอบว่าสามารถเชื่อมต่อไปยัง AWS ได้</blockquote><pre>$ serverless deploy </pre><blockquote>ทำการเขียน Service สำหรับการ Detect Object โดย Service นี้จะทำการตรวจสอบรูปที่เรารับมาจากฝั่ง HTML และนำไป Detect Object ผ่าน AWS SDK</blockquote><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1e50bea27504d90908ac18a15c970941/href">https://medium.com/media/1e50bea27504d90908ac18a15c970941/href</a></iframe><blockquote>เพิ่ม Serverless Endpoint สำหรับใช้เรียก API</blockquote><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e84a7fae54f0bdfae62c2defccbfa89a/href">https://medium.com/media/e84a7fae54f0bdfae62c2defccbfa89a/href</a></iframe><blockquote>สำหรับหน้าเว็บที่ใช้แสดงผล ในที่นี้จะใช้เป็น HTML และ JS ในการเรียกใช้ครับ</blockquote><p>index.html</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0fb5e9ef2d46cfa0de4bc42d09f7007f/href">https://medium.com/media/0fb5e9ef2d46cfa0de4bc42d09f7007f/href</a></iframe><p>script.js</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0f900ee12b1d93d3b64e44d103b226b9/href">https://medium.com/media/0f900ee12b1d93d3b64e44d103b226b9/href</a></iframe><p>style.css</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/044a894cdfc8518ee82f3b0e7e9f6563/href">https://medium.com/media/044a894cdfc8518ee82f3b0e7e9f6563/href</a></iframe><p>จากนั้นทำการลองเรียกใช้ API ที่เราเขียนจาก &lt;AWS-ENDPOINT&gt;/check โดยผลลัพธ์จะได้ผลตามภาพครับ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VEAlPnYWp6aT1jtypQIL6g.png" /></figure><p>ผมหวังว่าบทความนี้จะช่วยให้ใครก็ตามที่จะลองทำ Machine Learning ได้แนวทางเพิ่มเติมและเลือกใช้ AWS จากการอ่านบทความนี้ในการพัฒนาโปรแกรมที่มี Machine Learning ครับ หากมีข้อผิดพลาดประการใดต้องขออภัยมา ณ ที่นี้ด้วยครับ</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=98ea1984cfd3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/sirisoft/machine-learning-%E0%B9%84%E0%B8%A1%E0%B9%88%E0%B8%A2%E0%B8%B2%E0%B8%81%E0%B8%AD%E0%B8%A2%E0%B9%88%E0%B8%B2%E0%B8%87%E0%B8%97%E0%B8%B5%E0%B9%88%E0%B8%84%E0%B8%B4%E0%B8%94%E0%B8%94%E0%B9%89%E0%B8%A7%E0%B8%A2-amazon-machine-learning-98ea1984cfd3">Machine Learning ไม่ยากอย่างที่คิดด้วย Amazon Machine Learning</a> was originally published in <a href="https://medium.com/sirisoft">Sirisoft</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>