<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Deep Learning &#8211; PARINYA.NET</title>
	<atom:link href="https://www.parinya.net/node/tag/deep-learning/feed" rel="self" type="application/rss+xml" />
	<link>https://www.parinya.net</link>
	<description>ทฤษฎีการคำนวณสำหรับคอมพิวเตอร์และทฤษฎีการประมวลผลสารสนเทศ</description>
	<lastBuildDate>Fri, 01 Mar 2019 08:00:56 +0000</lastBuildDate>
	<language>th</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>ทำไม Deep Learning บน Quantum Computer จึงทำงานเร็วมาก ๆ</title>
		<link>https://www.parinya.net/node/2546</link>
					<comments>https://www.parinya.net/node/2546#respond</comments>
		
		<dc:creator><![CDATA[ไท้ ปริญญา]]></dc:creator>
		<pubDate>Thu, 28 Sep 2017 14:52:29 +0000</pubDate>
				<category><![CDATA[Artificial Intelligence]]></category>
		<category><![CDATA[Inspiration]]></category>
		<category><![CDATA[Quantum Computer]]></category>
		<category><![CDATA[ควอนตัมคอมพิวเตอร์]]></category>
		<category><![CDATA[งานวิจัยของคนอื่น]]></category>
		<category><![CDATA[งานวิจัยทฤษฎี]]></category>
		<category><![CDATA[ปัญญาประดิษฐ์]]></category>
		<category><![CDATA[Deep Learning]]></category>
		<category><![CDATA[quantum computer]]></category>
		<guid isPermaLink="false">http://www.parinya.net/?p=2546</guid>

					<description><![CDATA[ตอนนี้ Deep Learning เป็น]]></description>
										<content:encoded><![CDATA[<p>ตอนนี้ Deep Learning เป็นพระเอกของปัญญาประดิษฐ์ ผมเลยคิดว่าจะชวนพวกเราคุยเรื่องที่ไม่ค่อยมีคนคุย นั่นก็คือ Big O ในการคำนวณ Deep Learning น่าจะอยู่ในคลาสไหน?</p>
<p>จริง ๆ แล้ว ไม่ว่าจะเป็น Perceptron หรือ Multi-layer Perceptron หรือ Deep Learning ผมก็วิเคราะห์ว่า Big O น่าจะเท่ากับ Big O(LXN + LXN) ซึ่งก็หมายความว่ามันเป็นสมาชิกของคลาส Big O(N ^ 3)</p>
<p>โดย L = จำนวน Hidden Layer + Output Layer, X = จำนวน Node ใน Layer ถัดไป และ N = จำนวน Node ใน Layer ปัจจุบัน</p>
<p>และที่ต้องเอา LXN มาบวกกับ LXN ก็เพราะว่า LXN แรกคือเวลาในการคำนวณผล ส่วน LXN หลังคือเวลาในการป้อนค่่าน้ำหนักย้อนกลับ!!!</p>
<p>ดังนั้น ถ้าเรามองดี ๆ เราจะเห็นว่ากรณี Perceptron ซึ่ง L = 0+1 (ไม่มี Hidden Layer) และ X = 1 (Output Layer มีเพียง Node เดียว) ดังนั้น Big O ของ Perceptron คือ Big O(1*1*N + 1*1*N) หรือ Big O(2N)</p>
<p>สำหรับการวนตามจำนวน epoch เพื่อเรียนรู้ตาม dataset ที่มี ผมไม่นับใน Big O นะ ผมนับเฉพาะในส่วนของ Model เท่านั้น เดี๋ยวจะเข้าใจผิดกันว่ามันต้องมีลูปใหญ่อีกชั้นนึงตอนสอน Deep Learning แล้วทำไมถึงไม่นับใน Big O ด้วย!!!</p>
<p>ทั้งหมดที่ผมเกริ่น ๆ ขึ้นมา ผมแค่อยากจะบอกว่าการคำนวณ Deep Learning มันใช้เวลาเป็น Polynomial และมันต้องวนลูป 3 ชั้นสองครั้งขึ้นไป ซึ่งมันเป็นสิ่งที่กระทำได้ตามสภาพที่ Digital Computer จะเอื้ออำนวย</p>
<p>ผมเคยเล่าเรื่อง<a href="https://www.parinya.net/node/2413">ความเร็วของ Quantum Computer</a> เอาไว้ ผมบอกว่า Quantum Computer โดยกำเนิดแล้ว สามารถคำนวณทุกปัญหาได้ในเวลา Polynomial โดยต้องมีอัลกอริทึมที่เหมาะสม</p>
<p>ดังนั้น ต่อให้เป็นปัญหาที่คำนวณบน Digital Computer ซึ่งต้องคำนวณด้วยเวลา Exponential หรือ Factorial แต่ถ้ามีอัลกอริทึมที่เหมาะสม ก็สามารถคำนวณด้วยเวลา Polynomial ได้บน Quantum Computer!!!</p>
<p>และไม่ใช่ Polynomial แบบ Big O(N) หรือ Big O(N^C) ด้วยนะ แต่ Quantum Computer สามารถลดความเร็วลงได้ถึงระดับ Big O((Log N) ^ 2 (Log Log N) (Log Log Log N)) เลยทีเดียว (อันนี้ผมอ้างอิงจาก Paper<a href="https://arxiv.org/abs/quant-ph/9508027"> การแยกตัวประกอบเฉพาะบน Quantum Computer</a> ของ Peter Shor นะ )!!!</p>
<p>ทีนี้เราย้อนกลับมาเปรียบเทียบ จะเห็นว่า Deep Learning ใช้เวลาคำนวณในคลาส Big O(N ^ 3) ดังนั้น หากคิดค้นอัลกอริทึมที่เหมาะสมได้ ก็อาจสามารถลดความเร็วในการคำนวณบน Quantum Computer ให้อยู่ในคลาส Big O(Log N) หรือ Big O(N Log N) ได้เลยทีเดียว!!!</p>
<p>สรุปแล้ว อัลกอริทึมเป็นสิ่งสำคัญที่สุด มันต้องมีคนคิดค้นอัลกอริทึมสำหรับ Deep Learning บน Quantum Computer ให้ได้ก่อน ศักยภาพแห่งความเร็วโคตร ๆ จึงจะเกิดขึ้นได้ และเมื่อนั้น การสอน Deep Learning รวมทั้งการทำนายด้วย Deep Learning บน Quantum Computer จึงจะเป็นอะไรที่น่าตื่นตะลึงในความเร็วอย่างถึงที่สุดครับ</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.parinya.net/node/2546/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>การติดตั้ง Tensorflow บน Microsoft Windows</title>
		<link>https://www.parinya.net/node/2514</link>
					<comments>https://www.parinya.net/node/2514#respond</comments>
		
		<dc:creator><![CDATA[ไท้ ปริญญา]]></dc:creator>
		<pubDate>Tue, 20 Jun 2017 10:03:33 +0000</pubDate>
				<category><![CDATA[Artificial Intelligence]]></category>
		<category><![CDATA[Feature]]></category>
		<category><![CDATA[artificial neural network]]></category>
		<category><![CDATA[Deep Learning]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Tensorflow]]></category>
		<guid isPermaLink="false">http://www.parinya.net/?p=2514</guid>

					<description><![CDATA[ผมอยากลองใช้ Tensorflow ต]]></description>
										<content:encoded><![CDATA[<p>ผมอยากลองใช้ Tensorflow ตามกระแสครับ คือจริง ๆ มันก็มีเครื่องมือหลายตัวที่ทำงานด้าน AI ได้ ไม่ว่าจะเป็น Matlab, Octave, Weka หรือ RapidMiner (รวมทั้ง Library หรือ Framework ด้าน AI ที่ใช้กับภาษา C/C++) แต่ว่าเครื่องมือเหล่านั้นเป็นสหสาขา AI เลยทำได้แบบกลาง ๆ คลุม ๆ ไม่เน้นเฉพาะด้าน ซึ่งแตกต่างจาก Tensorflow ที่เด่นด้าน Artificial Neural Network โดยเฉพาะ</p>
<p>ผมต้องการติดตั้งเพื่อใช้งาน Tensorflow บน Microsoft Windows ครับ และหลังจากใช้ความพยายามหลาย ๆ ๆ ๆ ๆ ครั้ง ผิดโน่นนี่นั่นครั้งแล้วครั้งเล่า ก็ได้ทำให้ผมสามารถวาดสิ่งที่เรียกว่า&nbsp;Prerequisite หรือก็คือสิ่งที่จะต้องมีมาก่อน ก่อนที่เราจะติดตั้ง Tensorflow บน Microsoft Windows ได้ โดยมีแผนภาพตามภาพข้างล่างนี้ครับ</p>
<figure id="attachment_2515" aria-describedby="caption-attachment-2515" style="width: 838px" class="wp-caption aligncenter"><a href="https://www.parinya.net/wp-content/uploads/2017/06/tensorflow.png"><img fetchpriority="high" decoding="async" class="size-full wp-image-2515" src="https://www.parinya.net/wp-content/uploads/2017/06/tensorflow.png" alt="Prerequisite ในการติดตั้ง Tensorflow บน Microsoft Windows" width="838" height="730" srcset="https://www.parinya.net/wp-content/uploads/2017/06/tensorflow.png 838w, https://www.parinya.net/wp-content/uploads/2017/06/tensorflow-300x261.png 300w, https://www.parinya.net/wp-content/uploads/2017/06/tensorflow-768x669.png 768w" sizes="(max-width: 838px) 100vw, 838px" /></a><figcaption id="caption-attachment-2515" class="wp-caption-text">Prerequisite ในการติดตั้ง Tensorflow บน Microsoft Windows</figcaption></figure>
<p>ณ ปัจจุบันนี้ ผมยังติดตั้ง Tensorflow บน Microsoft Windows ไม่สำเร็จครับ เพราะเครื่องของผมมันไม่ได้ติดตั้ง Microsoft Windows 64 บิต</p>
<p>ก็เขียนแปะไว้ก่อนครับ เผื่อมีตังค์ซื้อเครื่องที่มี CPU 64 บิตและลง Microsoft Windows 64 บิต ผมก็จะได้เอาบันทึกช่วยจำชิ้นนี้ มาทวนการติดตั้ง Tensorflow อีกครั้ง</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.parinya.net/node/2514/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
