<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2658278270067621484</id><updated>2012-02-01T04:42:06.846-08:00</updated><title type='text'>Software Developer Page</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://xtremeprogrammer86.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://xtremeprogrammer86.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>XtremeProgrammer86</name><uri>http://www.blogger.com/profile/13364848338308136597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://3.bp.blogspot.com/_s5F9vvzw-Dg/SkIFp1TfmtI/AAAAAAAAAAM/Xj_gqGTRl7s/S220/Image4.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>19</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2658278270067621484.post-8716480071375609260</id><published>2010-10-19T20:54:00.000-07:00</published><updated>2010-10-19T21:04:03.914-07:00</updated><title type='text'>I-Surgery using PHP6</title><content type='html'>For those who want to learn PHP on how to design a simple interface on Booking system. Feel free to click the below link to view the source codes.&lt;br /&gt;&lt;a href="http://rapidshare.com/files/426092105/I-Surgery.rar"&gt;http://rapidshare.com/files/426092105/I-Surgery.rar&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The research paper for this project will be posted in few weeks time.. feel free to browse through my blogs for udpdate. Thanks =)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2658278270067621484-8716480071375609260?l=xtremeprogrammer86.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xtremeprogrammer86.blogspot.com/feeds/8716480071375609260/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2010/10/i-surgery-using-php6.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/8716480071375609260'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/8716480071375609260'/><link rel='alternate' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2010/10/i-surgery-using-php6.html' title='I-Surgery using PHP6'/><author><name>XtremeProgrammer86</name><uri>http://www.blogger.com/profile/13364848338308136597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://3.bp.blogspot.com/_s5F9vvzw-Dg/SkIFp1TfmtI/AAAAAAAAAAM/Xj_gqGTRl7s/S220/Image4.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2658278270067621484.post-4139698817415501089</id><published>2010-10-19T20:21:00.001-07:00</published><updated>2011-08-29T21:41:26.873-07:00</updated><title type='text'>How to Drive Servive Innovation for an organization?</title><content type='html'>&lt;div style="WIDTH: 477px" id="__ss_5497032"&gt;&lt;strong style="MARGIN: 12px 0px 4px; DISPLAY: block"&gt;&lt;br /&gt;&lt;/strong&gt;&lt;object id="__sse5497032" width="477" height="510"&gt;&lt;param name="movie" value="http://static.slidesharecdn.com/swf/doc_player.swf?doc=serviceinnovation-tys-101019224852-phpapp02&amp;amp;stripped_title=service-innovation-tys-5497032&amp;amp;userName=josephtys86"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowScriptAccess" value="always"&gt;&lt;embed name="__sse5497032" src="http://static.slidesharecdn.com/swf/doc_player.swf?doc=serviceinnovation-tys-101019224852-phpapp02&amp;amp;stripped_title=service-innovation-tys-5497032&amp;amp;userName=josephtys86" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="477" height="510"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div style="PADDING-BOTTOM: 12px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 5px"&gt;View more &lt;a href="http://www.slideshare.net/"&gt;documents&lt;/a&gt; from &lt;a href="http://www.slideshare.net/josephtys86"&gt;josephtys86&lt;/a&gt;.&lt;/div&gt;&lt;/div&gt;This is part of my assignment on how to design a service system and driving innovation for organization to achieve competitiveness.&lt;script src="http://b.scorecardresearch.com/beacon.js?c1=7&amp;amp;c2=7400849&amp;amp;c3=1&amp;amp;c4=&amp;amp;c5=&amp;amp;c6="&gt;&lt;/script&gt;&lt;script src="http://b.scorecardresearch.com/beacon.js?c1=7&amp;amp;c2=7400849&amp;amp;c3=1&amp;amp;c4=&amp;amp;c5=&amp;amp;c6="&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2658278270067621484-4139698817415501089?l=xtremeprogrammer86.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xtremeprogrammer86.blogspot.com/feeds/4139698817415501089/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2010/10/how-to-drive-servive-innovation-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/4139698817415501089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/4139698817415501089'/><link rel='alternate' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2010/10/how-to-drive-servive-innovation-for.html' title='How to Drive Servive Innovation for an organization?'/><author><name>XtremeProgrammer86</name><uri>http://www.blogger.com/profile/13364848338308136597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://3.bp.blogspot.com/_s5F9vvzw-Dg/SkIFp1TfmtI/AAAAAAAAAAM/Xj_gqGTRl7s/S220/Image4.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2658278270067621484.post-4725399784328149565</id><published>2010-10-19T20:20:00.001-07:00</published><updated>2010-10-19T20:20:54.390-07:00</updated><title type='text'>SAP BW- Transaction codes</title><content type='html'>&lt;div style="width:477px" id="__ss_5496855"&gt;&lt;strong style="display:block;margin:12px 0 4px"&gt;&lt;a href="http://www.slideshare.net/josephtys86/bi-transaction-codes" title="Bi transaction codes"&gt;Bi transaction codes&lt;/a&gt;&lt;/strong&gt;&lt;object id="__sse5496855" width="477" height="510"&gt;&lt;param name="movie" value="http://static.slidesharecdn.com/swf/doc_player.swf?doc=bitransactioncodes-101019221758-phpapp02&amp;stripped_title=bi-transaction-codes&amp;userName=josephtys86" /&gt;&lt;param name="allowFullScreen" value="true"/&gt;&lt;param name="allowScriptAccess" value="always"/&gt;&lt;embed name="__sse5496855" src="http://static.slidesharecdn.com/swf/doc_player.swf?doc=bitransactioncodes-101019221758-phpapp02&amp;stripped_title=bi-transaction-codes&amp;userName=josephtys86" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="477" height="510"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div style="padding:5px 0 12px"&gt;View more &lt;a href="http://www.slideshare.net/"&gt;documents&lt;/a&gt; from &lt;a href="http://www.slideshare.net/josephtys86"&gt;josephtys86&lt;/a&gt;.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2658278270067621484-4725399784328149565?l=xtremeprogrammer86.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xtremeprogrammer86.blogspot.com/feeds/4725399784328149565/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2010/10/sap-bw-transaction-codes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/4725399784328149565'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/4725399784328149565'/><link rel='alternate' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2010/10/sap-bw-transaction-codes.html' title='SAP BW- Transaction codes'/><author><name>XtremeProgrammer86</name><uri>http://www.blogger.com/profile/13364848338308136597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://3.bp.blogspot.com/_s5F9vvzw-Dg/SkIFp1TfmtI/AAAAAAAAAAM/Xj_gqGTRl7s/S220/Image4.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2658278270067621484.post-4710285499295602519</id><published>2010-10-19T20:14:00.001-07:00</published><updated>2010-10-19T20:14:30.785-07:00</updated><title type='text'>SAP BW- Overview of SAP BW</title><content type='html'>&lt;div style="width:425px" id="__ss_5496729"&gt;&lt;strong style="display:block;margin:12px 0 4px"&gt;&lt;a href="http://www.slideshare.net/josephtys86/bw-training-1-intro-dw" title="Bw training   1 intro dw"&gt;Bw training   1 intro dw&lt;/a&gt;&lt;/strong&gt;&lt;object id="__sse5496729" width="425" height="355"&gt;&lt;param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=bwtraining-1introdw-101019214527-phpapp02&amp;stripped_title=bw-training-1-intro-dw&amp;userName=josephtys86" /&gt;&lt;param name="allowFullScreen" value="true"/&gt;&lt;param name="allowScriptAccess" value="always"/&gt;&lt;embed name="__sse5496729" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=bwtraining-1introdw-101019214527-phpapp02&amp;stripped_title=bw-training-1-intro-dw&amp;userName=josephtys86" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div style="padding:5px 0 12px"&gt;View more &lt;a href="http://www.slideshare.net/"&gt;presentations&lt;/a&gt; from &lt;a href="http://www.slideshare.net/josephtys86"&gt;josephtys86&lt;/a&gt;.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2658278270067621484-4710285499295602519?l=xtremeprogrammer86.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xtremeprogrammer86.blogspot.com/feeds/4710285499295602519/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2010/10/sap-bw-overview-of-sap-bw.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/4710285499295602519'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/4710285499295602519'/><link rel='alternate' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2010/10/sap-bw-overview-of-sap-bw.html' title='SAP BW- Overview of SAP BW'/><author><name>XtremeProgrammer86</name><uri>http://www.blogger.com/profile/13364848338308136597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://3.bp.blogspot.com/_s5F9vvzw-Dg/SkIFp1TfmtI/AAAAAAAAAAM/Xj_gqGTRl7s/S220/Image4.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2658278270067621484.post-2387795751659192397</id><published>2010-10-19T20:13:00.003-07:00</published><updated>2010-10-19T20:13:45.334-07:00</updated><title type='text'>SAP BW - Administrative Workbench</title><content type='html'>&lt;div style="width:425px" id="__ss_5496730"&gt;&lt;strong style="display:block;margin:12px 0 4px"&gt;&lt;a href="http://www.slideshare.net/josephtys86/bw-training-2-admin-wb" title="Bw training   2 admin wb"&gt;Bw training   2 admin wb&lt;/a&gt;&lt;/strong&gt;&lt;object id="__sse5496730" width="425" height="355"&gt;&lt;param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=bwtraining-2adminwb-101019214524-phpapp02&amp;stripped_title=bw-training-2-admin-wb&amp;userName=josephtys86" /&gt;&lt;param name="allowFullScreen" value="true"/&gt;&lt;param name="allowScriptAccess" value="always"/&gt;&lt;embed name="__sse5496730" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=bwtraining-2adminwb-101019214524-phpapp02&amp;stripped_title=bw-training-2-admin-wb&amp;userName=josephtys86" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div style="padding:5px 0 12px"&gt;View more &lt;a href="http://www.slideshare.net/"&gt;presentations&lt;/a&gt; from &lt;a href="http://www.slideshare.net/josephtys86"&gt;josephtys86&lt;/a&gt;.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2658278270067621484-2387795751659192397?l=xtremeprogrammer86.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xtremeprogrammer86.blogspot.com/feeds/2387795751659192397/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2010/10/sap-bw-administrative-workbench_19.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/2387795751659192397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/2387795751659192397'/><link rel='alternate' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2010/10/sap-bw-administrative-workbench_19.html' title='SAP BW - Administrative Workbench'/><author><name>XtremeProgrammer86</name><uri>http://www.blogger.com/profile/13364848338308136597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://3.bp.blogspot.com/_s5F9vvzw-Dg/SkIFp1TfmtI/AAAAAAAAAAM/Xj_gqGTRl7s/S220/Image4.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2658278270067621484.post-6454837942209607558</id><published>2010-10-19T20:13:00.001-07:00</published><updated>2010-10-19T20:13:44.835-07:00</updated><title type='text'>SAP BW - Administrative Workbench</title><content type='html'>&lt;div style="width:425px" id="__ss_5496730"&gt;&lt;strong style="display:block;margin:12px 0 4px"&gt;&lt;a href="http://www.slideshare.net/josephtys86/bw-training-2-admin-wb" title="Bw training   2 admin wb"&gt;Bw training   2 admin wb&lt;/a&gt;&lt;/strong&gt;&lt;object id="__sse5496730" width="425" height="355"&gt;&lt;param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=bwtraining-2adminwb-101019214524-phpapp02&amp;stripped_title=bw-training-2-admin-wb&amp;userName=josephtys86" /&gt;&lt;param name="allowFullScreen" value="true"/&gt;&lt;param name="allowScriptAccess" value="always"/&gt;&lt;embed name="__sse5496730" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=bwtraining-2adminwb-101019214524-phpapp02&amp;stripped_title=bw-training-2-admin-wb&amp;userName=josephtys86" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div style="padding:5px 0 12px"&gt;View more &lt;a href="http://www.slideshare.net/"&gt;presentations&lt;/a&gt; from &lt;a href="http://www.slideshare.net/josephtys86"&gt;josephtys86&lt;/a&gt;.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2658278270067621484-6454837942209607558?l=xtremeprogrammer86.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xtremeprogrammer86.blogspot.com/feeds/6454837942209607558/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2010/10/sap-bw-administrative-workbench.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/6454837942209607558'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/6454837942209607558'/><link rel='alternate' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2010/10/sap-bw-administrative-workbench.html' title='SAP BW - Administrative Workbench'/><author><name>XtremeProgrammer86</name><uri>http://www.blogger.com/profile/13364848338308136597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://3.bp.blogspot.com/_s5F9vvzw-Dg/SkIFp1TfmtI/AAAAAAAAAAM/Xj_gqGTRl7s/S220/Image4.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2658278270067621484.post-4373182105578737934</id><published>2010-10-19T20:11:00.000-07:00</published><updated>2010-10-19T20:12:23.283-07:00</updated><title type='text'>SAP BW - Data Modeling</title><content type='html'>&lt;div style="width:425px" id="__ss_5496732"&gt;&lt;strong style="display:block;margin:12px 0 4px"&gt;&lt;a href="http://www.slideshare.net/josephtys86/bw-training-3-data-modeling" title="Bw training   3 data modeling"&gt;Bw training   3 data modeling&lt;/a&gt;&lt;/strong&gt;&lt;object id="__sse5496732" width="425" height="355"&gt;&lt;param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=bwtraining-3datamodeling-101019214533-phpapp02&amp;stripped_title=bw-training-3-data-modeling&amp;userName=josephtys86" /&gt;&lt;param name="allowFullScreen" value="true"/&gt;&lt;param name="allowScriptAccess" value="always"/&gt;&lt;embed name="__sse5496732" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=bwtraining-3datamodeling-101019214533-phpapp02&amp;stripped_title=bw-training-3-data-modeling&amp;userName=josephtys86" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div style="padding:5px 0 12px"&gt;View more &lt;a href="http://www.slideshare.net/"&gt;presentations&lt;/a&gt; from &lt;a href="http://www.slideshare.net/josephtys86"&gt;josephtys86&lt;/a&gt;.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2658278270067621484-4373182105578737934?l=xtremeprogrammer86.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xtremeprogrammer86.blogspot.com/feeds/4373182105578737934/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2010/10/sap-bw-data-modeling.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/4373182105578737934'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/4373182105578737934'/><link rel='alternate' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2010/10/sap-bw-data-modeling.html' title='SAP BW - Data Modeling'/><author><name>XtremeProgrammer86</name><uri>http://www.blogger.com/profile/13364848338308136597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://3.bp.blogspot.com/_s5F9vvzw-Dg/SkIFp1TfmtI/AAAAAAAAAAM/Xj_gqGTRl7s/S220/Image4.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2658278270067621484.post-2008069068987986189</id><published>2010-10-19T20:08:00.000-07:00</published><updated>2010-10-19T20:11:27.064-07:00</updated><title type='text'>SAP BW - Data Extraction</title><content type='html'>&lt;div style="width:425px" id="__ss_5496734"&gt;&lt;strong style="display:block;margin:12px 0 4px"&gt;&lt;a href="http://www.slideshare.net/josephtys86/bw-training-4-extraction" title="Bw training   4 extraction"&gt;Bw training   4 extraction&lt;/a&gt;&lt;/strong&gt;&lt;object id="__sse5496734" width="425" height="355"&gt;&lt;param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=bwtraining-4extraction-101019214541-phpapp02&amp;stripped_title=bw-training-4-extraction&amp;userName=josephtys86" /&gt;&lt;param name="allowFullScreen" value="true"/&gt;&lt;param name="allowScriptAccess" value="always"/&gt;&lt;embed name="__sse5496734" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=bwtraining-4extraction-101019214541-phpapp02&amp;stripped_title=bw-training-4-extraction&amp;userName=josephtys86" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div style="padding:5px 0 12px"&gt;View more &lt;a href="http://www.slideshare.net/"&gt;presentations&lt;/a&gt; from &lt;a href="http://www.slideshare.net/josephtys86"&gt;josephtys86&lt;/a&gt;.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2658278270067621484-2008069068987986189?l=xtremeprogrammer86.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xtremeprogrammer86.blogspot.com/feeds/2008069068987986189/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2010/10/sap-bw-data-extraction.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/2008069068987986189'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/2008069068987986189'/><link rel='alternate' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2010/10/sap-bw-data-extraction.html' title='SAP BW - Data Extraction'/><author><name>XtremeProgrammer86</name><uri>http://www.blogger.com/profile/13364848338308136597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://3.bp.blogspot.com/_s5F9vvzw-Dg/SkIFp1TfmtI/AAAAAAAAAAM/Xj_gqGTRl7s/S220/Image4.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2658278270067621484.post-2211306065197760649</id><published>2010-10-19T20:05:00.001-07:00</published><updated>2010-10-19T20:05:32.590-07:00</updated><title type='text'>ODS</title><content type='html'>&lt;div style="width:425px" id="__ss_5496736"&gt;&lt;strong style="display:block;margin:12px 0 4px"&gt;&lt;a href="http://www.slideshare.net/josephtys86/bw-training-5-ods-and-bc" title="Bw training   5 ods and bc"&gt;Bw training   5 ods and bc&lt;/a&gt;&lt;/strong&gt;&lt;object id="__sse5496736" width="425" height="355"&gt;&lt;param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=bwtraining-5odsandbc-101019214550-phpapp02&amp;stripped_title=bw-training-5-ods-and-bc&amp;userName=josephtys86" /&gt;&lt;param name="allowFullScreen" value="true"/&gt;&lt;param name="allowScriptAccess" value="always"/&gt;&lt;embed name="__sse5496736" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=bwtraining-5odsandbc-101019214550-phpapp02&amp;stripped_title=bw-training-5-ods-and-bc&amp;userName=josephtys86" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div style="padding:5px 0 12px"&gt;View more &lt;a href="http://www.slideshare.net/"&gt;presentations&lt;/a&gt; from &lt;a href="http://www.slideshare.net/josephtys86"&gt;josephtys86&lt;/a&gt;.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2658278270067621484-2211306065197760649?l=xtremeprogrammer86.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xtremeprogrammer86.blogspot.com/feeds/2211306065197760649/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2010/10/ods.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/2211306065197760649'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/2211306065197760649'/><link rel='alternate' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2010/10/ods.html' title='ODS'/><author><name>XtremeProgrammer86</name><uri>http://www.blogger.com/profile/13364848338308136597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://3.bp.blogspot.com/_s5F9vvzw-Dg/SkIFp1TfmtI/AAAAAAAAAAM/Xj_gqGTRl7s/S220/Image4.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2658278270067621484.post-9181131456623430902</id><published>2010-10-19T19:53:00.000-07:00</published><updated>2010-10-19T20:15:15.841-07:00</updated><title type='text'>SAP BW- Overview of BW Reporting</title><content type='html'>&lt;div style="WIDTH: 425px" id="__ss_5496737"&gt;&lt;strong style="MARGIN: 12px 0px 4px; DISPLAY: block"&gt;&lt;a title="Bw training   7 bw reporting b ex 1" href="http://www.slideshare.net/josephtys86/bw-training-7-bw-reporting-b-ex-1"&gt;Bw training 7 bw reporting b ex 1&lt;/a&gt;&lt;/strong&gt;&lt;object id="__sse5496737" width="425" height="355"&gt;&lt;param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=bwtraining-7bwreportingbex1-101019214601-phpapp02&amp;amp;stripped_title=bw-training-7-bw-reporting-b-ex-1&amp;amp;userName=josephtys86"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowScriptAccess" value="always"&gt;&lt;embed name="__sse5496737" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=bwtraining-7bwreportingbex1-101019214601-phpapp02&amp;stripped_title=bw-training-7-bw-reporting-b-ex-1&amp;userName=josephtys86" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div style="PADDING-BOTTOM: 12px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 5px"&gt;View more &lt;a href="http://www.slideshare.net/"&gt;presentations&lt;/a&gt; from &lt;a href="http://www.slideshare.net/josephtys86"&gt;josephtys86&lt;/a&gt;.&lt;/div&gt;&lt;/div&gt;&lt;p&gt;Presentation slides on SAP BW Overview. Feel free to ask me any questions if you have any doubts.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2658278270067621484-9181131456623430902?l=xtremeprogrammer86.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xtremeprogrammer86.blogspot.com/feeds/9181131456623430902/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2010/10/sap-bw-overview.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/9181131456623430902'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/9181131456623430902'/><link rel='alternate' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2010/10/sap-bw-overview.html' title='SAP BW- Overview of BW Reporting'/><author><name>XtremeProgrammer86</name><uri>http://www.blogger.com/profile/13364848338308136597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://3.bp.blogspot.com/_s5F9vvzw-Dg/SkIFp1TfmtI/AAAAAAAAAAM/Xj_gqGTRl7s/S220/Image4.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2658278270067621484.post-214607433305624019</id><published>2009-10-08T09:41:00.000-07:00</published><updated>2009-10-08T15:04:02.290-07:00</updated><title type='text'>Labview Basic I and II course</title><content type='html'>I have uploaded some of the Labview Basic I and II course for the beginner to learn. Please kindly ask me any questions if you don't understand how the systems work. I will do my best to provide you solutions. The course can be downloaded from the links below:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://rapidshare.com/files/290443132/LabVIEW_Basics_l_CBT.rar"&gt;http://rapidshare.com/files/290443132/LabVIEW_Basics_l_CBT.rar &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://rapidshare.com/files/290369633/LabVIEW_Basics_ll_CBT.rar.html"&gt;http://rapidshare.com/files/290369633/LabVIEW_Basics_ll_CBT.rar.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2658278270067621484-214607433305624019?l=xtremeprogrammer86.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xtremeprogrammer86.blogspot.com/feeds/214607433305624019/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2009/10/labview-basic-i-and-ii-course.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/214607433305624019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/214607433305624019'/><link rel='alternate' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2009/10/labview-basic-i-and-ii-course.html' title='Labview Basic I and II course'/><author><name>XtremeProgrammer86</name><uri>http://www.blogger.com/profile/13364848338308136597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://3.bp.blogspot.com/_s5F9vvzw-Dg/SkIFp1TfmtI/AAAAAAAAAAM/Xj_gqGTRl7s/S220/Image4.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2658278270067621484.post-6600107932651766656</id><published>2009-10-03T01:41:00.000-07:00</published><updated>2009-10-08T13:34:09.963-07:00</updated><title type='text'>How to create an ATM machine using Labview</title><content type='html'>In this project, I am going to demonstrate on how to use event structure and serial link to connect the PC and server without any breakdown. Real Time System is about working concurrently. For example, when the ATM machine break down, the PC should still able to function and allowed the customer to withdraw money and check and their bank account. There are many things which can be involved, so I am going to show you how you can apply Labview to do it.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;It might be hard at first, I will try my best to walk you through the tutorial. The overall solutions can be dowloaded from&lt;a href="http://rapidshare.com/files/290341895/RTS-1.rar.html"&gt; http://rapidshare.com/files/290341895/RTS-1.rar.html&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2658278270067621484-6600107932651766656?l=xtremeprogrammer86.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xtremeprogrammer86.blogspot.com/feeds/6600107932651766656/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2009/10/how-to-create-atm-machine-using-labview.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/6600107932651766656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/6600107932651766656'/><link rel='alternate' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2009/10/how-to-create-atm-machine-using-labview.html' title='How to create an ATM machine using Labview'/><author><name>XtremeProgrammer86</name><uri>http://www.blogger.com/profile/13364848338308136597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://3.bp.blogspot.com/_s5F9vvzw-Dg/SkIFp1TfmtI/AAAAAAAAAAM/Xj_gqGTRl7s/S220/Image4.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2658278270067621484.post-8735579311731656357</id><published>2009-07-08T02:07:00.001-07:00</published><updated>2009-09-30T00:42:28.346-07:00</updated><title type='text'>User Manual to run the Spam filter</title><content type='html'>Dear Reader, This is the User Manual to run the source code. Remember to reference the codes.&lt;div&gt;&lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="line-height:150%"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;User Manual for Window user (Bayesian)&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="line-height:150%"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal; -webkit-text-decorations-in-effect: none; "&gt;&lt;span style="line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-Times New Roman&amp;quot;font-family:&amp;quot;;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;1.    &lt;/span&gt;&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;          &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Go to the source directories of Bayesian filtering.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="line-height:150%"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal; -webkit-text-decorations-in-effect: none; "&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: none; "&gt;&lt;span style="line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-Times New Roman&amp;quot;font-family:&amp;quot;;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;2.&lt;/span&gt;&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Open the workspace.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="line-height:150%"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal; -webkit-text-decorations-in-effect: none; "&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: none; "&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: none; "&gt;&lt;span style="line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-Times New Roman&amp;quot;font-family:&amp;quot;;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;3.    &lt;/span&gt;&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;          &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Right click on each project and build it.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="line-height:150%"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal; -webkit-text-decorations-in-effect: none; "&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: none; "&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: none; "&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: none; "&gt;&lt;span style="line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-Times New Roman&amp;quot;font-family:&amp;quot;;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;4.&lt;/span&gt;&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;In Visual Studio, set the project setting with the following arguments for training. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="line-height:150%"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal; -webkit-text-decorations-in-effect: none; "&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: none; "&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: none; "&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: none; "&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: none; "&gt;[Directories of ham files] [Directory of spam files] [Parser Type].&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="line-height:150%"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal; -webkit-text-decorations-in-effect: none; "&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: none; "&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: none; "&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: none; "&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: none; "&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: none; "&gt;&lt;span style="line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-Times New Roman&amp;quot;font-family:&amp;quot;;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;5.&lt;/span&gt;&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Then for the classification, the setting for the arguments will be [Directories of the spam  message] [directories of the word level probability] [parser type]&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="line-height:150%"&gt;&lt;o:p&gt;&lt;span style="text-decoration:none"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="line-height:150%"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; User Manual for Window user (SVM)&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="line-height:150%"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal; -webkit-text-decorations-in-effect: none; "&gt;&lt;span style="line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-Times New Roman&amp;quot;font-family:&amp;quot;;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;1.&lt;/span&gt;&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Go to the source directories of SVM.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="line-height:150%"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal; -webkit-text-decorations-in-effect: none; "&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: none; "&gt;&lt;span style="line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-Times New Roman&amp;quot;font-family:&amp;quot;;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;2.   &lt;/span&gt;&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Open the workspace.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="line-height:150%"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal; -webkit-text-decorations-in-effect: none; "&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: none; "&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: none; "&gt;&lt;span style="line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-Times New Roman&amp;quot;font-family:&amp;quot;;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;3.   &lt;/span&gt;&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Right click on each project and build it.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="line-height:150%"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal; -webkit-text-decorations-in-effect: none; "&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: none; "&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: none; "&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: none; "&gt;&lt;span style="line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-Times New Roman&amp;quot;font-family:&amp;quot;;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;4.&lt;/span&gt;&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;For training, set the project setting as the following argument.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpLast" style="text-align:justify;line-height:150%"&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; [directories of spam files] [directories of ham files].&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoListParagraphCxSpLast" style="text-align:justify;line-height:150%"&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;For training the example, set the project setting as the following argument. [the directories of  the trainin.dat] [model.dat]&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoListParagraphCxSpLast" style="text-align:justify;line-height:150%"&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; For classification, set the project setting as the following argument.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoListParagraphCxSpLast" style="text-align:justify;line-height:150%"&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;[directories of the spam message] [directories of the model.dat] [directories of the Word_count.dat]&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="line-height:150%"&gt;&lt;o:p&gt;&lt;span style="text-decoration:none"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="line-height:150%"&gt;&lt;o:p&gt;&lt;span style="text-decoration:none"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="line-height:150%"&gt;&lt;o:p&gt;&lt;span style="text-decoration:none"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="line-height:150%"&gt;&lt;o:p&gt;&lt;span style="text-decoration:none"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="line-height:150%"&gt;&lt;o:p&gt;&lt;span style="text-decoration:none"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="line-height:150%"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;User commands for Linux User (Bayesian)&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="line-height: 150%; "&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;&lt;span style="line-height: 150%; font-family: 'Times New Roman', serif; font-family:&amp;quot;;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;1)  &lt;/span&gt;&lt;/span&gt;&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman'; "&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;                &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 150%; font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;Go to the application at the UBUNTU GUI and select terminal.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="line-height:150%"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span style="line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-Times New Roman&amp;quot;font-family:&amp;quot;;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;2)&lt;/span&gt;&lt;/span&gt;&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;In the terminal, type the command to link to the Bayesian directories.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="line-height:150%"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span style="line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-Times New Roman&amp;quot;font-family:&amp;quot;;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;3)&lt;/span&gt;&lt;/span&gt;&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;To compile the source code, type make-clean then type make. Now the file is compiled and the     binary will be generate in the bin directory.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="line-height:150%"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span style="line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-Times New Roman&amp;quot;font-family:&amp;quot;;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;4)  &lt;/span&gt;&lt;/span&gt;&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;To train the dataset,&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;go to the spamfiltering directories and type ./bin/trainer ../spam_files  ../ham_files WORD&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="line-height:150%"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span style="line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-Times New Roman&amp;quot;font-family:&amp;quot;;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;5)&lt;/span&gt;&lt;/span&gt;&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;To classify the spam, type&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;./bin/classifier&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;span style=" line-height:150%"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="line-height:150%"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;  User command for Linux User (SVM)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="line-height:150%"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;&lt;span style="line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-Times New Roman&amp;quot;font-family:&amp;quot;;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;1.   &lt;/span&gt;&lt;/span&gt;&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;Go to the application at the UBUNTU GUI and select terminal.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="line-height:150%"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span style="line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-Times New Roman&amp;quot;font-family:&amp;quot;;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;2.&lt;/span&gt;&lt;/span&gt;&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;In the terminal, change the directory to SVM_spam by typing cd Desktop\SVM_spam&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="line-height:150%"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span style="line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-Times New Roman&amp;quot;font-family:&amp;quot;;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;3.&lt;/span&gt;&lt;/span&gt;&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;To compile the source code, type make-clean then type make. Now the file is compiled and the      binary will be generate in the bin directory.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="line-height:150%"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span style="line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-Times New Roman&amp;quot;font-family:&amp;quot;;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;4.   &lt;/span&gt;&lt;/span&gt;&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;               &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;To run the feature extractor, type ./bin/feature_extractor ../spam_files ../ham_files&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="line-height:150%"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span style="line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-Times New Roman&amp;quot;font-family:&amp;quot;;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;5  .       &lt;/span&gt;&lt;/span&gt;&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;To run the svm_learn, type ./bin/svm_learn ../training.dat model.data&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="line-height: 150%; "&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;&lt;span style="line-height: 150%; font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span style="line-height: 150%; font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span style="line-height: 150%; font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span style="line-height: 150%; font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span style="line-height: 150%; font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span style="line-height: 150%; font-family: 'Times New Roman', serif; font-family:&amp;quot;;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;6.&lt;/span&gt;&lt;/span&gt;&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="line-height: 150%; font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="text-decoration: none;"&gt;Then type cat training.dat&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2658278270067621484-8735579311731656357?l=xtremeprogrammer86.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xtremeprogrammer86.blogspot.com/feeds/8735579311731656357/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2009/07/user-manual-to-run-spam-filter.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/8735579311731656357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/8735579311731656357'/><link rel='alternate' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2009/07/user-manual-to-run-spam-filter.html' title='User Manual to run the Spam filter'/><author><name>XtremeProgrammer86</name><uri>http://www.blogger.com/profile/13364848338308136597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://3.bp.blogspot.com/_s5F9vvzw-Dg/SkIFp1TfmtI/AAAAAAAAAAM/Xj_gqGTRl7s/S220/Image4.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2658278270067621484.post-3507250569958459289</id><published>2009-07-08T02:07:00.000-07:00</published><updated>2009-09-14T21:01:55.717-07:00</updated><title type='text'>User Manual to run the Spam filter</title><content type='html'>Dear Reader, This is the User Manual to run the source code. Remember to reference the codes.&lt;div&gt;&lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b style="mso-bidi-font-weight: normal"&gt;&lt;u&gt;&lt;span style="font-size:14.0pt;line-height:150%"&gt;User Manual for Window user (Bayesian)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpFirst" style="text-align:justify;text-indent:-18.0pt; line-height:150%;mso-list:l3 level1 lfo1"&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;"&gt;&lt;span style="mso-list:Ignore"&gt;1.&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;"&gt;Go to the source directories of Bayesian filtering.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpMiddle" style="text-align:justify;text-indent:-18.0pt; line-height:150%;mso-list:l3 level1 lfo1"&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;"&gt;&lt;span style="mso-list:Ignore"&gt;2.&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;"&gt;Open the workspace.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpMiddle" style="text-align:justify;text-indent:-18.0pt; line-height:150%;mso-list:l3 level1 lfo1"&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;"&gt;&lt;span style="mso-list:Ignore"&gt;3.&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;"&gt;Right click on each project and build it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpMiddle" style="text-align:justify;text-indent:-18.0pt; line-height:150%;mso-list:l3 level1 lfo1"&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;"&gt;&lt;span style="mso-list:Ignore"&gt;4.&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;"&gt;In Visual Studio, set the project setting with the following arguments for training. [Directories of ham files] [Directory of spam files] [Parser Type].&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpLast" style="text-align:justify;text-indent:-18.0pt; line-height:150%;mso-list:l3 level1 lfo1"&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;"&gt;&lt;span style="mso-list:Ignore"&gt;5.&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;"&gt;Then for the classification, the setting for the arguments will be [Directories of the spam message] [directories of the word level probability] [parser type]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b style="mso-bidi-font-weight: normal"&gt;&lt;u&gt;&lt;span style="font-size:14.0pt;line-height:150%"&gt;&lt;o:p&gt;&lt;span style="text-decoration:none"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b style="mso-bidi-font-weight: normal"&gt;&lt;u&gt;&lt;span style="font-size:14.0pt;line-height:150%"&gt;User Manual for Window user (SVM)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpFirst" style="text-align:justify;text-indent:-18.0pt; line-height:150%;mso-list:l1 level1 lfo4"&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;"&gt;&lt;span style="mso-list:Ignore"&gt;1.&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;"&gt;Go to the source directories of SVM.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpMiddle" style="text-align:justify;text-indent:-18.0pt; line-height:150%;mso-list:l1 level1 lfo4"&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;"&gt;&lt;span style="mso-list:Ignore"&gt;2.&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;"&gt;Open the workspace.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpMiddle" style="text-align:justify;text-indent:-18.0pt; line-height:150%;mso-list:l1 level1 lfo4"&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;"&gt;&lt;span style="mso-list:Ignore"&gt;3.&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;"&gt;Right click on each project and build it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpMiddle" style="text-align:justify;text-indent:-18.0pt; line-height:150%;mso-list:l1 level1 lfo4"&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;"&gt;&lt;span style="mso-list:Ignore"&gt;4.&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;"&gt;For training, set the project setting as the following argument.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpLast" style="text-align:justify;line-height:150%"&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;"&gt;[directories of spam files] [directories of ham files].&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;text-indent: -18.0pt;line-height:150%"&gt;&lt;span style="font-size:12.0pt;line-height:150%; font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;"&gt;5.&lt;span style="mso-tab-count:1"&gt;   &lt;/span&gt;For training the example, set the project setting as the following argument. [the directories of the trainin.dat] [model.dat]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;text-indent: -18.0pt;line-height:150%"&gt;&lt;span style="font-size:12.0pt;line-height:150%; font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;"&gt;6. &lt;span style="mso-tab-count:1"&gt;  &lt;/span&gt;For classification, set the project setting as the following argument.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;text-indent: -18.0pt;line-height:150%"&gt;&lt;span style="font-size:12.0pt;line-height:150%; font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;"&gt;&lt;span style="mso-tab-count:1"&gt;      &lt;/span&gt;[directories of the spam message] [directories of the model.dat] [directories of the Word_count.dat]&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b style="mso-bidi-font-weight: normal"&gt;&lt;u&gt;&lt;span style="font-size:14.0pt;line-height:150%"&gt;&lt;o:p&gt;&lt;span style="text-decoration:none"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b style="mso-bidi-font-weight: normal"&gt;&lt;u&gt;&lt;span style="font-size:14.0pt;line-height:150%"&gt;&lt;o:p&gt;&lt;span style="text-decoration:none"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b style="mso-bidi-font-weight: normal"&gt;&lt;u&gt;&lt;span style="font-size:14.0pt;line-height:150%"&gt;&lt;o:p&gt;&lt;span style="text-decoration:none"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b style="mso-bidi-font-weight: normal"&gt;&lt;u&gt;&lt;span style="font-size:14.0pt;line-height:150%"&gt;&lt;o:p&gt;&lt;span style="text-decoration:none"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b style="mso-bidi-font-weight: normal"&gt;&lt;u&gt;&lt;span style="font-size:14.0pt;line-height:150%"&gt;&lt;o:p&gt;&lt;span style="text-decoration:none"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b style="mso-bidi-font-weight: normal"&gt;&lt;u&gt;&lt;span style="font-size:14.0pt;line-height:150%"&gt;User commands for Linux User (Bayesian)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpFirst" style="text-align:justify;text-indent:-18.0pt; line-height:150%;mso-list:l0 level1 lfo2"&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;"&gt;&lt;span style="mso-list:Ignore"&gt;1)&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;"&gt;Go to the application at the UBUNTU GUI and select terminal.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpMiddle" style="text-align:justify;text-indent:-18.0pt; line-height:150%;mso-list:l0 level1 lfo2"&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;"&gt;&lt;span style="mso-list:Ignore"&gt;2)&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;"&gt;In the terminal, type the command to link to the Bayesian directories&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpMiddle" style="text-align:justify;text-indent:-18.0pt; line-height:150%;mso-list:l0 level1 lfo2"&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;"&gt;&lt;span style="mso-list:Ignore"&gt;3)&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;"&gt;To compile the source code, type make-clean then type make. Now the file is compiled and the binary will be generate in the bin directory.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpMiddle" style="text-align:justify;text-indent:-18.0pt; line-height:150%;mso-list:l0 level1 lfo2"&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;"&gt;&lt;span style="mso-list:Ignore"&gt;4)&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;"&gt;To train the dataset,&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;go to the spamfiltering directories and type ./bin/trainer ../spam_files ../ham_files WORD&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpLast" style="text-align:justify;text-indent:-18.0pt; line-height:150%;mso-list:l0 level1 lfo2"&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;"&gt;&lt;span style="mso-list:Ignore"&gt;5)&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;"&gt;To classify the spam, type&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;./bin/classifier&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;&lt;directories of the spam message&gt; &lt;Word_level_probability.dat&gt;&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;&lt;WORD&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;span style="font-size:14.0pt; line-height:150%"&gt;&lt;span style="mso-spacerun:yes"&gt; &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;b style="mso-bidi-font-weight: normal"&gt;&lt;u&gt;&lt;span style="font-size:14.0pt;line-height:150%"&gt;User command for Linux User (SVM)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpFirst" style="text-align:justify;text-indent:-18.0pt; line-height:150%;mso-list:l2 level1 lfo3"&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;"&gt;&lt;span style="mso-list:Ignore"&gt;1.&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;"&gt;Go to the application at the UBUNTU GUI and select terminal.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpMiddle" style="text-align:justify;text-indent:-18.0pt; line-height:150%;mso-list:l2 level1 lfo3"&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;"&gt;&lt;span style="mso-list:Ignore"&gt;2.&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;"&gt;In the terminal, change the directory to SVM_spam by typing cd Desktop\SVM_spam&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpMiddle" style="text-align:justify;text-indent:-18.0pt; line-height:150%;mso-list:l2 level1 lfo3"&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;"&gt;&lt;span style="mso-list:Ignore"&gt;3.&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;"&gt;To compile the source code, type make-clean then type make. Now the file is compiled and the binary will be generate in the bin directory.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpMiddle" style="text-align:justify;text-indent:-18.0pt; line-height:150%;mso-list:l2 level1 lfo3"&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;"&gt;&lt;span style="mso-list:Ignore"&gt;4.&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;"&gt;To run the feature extractor, type ./bin/feature_extractor ../spam_files ../ham_files&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpMiddle" style="text-align:justify;text-indent:-18.0pt; line-height:150%;mso-list:l2 level1 lfo3"&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;"&gt;&lt;span style="mso-list:Ignore"&gt;5.&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;"&gt;To run the svm_learn, type ./bin/svm_learn ../training.dat model.data&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpLast" style="text-align:justify;text-indent:-18.0pt; line-height:150%;mso-list:l2 level1 lfo3"&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;"&gt;&lt;span style="mso-list:Ignore"&gt;6.&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:12.0pt;line-height:150%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;"&gt;Then type cat training.dat&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height:150%"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2658278270067621484-3507250569958459289?l=xtremeprogrammer86.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xtremeprogrammer86.blogspot.com/feeds/3507250569958459289/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2009/07/user-manual-to-run-spam-filter_08.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/3507250569958459289'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/3507250569958459289'/><link rel='alternate' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2009/07/user-manual-to-run-spam-filter_08.html' title='User Manual to run the Spam filter'/><author><name>XtremeProgrammer86</name><uri>http://www.blogger.com/profile/13364848338308136597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://3.bp.blogspot.com/_s5F9vvzw-Dg/SkIFp1TfmtI/AAAAAAAAAAM/Xj_gqGTRl7s/S220/Image4.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2658278270067621484.post-3656483926815806213</id><published>2009-07-08T00:21:00.000-07:00</published><updated>2009-09-14T21:01:54.995-07:00</updated><title type='text'>Support Vector Machine Architecture</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_s5F9vvzw-Dg/SlRJNoIU44I/AAAAAAAAABI/oln6DiPQZf0/s1600-h/SVM.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 248px;" src="http://1.bp.blogspot.com/_s5F9vvzw-Dg/SlRJNoIU44I/AAAAAAAAABI/oln6DiPQZf0/s320/SVM.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5355986355309831042" /&gt;&lt;/a&gt;&lt;div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_s5F9vvzw-Dg/SlRJNoIU44I/AAAAAAAAABI/oln6DiPQZf0/s1600-h/SVM.jpg"&gt;&lt;/a&gt;&lt;b&gt;Introduction to SVM&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;p class="MsoNormal" style="text-align:justify;text-indent:25.5pt;line-height: 150%"&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;A support vector machine (SVM) is a computer algorithm that classifies a given example by assigning labels to objects through a number of training examples (William, 2006).  This algorithm consists of classification and regression algorithms, which were developed by Vapnik and it is gaining popularity due to many attractive features, and its promising empirical performance. For instance, an SVM can be used in the game development by clustering around the graphics into 3D graphic. Alternatively, an SVM can detect handwritten digits by examine large collection of scanned images of handwritten zeroes, ones and so forth (William, 2006). &lt;/span&gt;&lt;/span&gt;&lt;span style="background:yellow; mso-highlight:yellow"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align:justify;text-indent:25.5pt;line-height: 150%"&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;SVM algorithms are often based on the Structural Risk Minimization (SRM) principle from statistical learning theory. The role of the SRM is to find an optimal hyper lane for which the lowest true error can be guaranteed.  This framework has developed into an e learning algorithm when trained from a finite data set, and formed the ‘true’ performance when used in practice.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align:justify;text-indent:25.5pt;line-height: 150%"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;For a details explaination on how SVM work, you can download this project which written by me for my Final Year Project at &lt;/span&gt;&lt;span class="Apple-style-span"  style=" line-height: normal; color: rgb(0, 32, 78);  font-weight: bold; font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;a href="http://rapidshare.com/files/253305852/SVM.docx.html"&gt;http://rapidshare.com/files/253305852/SVM.docx.html. &lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="line-height: normal; font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Anyway, please quote a reference, if you want to take this for future research &amp;amp; development. Thank you.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align:justify;text-indent:25.5pt;line-height: 150%"&gt;&lt;span class="Apple-style-span"  style="font-family:'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/b&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2658278270067621484-3656483926815806213?l=xtremeprogrammer86.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xtremeprogrammer86.blogspot.com/feeds/3656483926815806213/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2009/07/support-vector-machine-architecture.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/3656483926815806213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/3656483926815806213'/><link rel='alternate' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2009/07/support-vector-machine-architecture.html' title='Support Vector Machine Architecture'/><author><name>XtremeProgrammer86</name><uri>http://www.blogger.com/profile/13364848338308136597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://3.bp.blogspot.com/_s5F9vvzw-Dg/SkIFp1TfmtI/AAAAAAAAAAM/Xj_gqGTRl7s/S220/Image4.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_s5F9vvzw-Dg/SlRJNoIU44I/AAAAAAAAABI/oln6DiPQZf0/s72-c/SVM.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2658278270067621484.post-186763999885047785</id><published>2009-07-07T23:54:00.000-07:00</published><updated>2009-09-14T21:01:54.995-07:00</updated><title type='text'>Bayesian filtering architecture</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_s5F9vvzw-Dg/SlRH0hC1KWI/AAAAAAAAABA/UZdDxCe3pF0/s1600-h/Bayes.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 238px;" src="http://2.bp.blogspot.com/_s5F9vvzw-Dg/SlRH0hC1KWI/AAAAAAAAABA/UZdDxCe3pF0/s320/Bayes.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5355984824399374690" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span"  style="color:#0000EE;"&gt;&lt;span class="Apple-style-span" style="text-decoration: underline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;How Bayesian Filtering work?&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;b&gt;&lt;span style="line-height:115%; font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast- mso-ansi-language:EN-GB;mso-fareast-language:AR-SA;mso-bidi-language:AR-SAfont-family:Calibri;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;First of all, there is need to tokenize the email, by separating the message in the email body into small parts. After the message being tokenized, the next process is to map them into the dictionary table which is also known as the frequency table. In this frequency table, the number occurrences of the same words will be analyzed.  Then, the probability of the email will be calculated using the Bayes’ theorem rule by categorize whether the words or tokens is spam or non-spam.&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; &lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-family:'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;b&gt;&lt;span style="line-height:115%; font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast- mso-ansi-language:EN-GB;mso-fareast-language:AR-SA;mso-bidi-language:AR-SAfont-family:Calibri;"&gt;&lt;span&gt;&lt;span class="Apple-style-span" style="font-weight: normal; line-height: 24px; "&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-family:'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;b&gt;&lt;span style="line-height:115%; font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast- mso-ansi-language:EN-GB;mso-fareast-language:AR-SA;mso-bidi-language:AR-SAfont-family:Calibri;"&gt;&lt;span&gt;&lt;span class="Apple-style-span" style="font-weight: normal; line-height: 24px; "&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;The final step is to modify the values of the token in the dictionary, for example, by setting the threshold level by removing fewer frequent items.  This process, however, gives a better impact in filtering the binary message.  While sometimes binary results are not required, it will still be able to produce the probability of bulk mail being spam.  This probability can work in many ways, but most of the Bayesian filtering implemented today will be based on this: those messages that message that are under 0.5% will be judged as non-spam. While the message above the rate of 0.5% which is 0.5%-1% will be judged as possible spam.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-family:'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="line-height: 24px;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-family:'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="line-height: 24px;"&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;How to extract message using N-Gram?&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-family:'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="line-height: 24px;"&gt;&lt;b&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;In the N-Gram extraction approach, frequent tokens such as &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;N &lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;phrased word are extracted for the use of corpus training. &lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Let &lt;/span&gt;&lt;g&gt;&lt;sub&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;1&lt;/span&gt;&lt;/sub&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;, g&lt;/span&gt;&lt;sub&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;2&lt;/span&gt;&lt;/sub&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;, g&lt;/span&gt;&lt;sub&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;L&lt;/span&gt;&lt;/sub&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;) be the ordered list (in decreasing frequency) of the most frequent &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;n-&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;grams of the training corpus. Then, each message is represented as a vector of length &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;L&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; &lt;&gt;1, x&lt;/span&gt;&lt;sub&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;2&lt;/span&gt;&lt;/sub&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;, ....., &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;x&lt;/span&gt;&lt;sub&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;L&lt;/span&gt;&lt;/sub&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&gt;, &lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;where x&lt;/span&gt;&lt;sub&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;i &lt;/span&gt;&lt;/sub&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;depends on g&lt;/span&gt;&lt;sub&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;i&lt;/span&gt;&lt;/sub&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;. Two text representation approaches is used in N-Gram process:&lt;/span&gt;&lt;/g&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;p class="MsoListParagraph" style="text-align: justify;text-indent: -18pt; line-height: 150%; "&gt;&lt;span lang="EN-US"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;1.&lt;/span&gt;&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; Binary: The value of x&lt;/span&gt;&lt;sub&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;i&lt;/span&gt;&lt;/sub&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; may be one (if g&lt;/span&gt;&lt;sub&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;i&lt;/span&gt;&lt;/sub&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; is included at least once in the message) or zero (if g&lt;/span&gt;&lt;sub&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;i&lt;/span&gt;&lt;/sub&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; is not included in the message.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;span style="line-height:115%;font-family:&amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-fareast-font-family:Calibri;mso-bidi-mso-ansi-language: EN-GB;mso-fareast-language:AR-SA;mso-bidi-language:AR-SAfont-family:Calibri;"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Term Frequency (TF): The value of x&lt;/span&gt;&lt;sub&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;i &lt;/span&gt;&lt;/sub&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;corresponds to the frequency of occurrence (normalized by the message length) of g&lt;/span&gt;&lt;sub&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;i &lt;/span&gt;&lt;/sub&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;in the message&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-family:'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="line-height: 24px; "&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-family:'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="line-height: 24px;"&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;How to test the filter?&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-family:'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="line-height: 24px;"&gt;&lt;b&gt;&lt;p class="MsoNormal" style="text-align:justify;line-height:150%"&gt;&lt;span style="line-height:150%;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;By using the filter for testing, first the probability is calculated as described below in figure 1, and according to its results the records in the token dictionary are modified. At this point, the value is initialized to one (for the case, where none of the words are matching from the token dictionary). &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;ALL (no. of all e-mails) = SPAM +HAM (number of legitimate letters, added to the number of all spam letters).&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align:justify;line-height:150%"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;-----------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align:justify;line-height:150%"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoListParagraph" style="text-align:justify;text-indent:-18.0pt; line-height:150%;mso-list:l0 level1 lfo1"&gt;&lt;span lang="EN-US"  style="font-family:&amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;mso-fareast-font-family: Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;-&lt;/span&gt;&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;          &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;LLet us call a word “matching word”, if the word has existed both in the letter and in the token dictionary.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListParagraph" style="text-align:justify;text-indent:-18.0pt; line-height:150%;mso-list:l0 level1 lfo1"&gt;&lt;span lang="EN-US"  style="font-family:&amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;mso-fareast-font-family: Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;-&lt;/span&gt;&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;          &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span lang="EN-US" style="position:relative;top:2.0pt;mso-text-raise:-2.0pt"&gt;&lt;v:shapetype id="_x0000_t75" coord="" spt="75" preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"  style="font-size:21600,21600;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;  &lt;/span&gt;&lt;v:stroke joinstyle="miter"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;  &lt;/span&gt;&lt;v:formulas&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;   &lt;/span&gt;&lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;   &lt;/span&gt;&lt;v:f eqn="sum @0 1 0"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;   &lt;/span&gt;&lt;v:f eqn="sum 0 0 @1"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;   &lt;/span&gt;&lt;v:f eqn="prod @2 1 2"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;   &lt;/span&gt;&lt;v:f eqn="prod @3 21600 pixelWidth"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;   &lt;/span&gt;&lt;v:f eqn="prod @3 21600 pixelHeight"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;   &lt;/span&gt;&lt;v:f eqn="sum @0 0 1"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;   &lt;/span&gt;&lt;v:f eqn="prod @6 1 2"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;   &lt;/span&gt;&lt;v:f eqn="prod @7 21600 pixelWidth"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;   &lt;/span&gt;&lt;v:f eqn="sum @8 21600 0"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;   &lt;/span&gt;&lt;v:f eqn="prod @7 21600 pixelHeight"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;   &lt;/span&gt;&lt;v:f eqn="sum @10 21600 0"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;  &lt;/span&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;  &lt;/span&gt;&lt;v:path extrusionok="f" gradientshapeok="t" connecttype="rect"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;  &lt;/span&gt;&lt;o:lock ext="edit" aspectratio="t"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; &lt;/span&gt;&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;v:shape id="_x0000_i1025" type="#_x0000_t75" style="width:12pt;  height:12.75pt" ole=""&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;  &lt;/span&gt;&lt;v:imagedata src="file:///C:\Users\JOSEPH\AppData\Local\Temp\msohtmlclip1\01\clip_image001.wmz" title=""&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; &lt;/span&gt;&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:oleobject type="Embed" progid="Equation.DSMT4" shapeid="_x0000_i1025" drawaspect="Content" objectid="_1308549474"&gt;  &lt;/o:OLEObject&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;/span&gt;&lt;span lang="EN-US"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;(“&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span lang="EN-US"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;matching words” | “letter is spam” ) = &lt;/span&gt;&lt;span style="position:relative;top:3.0pt; mso-text-raise:-3.0pt"&gt;&lt;v:shape id="_x0000_i1026" type="#_x0000_t75" style="width:10.5pt;  height:10.5pt" ole=""&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;  &lt;/span&gt;&lt;v:imagedata src="file:///C:\Users\JOSEPH\AppData\Local\Temp\msohtmlclip1\01\clip_image002.wmz" title=""&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; &lt;/span&gt;&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:oleobject type="Embed" progid="Equation.DSMT4" shapeid="_x0000_i1026" drawaspect="Content" objectid="_1308549475"&gt;  &lt;/o:OLEObject&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;/span&gt;&lt;sub&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;for all matched words&lt;/span&gt;&lt;/sub&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; (N&lt;/span&gt;&lt;sub&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;1 &lt;/span&gt;&lt;/sub&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;value of the current word / SPAM).&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListParagraph" style="text-align:justify;text-indent:-18.0pt; line-height:150%;mso-list:l0 level1 lfo1"&gt;&lt;span lang="EN-US"  style="font-family:&amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;mso-fareast-font-family: Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;-&lt;/span&gt;&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;          &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;P (“matching words” | “letter is legitimate”) = &lt;/span&gt;&lt;span style="position:relative;top:3.0pt;mso-text-raise:-3.0pt"&gt;&lt;v:shape id="_x0000_i1027" type="#_x0000_t75" style="width:10.5pt;height:10.5pt" ole=""&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;  &lt;/span&gt;&lt;v:imagedata src="file:///C:\Users\JOSEPH\AppData\Local\Temp\msohtmlclip1\01\clip_image002.wmz" title=""&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; &lt;/span&gt;&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:oleobject type="Embed" progid="Equation.DSMT4" shapeid="_x0000_i1027" drawaspect="Content" objectid="_1308549476"&gt;  &lt;/o:OLEObject&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;/span&gt;&lt;sub&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;for all matched words&lt;/span&gt;&lt;/sub&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; (N&lt;/span&gt;&lt;sub&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;2 &lt;/span&gt;&lt;/sub&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;value of the current word / SPAM).&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListParagraph" style="text-align:justify;text-indent:-18.0pt; line-height:150%;mso-list:l0 level1 lfo1"&gt;&lt;span lang="EN-US"  style="font-family:&amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;mso-fareast-font-family: Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;-&lt;/span&gt;&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;          &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;P (“letter is spam”) = SPAM/ ALL.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListParagraph" style="text-align:justify;text-indent:-18.0pt; line-height:150%;mso-list:l0 level1 lfo1"&gt;&lt;span lang="EN-US"  style="font-family:&amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;mso-fareast-font-family: Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;-&lt;/span&gt;&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;          &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;P (“letter is legitimate”) = HAM/ ALL.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListParagraph" style="text-align:justify;text-indent:-18.0pt; line-height:150%;mso-list:l0 level1 lfo1"&gt;&lt;span lang="EN-US"  style="font-family:&amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;mso-fareast-font-family: Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;-&lt;/span&gt;&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;          &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;P (“letter is spam” | “matching words”) = P(“letter is legitimate”) * P(“matching words” | letter is legitimate”)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListParagraph" style="text-align:justify;text-indent:-18.0pt; line-height:150%;mso-list:l0 level1 lfo1"&gt;&lt;span lang="EN-US"  style="font-family:&amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;mso-fareast-font-family: Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;-&lt;/span&gt;&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;          &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Fi Final result : P (“letter is spam” | “matching words”) / &lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListParagraph" style="margin-left:72.0pt;text-align:justify; line-height:150%"&gt;&lt;span lang="EN-US"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;         &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;P (“letter is legitimate” | “matching words”)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;b&gt;&lt;span style=" line-height:115%;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-mso-ansi-language:EN-GB;mso-fareast-language:AR-SA;mso-bidi-language: AR-SAfont-family:Calibri;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Figure 1: Calculation of the probability&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;p&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align:justify;line-height:150%"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;--------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-family:'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="line-height: 24px;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;The source codes for the training can be download from the given links &lt;a href="http://rapidshare.com/files/253317113/Spam_Filt.rar.html"&gt;from &lt;/a&gt;&lt;span class="Apple-style-span"   style="line-height: normal; color: rgb(0, 32, 78);   font-weight: bold; font-family:arial;font-size:15px;"&gt;&lt;a href="http://rapidshare.com/files/253317113/Spam_Filt.rar.html"&gt;http://rapidshare.com/files/253317113/Spam_Filt.rar.html&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-family:'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="line-height: 24px;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2658278270067621484-186763999885047785?l=xtremeprogrammer86.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xtremeprogrammer86.blogspot.com/feeds/186763999885047785/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2009/07/bayesian-filtering-architecture.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/186763999885047785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/186763999885047785'/><link rel='alternate' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2009/07/bayesian-filtering-architecture.html' title='Bayesian filtering architecture'/><author><name>XtremeProgrammer86</name><uri>http://www.blogger.com/profile/13364848338308136597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://3.bp.blogspot.com/_s5F9vvzw-Dg/SkIFp1TfmtI/AAAAAAAAAAM/Xj_gqGTRl7s/S220/Image4.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_s5F9vvzw-Dg/SlRH0hC1KWI/AAAAAAAAABA/UZdDxCe3pF0/s72-c/Bayes.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2658278270067621484.post-5938044642025223524</id><published>2009-06-24T04:29:00.001-07:00</published><updated>2009-06-24T04:45:37.327-07:00</updated><title type='text'>What programming books is good for reference?</title><content type='html'>&lt;div&gt;&lt;div&gt;There are many books out there, which you find it useful for learning new programming languages. If you were to ask me, how did I managed to master my programming skills? My answers to you is that, first you start to design a software prototype. Then, you write some algorithms or pseudocode before real codes apply.  &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I believed for most of the programmer out there, they often prefer a good programming book  rather than a poor commented books. Below  is the lists of programming books which I highly recommend.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="text-decoration: underline;"&gt;For C++ :&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;A complete guide to programming in C++ by  -Ulla Kirch-Prinz and Peter Prinz-&lt;/li&gt;&lt;li&gt;Object-oriented programming in C++ by -Robert Lafore&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="text-decoration: underline;"&gt;For Python:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;Core Python programming (second edition) by - Wesly J.Chun&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="text-decoration: underline;"&gt;For C#&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;Murach C# training reference by -Joel Murach&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="text-decoration: underline;"&gt;For Assembly Language&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;Assembly Language step-by-step by - Jeff Duntemann.&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="text-decoration: underline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2658278270067621484-5938044642025223524?l=xtremeprogrammer86.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xtremeprogrammer86.blogspot.com/feeds/5938044642025223524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2009/06/what-programming-books-is-good-for.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/5938044642025223524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/5938044642025223524'/><link rel='alternate' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2009/06/what-programming-books-is-good-for.html' title='What programming books is good for reference?'/><author><name>XtremeProgrammer86</name><uri>http://www.blogger.com/profile/13364848338308136597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://3.bp.blogspot.com/_s5F9vvzw-Dg/SkIFp1TfmtI/AAAAAAAAAAM/Xj_gqGTRl7s/S220/Image4.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2658278270067621484.post-8259146509931991443</id><published>2009-06-24T04:16:00.000-07:00</published><updated>2009-06-24T04:24:32.896-07:00</updated><title type='text'>Want to learn machine learning algorithms?</title><content type='html'>&lt;div&gt;&lt;div&gt;&lt;div&gt;In this post, I will write some sample codes on machine learning algorithms. This is more like a self-learning, as I never take any AI modules from the University courses. I will try my best to write the codes and explain them line by lines. If you have any problems and comments, please do write to my email, so I can improve my programming.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Here are the lists of machine algorithms that I am going to discuss:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Bayesian &lt;/li&gt;&lt;li&gt;Support Vector Machine&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;Those algorithms above will be used on text classification. Meaning, I will teach you how to write a C++ program on spam filtering techniques. Sounds interesting?&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2658278270067621484-8259146509931991443?l=xtremeprogrammer86.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xtremeprogrammer86.blogspot.com/feeds/8259146509931991443/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2009/06/want-to-learn-machine-learning.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/8259146509931991443'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/8259146509931991443'/><link rel='alternate' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2009/06/want-to-learn-machine-learning.html' title='Want to learn machine learning algorithms?'/><author><name>XtremeProgrammer86</name><uri>http://www.blogger.com/profile/13364848338308136597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://3.bp.blogspot.com/_s5F9vvzw-Dg/SkIFp1TfmtI/AAAAAAAAAAM/Xj_gqGTRl7s/S220/Image4.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2658278270067621484.post-6756508618496674906</id><published>2009-06-24T04:04:00.000-07:00</published><updated>2009-06-24T04:11:28.079-07:00</updated><title type='text'>Learning ASM on 8086 machine</title><content type='html'>&lt;div&gt;&lt;div&gt;Want to learn Assembly languages, well here are the samplecodes  on Floppy disk subroutine, which written by me. If you have any doubts or question on the code, please let me know. This is a 100% working code as I score high grade for my asssembly programming.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; color: rgb(74, 74, 73); font-size: 12px; "&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;; *****************************************************&lt;br /&gt;;FLOPPY DISK SUB ROUTINE CODE&lt;br /&gt;;&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;; *****************************************************************************&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;BITS 16 ; Set code generation to 32 bit mode&lt;br /&gt;ORG 0×0100 ; Set code start address to 0100h&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;SECTION .text ; Main code section -&lt;br /&gt;; test code for subroutines goes here&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;MAIN:&lt;br /&gt;;sector sector parameters that we need to test&lt;br /&gt;;head=0,track=0,sector=0&lt;br /&gt;mov dh,0 ;head&lt;br /&gt;mov ch,5 ;track&lt;br /&gt;mov cl,2 ;sector&lt;br /&gt;mov bx, Sector1 ;buffer address&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;;;;;;;;;;;;;#TEST-1#;;;;;;;;;;;;;;;;;;;;&lt;br /&gt;;Now test initSector&lt;br /&gt;mov al,’A’ ;41H- value to initialize&lt;br /&gt;;no need to set the other arguments as we have already set them earlier&lt;br /&gt;call InitSector&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;;if you want to see the results just uncomment the below call to DisplaySector&lt;br /&gt;;see the sector contens again to check if the init is working OK?&lt;br /&gt;;call DisplaySector&lt;br /&gt;;;;;;;;;;;;;#END of TEST-1#;;;;;;;;;;;;;;;;;;;;&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;;;;;;;;;;;;;#TEST-2#;;;;;;;;;;;;;;;;;;;;&lt;br /&gt;;Test setByteAt and GetByteAt routines&lt;br /&gt;;set byte at index 496 of the same sector to ‘X’&lt;br /&gt;mov DI, 496&lt;br /&gt;mov DL, ‘X’&lt;br /&gt;call SetByteAt&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;;set byte at index 508 of the same sector to ‘Y’&lt;br /&gt;mov DI, 508&lt;br /&gt;mov DL,’Y’&lt;br /&gt;call SetByteAt&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;;set byte at index 510 of the same sector to ‘Z’&lt;br /&gt;mov DI, 510&lt;br /&gt;mov DL, ‘Z’&lt;br /&gt;call SetByteAt&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;;we can see the partial test results at this point&lt;br /&gt;;see the sector again to check if the bytes have been set properly&lt;br /&gt;;call DisplaySector&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;;now we will get the byte that we just set at location 510 and&lt;br /&gt;;use the return value to set another location 509 to see if get/set&lt;br /&gt;;combination is working OK&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;mov AL,0 ;reset AL before we get the return value. Just to make sure return value we get is the right one&lt;br /&gt;mov SI, 510 ;byte location for GetByteAt routine&lt;br /&gt;call GetByteAt&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;;now set the byte 511 to the value returned in AL&lt;br /&gt;mov DL,AL ;pass return value in AL as argument to setByteAt&lt;br /&gt;mov DI,511&lt;br /&gt;call SetByteAt&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;;see the results, Last line of the sector should have two ‘Z’ at end&lt;br /&gt;;and ‘X’ and ‘Y’ on the other locations we set&lt;br /&gt;;rest of the sector would be all ‘A’s as we initSector to ‘A’&lt;br /&gt;call DisplaySector&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;;;;;;;;;;;;;#End of TEST-2#;;;;;;;;;;;;;;;;;;;;&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;;;;;;;;;;;;;#TEST-3#;;;;;;;;;;;;;;;;;;;;&lt;br /&gt;;now we will test getSubSector and setSubsector routines&lt;br /&gt;; we will get the last 16 bytes of the current sector that we just&lt;br /&gt;;initialized in test1 and 2 and then use this subsector to set&lt;br /&gt;;the preceding 16 bytes subsector of the same sector&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;mov SI, 496 ;we need to start with index 496 i.e start of last line&lt;br /&gt;mov AX, 16 ; we need to get 16 bytes subsector&lt;br /&gt;mov BP, SubSector1 ;buffer for subsector&lt;br /&gt;call GetSubSector ;no need to set other arguments as they are already set earlier&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;;now we have subsector of 16 bytes into buffer Subsector1&lt;br /&gt;;lets set the subsector now&lt;br /&gt;mov DI, 480&lt;br /&gt;call SetSubSector&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;;see the results. Last two lines of the sector should be identical&lt;br /&gt;call DisplaySector&lt;br /&gt;;;;;;;;;;;;;#End of TEST-3#;;;;;;;;;;;;;;;;;;;;&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;;;;;;;;;;;;;#TEST-4#;;;;;;;;;;;;;;;;;;;;&lt;br /&gt;;now test the copysector and compare sector routines&lt;br /&gt;;lets copy the sector we have tested in test3 on to another sector&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;mov dh,0 ;head&lt;br /&gt;mov ch,5 ;track&lt;br /&gt;mov bh,2 ;sector&lt;br /&gt;mov si, Sector1 ;buffer address for source sector&lt;br /&gt;mov dl,1 ;destination head&lt;br /&gt;mov cl,6 ;dest track&lt;br /&gt;mov bl,3 ;dest sector&lt;br /&gt;mov di, Sector2 ;buffer for dest sector&lt;br /&gt;call SectorCopy&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;;if I uncomment the following line before the sectorcompare is called,&lt;br /&gt;;it should return sectors are NOT equal.&lt;br /&gt;;Otherwise it should print sectors are equal&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;;mov bl, 4 ;uncomment it and sector compare result should be Not equal&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;;now if we compare these two sectors, function should return FF (equal)&lt;br /&gt;call SectorCompare&lt;br /&gt;cmp al, 0FFH&lt;br /&gt;je SectorEqual&lt;br /&gt;;sectors are not equal&lt;br /&gt;mov SI, MsgNotEqual&lt;br /&gt;call PutString&lt;br /&gt;jmp exitProgram&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;SectorEqual:&lt;br /&gt;;sectors are equal&lt;br /&gt;mov SI, MsgEqual&lt;br /&gt;call PutString&lt;br /&gt;exitProgram:&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;;;;;;;;;;;;;#End of TEST-4#;;;;;;;;;;;;;;;;;;;;&lt;br /&gt;mov AX, 04C00H ; Exit the program&lt;br /&gt;int 21H&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;; SUBROUTINES ******************************************&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;; *****************************************************************&lt;br /&gt;; Subroutine name: ReadSector&lt;br /&gt;; Function: Reads a specified sector into a buffer&lt;br /&gt;; Entry conditions: Disk Head (0 or 1) in DH&lt;br /&gt;; cylinder (track) number (00H to 4FH) in CH&lt;br /&gt;; sector on track (01H to 12H) in CL&lt;br /&gt;; buffer address for sector (200H in size) in BX&lt;br /&gt;; Exit conditions: AH has success or error code value,&lt;br /&gt;; sector copied to buffer,&lt;br /&gt;; other register values unchanged&lt;br /&gt;; *****************************************************************&lt;br /&gt;ReadSector:&lt;br /&gt;push BX&lt;br /&gt;push CX&lt;br /&gt;push DX&lt;br /&gt;push AX&lt;br /&gt;mov AH,02H ; read sector service number&lt;br /&gt;mov AL,01H ; number of sectors to read&lt;br /&gt;mov DL,00H ; drive number 0=a: floppy drive&lt;br /&gt;int 13H ; BIOS Disk services&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;pop BX ; popping AX into BX&lt;br /&gt;mov AL,BL ; restore AL to original value&lt;br /&gt;pop DX&lt;br /&gt;pop CX&lt;br /&gt;pop BX&lt;br /&gt;; AH has success/error code&lt;br /&gt;ret&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;; *****************************************************************&lt;br /&gt;; Subroutine name: WriteSector&lt;br /&gt;; Function: Writes a buffer to a specified sector&lt;br /&gt;; Entry conditions: Disk Head (0 or 1) in DH&lt;br /&gt;; cylinder (track) number (00H to 4FH) in CH&lt;br /&gt;; sector on track (01H to 12H) in CL&lt;br /&gt;; buffer address for sector (200H in size) in BX&lt;br /&gt;; Exit conditions: AH has success or error code value,&lt;br /&gt;; buffer copied to sector,&lt;br /&gt;; other register values unchanged&lt;br /&gt;; *****************************************************************&lt;br /&gt;WriteSector:&lt;br /&gt;push BX&lt;br /&gt;push CX&lt;br /&gt;push DX&lt;br /&gt;push AX&lt;br /&gt;mov AH,03H ; write sector service number&lt;br /&gt;mov AL,01H ; number of sectors to read&lt;br /&gt;mov DL,0H ; drive number 0=a: floppy drive&lt;br /&gt;int 13H ; BIOS Disk services&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;pop BX ; popping AX into BX&lt;br /&gt;mov AL,BL ; restore AL to original value&lt;br /&gt;pop DX&lt;br /&gt;pop CX&lt;br /&gt;pop BX&lt;br /&gt;; AH has success/error code&lt;br /&gt;ret&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;; *****************************************************************&lt;br /&gt;; Subroutine name: InitSector&lt;br /&gt;; Function: Sets bytes of specified sector to given value&lt;br /&gt;; – initialises with value buffer before writing&lt;br /&gt;; Entry conditions: byte value for initialisation in AL&lt;br /&gt;; Disk Head (0 or 1) in DH&lt;br /&gt;; cylinder (track) number (00H to 4FH) in CH&lt;br /&gt;; sector on track (01H to 12H) in CL&lt;br /&gt;; buffer address for sector operation (200H in size) in BX&lt;br /&gt;; Exit conditions: AH has success or error code value,&lt;br /&gt;; buffer copied to sector,&lt;br /&gt;; other register values unchanged&lt;br /&gt;; *****************************************************************&lt;br /&gt;InitSector:&lt;br /&gt;;copy 200H bytes into buffer starting at address BX&lt;br /&gt;push cx&lt;br /&gt;push bx&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;mov cx,200H&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;initSectorInitBuffer:&lt;br /&gt;mov [bx],al&lt;br /&gt;inc bx&lt;br /&gt;loop initSectorInitBuffer&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;pop bx ;move the buffer address to its starting location&lt;br /&gt;pop cx&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;;write sector; return value in AH&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;call WriteSector&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;ret&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;; *****************************************************************&lt;br /&gt;; Subroutine name: GetByteAt&lt;br /&gt;; Function: gets byte at specified location in specifed sector&lt;br /&gt;; – gets sector into buffer – then gets byte&lt;br /&gt;; Entry conditions: byte location in SI&lt;br /&gt;; Disk Head (0 or 1) in DH&lt;br /&gt;; cylinder (track) number (00H to 4FH) in CH&lt;br /&gt;; sector on track (01H to 12H) in CL&lt;br /&gt;; buffer address for sector operation (200H in size) in BX&lt;br /&gt;; Exit conditions: AH has success or error code value,&lt;br /&gt;; AL has byte from sector,&lt;br /&gt;; other register values unchanged&lt;br /&gt;; *****************************************************************&lt;br /&gt;GetByteAt:&lt;br /&gt;call ReadSector ;read sector into buffer&lt;br /&gt;mov al, [bx+si] ;copy the byte in AL&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;ret&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;; *****************************************************************&lt;br /&gt;; Subroutine name: SetByteAt&lt;br /&gt;; Function: sets byte at specified location in specifed sector&lt;br /&gt;; to given value – gets sector into buffer -&lt;br /&gt;; sets byte value,then writes buffer back to sector&lt;br /&gt;; Entry conditions: byte location in DI&lt;br /&gt;; byte value to assign to location in DL&lt;br /&gt;; Disk Head (0 or 1) in DH&lt;br /&gt;; cylinder (track) number (00H to 4FH) in CH&lt;br /&gt;; sector on track (01H to 12H) in CL&lt;br /&gt;; buffer address for sector operation (200H in size) in BX&lt;br /&gt;; Exit conditions: AH has success or error code value,&lt;br /&gt;; other register values unchanged&lt;br /&gt;; *****************************************************************&lt;br /&gt;SetByteAt:&lt;br /&gt;call ReadSector&lt;br /&gt;mov [bx+di],dl&lt;br /&gt;call WriteSector&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;ret&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;; *****************************************************************&lt;br /&gt;; Subroutine name: GetSubSector&lt;br /&gt;; Function: gets copy of specified subsector of given sector&lt;br /&gt;; – gets sector into buffer – then gets subsector&lt;br /&gt;; Entry conditions: byte location of start of subsector in SI&lt;br /&gt;; length of subsector in AX&lt;br /&gt;; Disk Head (0 or 1) in DH&lt;br /&gt;; cylinder (track) number (00H to 4FH) in CH&lt;br /&gt;; sector on track (01H to 12H) in CL&lt;br /&gt;; buffer address for sector operation (200H in size) in BX&lt;br /&gt;; buffer address for subsector storage in BP&lt;br /&gt;; Exit conditions: AH has success or error code value,&lt;br /&gt;; copy of subsector in buffer addressed by BP,&lt;br /&gt;; other register values unchanged&lt;br /&gt;; *****************************************************************&lt;br /&gt;GetSubSector:&lt;br /&gt;push cx&lt;br /&gt;push si&lt;br /&gt;push di&lt;br /&gt;push es&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;push ax ;save the length of subsector before readsector call&lt;br /&gt;call ReadSector ;read sector into buffer&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;pop cx ;get length of subsector into cx&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;push ds&lt;br /&gt;pop es ;set es to point to data segment register&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;add si, bx ;add buffer starting address to si (byte location of subsector)&lt;br /&gt;;si is pointing to absolute source index of subsector now&lt;br /&gt;mov di, bp ;destination for subsetor&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;cld ;clear direction flag to tell CPU to inc si,di in mov instruction&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;;The movsb (move string, bytes) fetches the byte at address ds:si,&lt;br /&gt;;stores it at address es:di, and then increments or decrements the si and di&lt;br /&gt;;registers by one. If the rep prefix is present, the CPU checks cx to see if it&lt;br /&gt;;contains zero. If not, then it moves the byte from ds:si to es:di and decrements&lt;br /&gt;;the cx register. This process repeats until cx becomes zero.&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;rep movsb ;copy cx bytes from ds:si to es:di&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;;restore saved registers&lt;br /&gt;pop es&lt;br /&gt;pop di&lt;br /&gt;pop si&lt;br /&gt;pop cx&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;ret&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;; *****************************************************************&lt;br /&gt;; Subroutine name: SetSubSector&lt;br /&gt;; Function: sets specified subsector of given sector to&lt;br /&gt;; value of array specified&lt;br /&gt;; – gets sector into buffer – then sets subsector&lt;br /&gt;; in buffer, then writes buffer to sector&lt;br /&gt;; Entry conditions: byte location of start of subsector in DI&lt;br /&gt;; length of subsector in AX&lt;br /&gt;; Disk Head (0 or 1) in DH&lt;br /&gt;; cylinder (track) number (00H to 4FH) in CH&lt;br /&gt;; sector on track (01H to 12H) in CL&lt;br /&gt;; buffer address for sector operation (200H in size) in BX&lt;br /&gt;; buffer address for subsector storage in BP&lt;br /&gt;; Exit conditions: AH has success or error code value,&lt;br /&gt;; subsector in buffer addressed by BP copied into sector,&lt;br /&gt;; other register values unchanged&lt;br /&gt;; *****************************************************************&lt;br /&gt;SetSubSector:&lt;br /&gt;push si&lt;br /&gt;push di&lt;br /&gt;push es&lt;br /&gt;push cx&lt;br /&gt;push dx&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;push ax ;save the length of subsector before readsector call&lt;br /&gt;call ReadSector ;read sector into buffer&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;pop cx ;get length of subsector into cx&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;push ds&lt;br /&gt;pop es ;set es to point to data segment register&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;cld ;clear direction flag to tell CPU to inc si,di in mov instruction&lt;br /&gt;add di, bx ;add buffer starting address to di (start byte location of subsector)&lt;br /&gt;;di is pointing to absolute point in buffer where we need to start copying&lt;br /&gt;mov si, bp ;source for subsetor&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;;The movsb (move string, bytes) fetches the byte at address ds:si,&lt;br /&gt;;stores it at address es:di, and then increments or decrements the si and di&lt;br /&gt;;registers by one. If the rep prefix is present, the CPU checks cx to see if it&lt;br /&gt;;contains zero. If not, then it moves the byte from ds:si to es:di and decrements&lt;br /&gt;;the cx register. This process repeats until cx becomes zero.&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;rep movsb ;copy cx bytes from ds:si to es:di&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;pop dx&lt;br /&gt;pop cx ;restore arguments for write sector call&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;call WriteSector&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;;restore saved registers&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;pop es&lt;br /&gt;pop di&lt;br /&gt;pop si&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;ret&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;; *****************************************************************&lt;br /&gt;; Subroutine name: SectorCompare&lt;br /&gt;; Function: compares 2 sectors for equality – returns FF&lt;br /&gt;; if equal and 0 if not&lt;br /&gt;; – get 2 specified sectors into buffers – compare&lt;br /&gt;; buffers,return result&lt;br /&gt;; Entry conditions: 1st sector – disk head in DH, cylinder in CH, sector in BH&lt;br /&gt;; 2nd sector – disk head in DL, cylinder in CL, sector in BL&lt;br /&gt;; buffer address for first sector (200H in size) in SI&lt;br /&gt;; buffer address for second sector in DI&lt;br /&gt;; Exit conditions: AH has success or error code value,&lt;br /&gt;; AL is FF if sectors have identical contents, 0 otherwise&lt;br /&gt;; other register values unchanged&lt;br /&gt;; *****************************************************************&lt;br /&gt;SectorCompare:&lt;br /&gt;;save registers&lt;br /&gt;push bx&lt;br /&gt;push cx&lt;br /&gt;push dx&lt;br /&gt;push si&lt;br /&gt;push di&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;;copy parameters on stack for second ReadSector call later&lt;br /&gt;push bx&lt;br /&gt;push cx&lt;br /&gt;push dx&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;mov cl, bh ;move argument sector on track into CL&lt;br /&gt;mov bx,si ;move argument buffer address in to BX&lt;br /&gt;call ReadSector&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;;restore original arguments&lt;br /&gt;pop dx&lt;br /&gt;pop cx&lt;br /&gt;pop bx&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;mov dh,dl ;argument disk head&lt;br /&gt;mov ch,cl ;argument cylinder&lt;br /&gt;mov cl,bl ;argument sector on track&lt;br /&gt;mov bx,DI ;argument buffer address&lt;br /&gt;call ReadSector&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;;both sectors copied to SI, DI locations respectively. Now we will compare them&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;mov cx, 200H&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;keepComparing:&lt;br /&gt;mov al, [si]&lt;br /&gt;cmp [di], al&lt;br /&gt;jne sectorCompareNotEqual&lt;br /&gt;inc si&lt;br /&gt;inc di&lt;br /&gt;loop keepComparing&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;;if control reach here , it means we have traversed complete sector and all bytes are equal&lt;br /&gt;;set the return value to FF to represent this&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;mov al, 0FFH&lt;br /&gt;jmp endCompare&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;sectorCompareNotEqual:&lt;br /&gt;;if control comes here, it means we have found the non equal byte. Set al to 0 and return&lt;br /&gt;mov al,0&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;endCompare:&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;;restore registers&lt;br /&gt;pop di&lt;br /&gt;pop si&lt;br /&gt;pop dx&lt;br /&gt;pop cx&lt;br /&gt;pop bx&lt;br /&gt;ret&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;; *****************************************************************&lt;br /&gt;; Subroutine name: SectorCopy&lt;br /&gt;; Function: copies source sector to destination sector&lt;br /&gt;; – get source sector into buffer – copy to second buffer&lt;br /&gt;; – write second buffer to destination sector&lt;br /&gt;; Entry conditions: 1st sector – disk head in DH, cylinder in CH, sector in BH&lt;br /&gt;; 2nd sector – disk head in DL, cylinder in CL, sector in BL&lt;br /&gt;; buffer address for source sector (200H in size) in SI&lt;br /&gt;; buffer address for destination sector in DI&lt;br /&gt;; Exit conditions: AH has success or error code value,&lt;br /&gt;; other register values unchanged&lt;br /&gt;; *****************************************************************&lt;br /&gt;SectorCopy:&lt;br /&gt;;save registers&lt;br /&gt;push bx&lt;br /&gt;push cx&lt;br /&gt;push dx&lt;br /&gt;push si&lt;br /&gt;push di&lt;br /&gt;push es&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;;push parameters on stack for second time use for WriteSector call later&lt;br /&gt;push bx&lt;br /&gt;push cx&lt;br /&gt;push dx&lt;br /&gt;push di&lt;br /&gt;push si&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;mov cl, bh ;move argument sector on track into CL&lt;br /&gt;mov bx,si ;move argument buffer address in to BX&lt;br /&gt;call ReadSector&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;;copy buffer1 onto buffer2&lt;br /&gt;mov cx, 200H&lt;br /&gt;push ds&lt;br /&gt;pop es&lt;br /&gt;cld ;clear direction flad&lt;br /&gt;rep movsb&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;;restore original arguments&lt;br /&gt;pop si&lt;br /&gt;pop di&lt;br /&gt;pop dx&lt;br /&gt;pop cx&lt;br /&gt;pop bx&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;mov dh,dl ;argument disk head&lt;br /&gt;mov ch,cl ;argument cylinder&lt;br /&gt;mov cl,bl ;argument sector on track&lt;br /&gt;mov bx,DI ;argument buffer address&lt;br /&gt;call WriteSector&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;;save registers&lt;br /&gt;pop es&lt;br /&gt;pop di&lt;br /&gt;pop si&lt;br /&gt;pop dx&lt;br /&gt;pop cx&lt;br /&gt;pop bx&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;ret&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;; *****************************************************************&lt;br /&gt;; Subroutine name: DisplaySector&lt;br /&gt;; Function: displays to console window contents of given sector&lt;br /&gt;; display format is&lt;br /&gt;; 32 (20H) lines, each line displays 16 bytes of the sector&lt;br /&gt;; as ASCII characters and then as 4 digit hex numbers&lt;br /&gt;; so a line consists of&lt;br /&gt;; 16 ASCII characters, a 2 space separator, 16 bytes as hex numbers,&lt;br /&gt;; then a newline – for readability you will need a&lt;br /&gt;; space between each of the 4 digit hex numbers&lt;br /&gt;; Entry conditions: Disk Head (0 or 1) in DH&lt;br /&gt;; cylinder (track) number (00H to 4FH) in CH&lt;br /&gt;; sector on track (01H to 12H) in CL&lt;br /&gt;; buffer address for sector (200H in size) in BX&lt;br /&gt;; Exit conditions: AH has success or error code value,&lt;br /&gt;; sector displayed in console window -&lt;br /&gt;; NOTE – since console window is 80×25 the whole&lt;br /&gt;; of the sector cannot be displayed in the console&lt;br /&gt;; window in one go – redirection can be used&lt;br /&gt;; to send console output to a file for reading using&lt;br /&gt;; an editor – thus e.g. at the dos prompt you can type&lt;br /&gt;; sector-editor &gt; filename&lt;br /&gt;; filename wil contain all console output generated by&lt;br /&gt;; sector-editor&lt;br /&gt;; other register values unchanged&lt;br /&gt;; *****************************************************************&lt;br /&gt;DisplaySector:&lt;br /&gt;push bx&lt;br /&gt;push cx&lt;br /&gt;push dx&lt;br /&gt;push si&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;call ReadSector&lt;br /&gt;mov cx,20H ;no of lines&lt;br /&gt;mov si,0&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;outerLoop: ;outer loop for no of lines&lt;br /&gt;push cx ;save outer loop counter&lt;br /&gt;mov cx,10H ;no of bytes on each line&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;innerLoop1:&lt;br /&gt;;display 16 bytes as ascii&lt;br /&gt;mov dl,[bx+si]&lt;br /&gt;call Putch&lt;br /&gt;inc si&lt;br /&gt;loop innerLoop1&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;mov dl,32 ;ascii for space character&lt;br /&gt;call Putch&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;mov cx,10H ;no of bytes to be printed in hex&lt;br /&gt;sub si,10H ;revind si to point to the start byte for this line&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;innerLoop2:&lt;br /&gt;mov dh,32&lt;br /&gt;call Putch&lt;br /&gt;;display 16 bytes as HEX&lt;br /&gt;mov dh,[bx+si]&lt;br /&gt;call PutHex&lt;br /&gt;inc si&lt;br /&gt;loop innerLoop2&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;call Putln ;display end of line&lt;br /&gt;pop cx ;restore outer loop counter&lt;br /&gt;loop outerLoop&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;pop si&lt;br /&gt;pop dx&lt;br /&gt;pop cx&lt;br /&gt;pop bx&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;ret&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;; End of user defined subroutines *********************************&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;%include “stdio.asm”&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;SECTION .data ; data segment for initialised data – also put constants here&lt;br /&gt;MsgEqual db ‘Sectors are equal’,0&lt;br /&gt;MsgNotEqual db ‘Sectors are NOT equal’,0&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;SECTION .bss ; data segment for unitialised data&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;Sector1 resb 512&lt;br /&gt;Sector2 resb 512&lt;br /&gt;SubSector1 resb 16 ;to test getSubSector and setSubSector&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;; you may need other buffers&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;JosephTham©&lt;/p&gt;&lt;p style="font-size: 1em; line-height: 1.5em; margin-top: 1.2em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; "&gt;Important: If you taking this code or working on any projects, please quoted a references on it.&lt;/p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2658278270067621484-6756508618496674906?l=xtremeprogrammer86.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xtremeprogrammer86.blogspot.com/feeds/6756508618496674906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2009/06/learning-asm-on-8086-machine.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/6756508618496674906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2658278270067621484/posts/default/6756508618496674906'/><link rel='alternate' type='text/html' href='http://xtremeprogrammer86.blogspot.com/2009/06/learning-asm-on-8086-machine.html' title='Learning ASM on 8086 machine'/><author><name>XtremeProgrammer86</name><uri>http://www.blogger.com/profile/13364848338308136597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://3.bp.blogspot.com/_s5F9vvzw-Dg/SkIFp1TfmtI/AAAAAAAAAAM/Xj_gqGTRl7s/S220/Image4.jpg'/></author><thr:total>0</thr:total></entry></feed>
