<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-7017754285398679832</atom:id><lastBuildDate>Fri, 25 Oct 2024 08:20:59 +0000</lastBuildDate><category>matrix</category><category>0-index</category><category>1-index</category><category>Linear Regression with one variable</category><category>Matrix Multiplication</category><category>column</category><category>matrix addition</category><category>matrix versus vector</category><category>row</category><category>vector</category><title>MACHINE LEARNING</title><description></description><link>http://machinelearningai.blogspot.com/</link><managingEditor>noreply@blogger.com (Ron Tinnel)</managingEditor><generator>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7017754285398679832.post-2680140027112968631</guid><pubDate>Mon, 24 Oct 2011 10:25:00 +0000</pubDate><atom:updated>2013-03-03T23:15:18.918-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Linear Regression with one variable</category><title>LINEAR REGRESSION WITH ONE VARIABLE</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;g-plusone&quot; data-annotation=&quot;inline&quot; data-width=&quot;300&quot;&gt;
&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
  (function() {
    var po = document.createElement(&#39;script&#39;); po.type = &#39;text/javascript&#39;; po.async = true;
    po.src = &#39;https://apis.google.com/js/plusone.js&#39;;
    var s = document.getElementsByTagName(&#39;script&#39;)[0]; s.parentNode.insertBefore(po, s);
  })();
&lt;/script&gt;

&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;form&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: xx-small;&quot;&gt;&lt;input onclick=&quot;window.location.href=&#39;http://goo.gl/Hm4Lb&#39;&quot; type=&quot;BUTTON&quot; value=&quot;HOME PAGE&quot; /&gt;&lt;/span&gt;
&lt;/form&gt;
&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: xx-small;&quot;&gt;REVISED: Sunday, March 3, 2013&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: 800;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCeGsQw0EwYcNhAnNZeOsU4eTyFGI93u78bhMNV2Ni45gv_5HNvrClbDdAl563WvGvYJA4MrUn-MOj-Qw4arsI811baRhmhQIb51VRLva3BjVwTONTy0ZpAQgMcXv_sDAwX1hiEfU8HTk/s1600/avatar.gif&quot; imageanchor=&quot;1&quot; style=&quot;font-weight: bold; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCeGsQw0EwYcNhAnNZeOsU4eTyFGI93u78bhMNV2Ni45gv_5HNvrClbDdAl563WvGvYJA4MrUn-MOj-Qw4arsI811baRhmhQIb51VRLva3BjVwTONTy0ZpAQgMcXv_sDAwX1hiEfU8HTk/s1600/avatar.gif&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You will learn Linear Regression with one variable.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;I. LINEAR REGRESSION WITH ONE VARIABLE&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Linear Regression is Supervised Learning because you are given the &quot;right answer&quot; for each example in the data.&lt;br /&gt;
&lt;br /&gt;
A Regression Problem has Predicted Real-Value Output.&lt;br /&gt;
&lt;br /&gt;
A Classification Problem has Discrete-Valued Output.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;A. How To Choose θ&lt;sub&gt;i&#39;s&lt;/sub&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Choose θ&lt;sub&gt;0&lt;/sub&gt;, θ&lt;sub&gt;1&lt;/sub&gt; so that h&lt;sub&gt;θ&lt;/sub&gt;( x ) is close to the y value of the training examples ( x, y ).&lt;br /&gt;
&lt;br /&gt;
Minimize J (θ&lt;sub&gt;0&lt;/sub&gt;, θ&lt;sub&gt;1&lt;/sub&gt;) = (1/(2m)) ∑ &lt;sub&gt;(i = 1 to m)&lt;/sub&gt;&amp;nbsp;h&lt;sub&gt;θ&lt;/sub&gt;(x&lt;sup&gt;(i)&lt;/sup&gt;-y&lt;sup&gt;(i)&lt;/sup&gt;) &lt;sup&gt;2&lt;/sup&gt;&lt;br /&gt;
h&lt;sub&gt;θ&lt;/sub&gt;(x) for fixed θ&lt;sub&gt;1&lt;/sub&gt;, is a function of x.&lt;br /&gt;
J(θ&lt;sub&gt;1&lt;/sub&gt;) is a function of the parameter θ&lt;sub&gt;1&lt;/sub&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;B. Examples&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;m = 3&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;Hypothesis: h&lt;sub&gt;θ&lt;/sub&gt;(x) =&amp;nbsp;&lt;/span&gt;θ&lt;sub&gt;0 +&amp;nbsp;&lt;/sub&gt;θ&lt;sub&gt;1&lt;/sub&gt;x&lt;br /&gt;
Parameters:&amp;nbsp;θ&lt;sub&gt;0&lt;/sub&gt;, θ&lt;sub&gt;1&lt;/sub&gt;&lt;br /&gt;
The cost function is&lt;br /&gt;
&amp;nbsp;J (θ&lt;sub&gt;0,&amp;nbsp;&lt;/sub&gt;θ&lt;sub&gt;1&lt;/sub&gt;) = (1/(2m)) ∑&amp;nbsp;&lt;sub&gt;(i = 1 to m)&lt;/sub&gt;&amp;nbsp;h&lt;sub&gt;θ&lt;/sub&gt;(x&lt;sup&gt;(i)&lt;/sup&gt;-y&lt;sup&gt;(i)&lt;/sup&gt;)&amp;nbsp;&lt;sup&gt;2&lt;/sup&gt;&lt;br /&gt;
Goal is to minimize&amp;nbsp;J (θ&lt;sub&gt;0,&amp;nbsp;&lt;/sub&gt;θ&lt;sub&gt;1&lt;/sub&gt;)&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You have learned Linear Regression with one variable.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 9px;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;http://goo.gl/qi5jw&quot; style=&quot;color: #33aaff;&quot;&gt;Elcric Otto Circle&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-4871588942132101&quot;;
/* One */
google_ad_slot = &quot;8813220342&quot;;
google_ad_width = 336;
google_ad_height = 280;
//&lt;/script&gt;
&lt;/div&gt;
--&amp;gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;


&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-4871588942132101&quot;;
/* Two */
google_ad_slot = &quot;8243854886&quot;;
google_ad_width = 336;
google_ad_height = 280;
//&lt;/script&gt;
--&amp;gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;


&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-4871588942132101&quot;;
/* Three */
google_ad_slot = &quot;7921082405&quot;;
google_ad_width = 336;
google_ad_height = 280;
//&lt;/script&gt;
--&amp;gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;

&lt;br /&gt;
&lt;div&gt;
&lt;form&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: xx-small;&quot;&gt;&lt;input onclick=&quot;window.location.href=&#39;http://goo.gl/Hm4Lb&#39;&quot; type=&quot;BUTTON&quot; value=&quot;HOME PAGE&quot; /&gt;&lt;/span&gt;
&lt;/form&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;h1&gt;
How to Link to My Home Page&lt;/h1&gt;
&lt;form action=&quot;http://www.example.com/&quot;&gt;
&lt;label for=&quot;linkcode&quot;&gt;
To link to &quot;MY Home Page&quot; from your website, simply copy and paste the following code into your website HTML page.
&lt;/label&gt;
&lt;textarea cols=&quot;43&quot; id=&quot;linkcode&quot; onclick=&quot;this.focus();this.select();&quot; readonly=&quot;readonly&quot; rows=&quot;5&quot; title=&quot;Select the text here, click your right mouse button, click the Copy menu item, and paste it into your web page in HTML source mode&quot;&gt;&lt;a href=&quot;http://goo.gl/Hm4Lb&quot; target=&quot;_top&quot;&gt;&quot;Link to ELCRIC OTTO CIRCLE&#39;s Home Page&quot;&lt;/a&gt;
&lt;/textarea&gt;
&lt;/form&gt;
It will appear on your website as:&lt;br /&gt;
&lt;a href=&quot;http://goo.gl/Hm4Lb&quot; target=&quot;_top&quot;&gt;&quot;Link to ELCRIC OTTO CIRCLE&#39;s Home Page&quot;&lt;/a&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://machinelearningai.blogspot.com/2011/10/linear-regression-with-one-variable.html</link><author>noreply@blogger.com (Ron Tinnel)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCeGsQw0EwYcNhAnNZeOsU4eTyFGI93u78bhMNV2Ni45gv_5HNvrClbDdAl563WvGvYJA4MrUn-MOj-Qw4arsI811baRhmhQIb51VRLva3BjVwTONTy0ZpAQgMcXv_sDAwX1hiEfU8HTk/s72-c/avatar.gif" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7017754285398679832.post-1200744405153400452</guid><pubDate>Fri, 21 Oct 2011 03:02:00 +0000</pubDate><atom:updated>2013-03-03T23:15:41.621-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Matrix Multiplication</category><title>MATRIX MULTIPLICATION</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;g-plusone&quot; data-annotation=&quot;inline&quot; data-width=&quot;300&quot;&gt;
&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
  (function() {
    var po = document.createElement(&#39;script&#39;); po.type = &#39;text/javascript&#39;; po.async = true;
    po.src = &#39;https://apis.google.com/js/plusone.js&#39;;
    var s = document.getElementsByTagName(&#39;script&#39;)[0]; s.parentNode.insertBefore(po, s);
  })();
&lt;/script&gt;

&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;form&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: xx-small;&quot;&gt;&lt;input onclick=&quot;window.location.href=&#39;http://goo.gl/Hm4Lb&#39;&quot; type=&quot;BUTTON&quot; value=&quot;HOME PAGE&quot; /&gt;&lt;/span&gt;
&lt;/form&gt;
&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: xx-small;&quot;&gt;REVISED: Sunday, March 3, 2013&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: 800;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCeGsQw0EwYcNhAnNZeOsU4eTyFGI93u78bhMNV2Ni45gv_5HNvrClbDdAl563WvGvYJA4MrUn-MOj-Qw4arsI811baRhmhQIb51VRLva3BjVwTONTy0ZpAQgMcXv_sDAwX1hiEfU8HTk/s1600/avatar.gif&quot; imageanchor=&quot;1&quot; style=&quot;font-weight: bold; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCeGsQw0EwYcNhAnNZeOsU4eTyFGI93u78bhMNV2Ni45gv_5HNvrClbDdAl563WvGvYJA4MrUn-MOj-Qw4arsI811baRhmhQIb51VRLva3BjVwTONTy0ZpAQgMcXv_sDAwX1hiEfU8HTk/s1600/avatar.gif&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You will learn Matrix Multiplication.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;I. &amp;nbsp;MATRIX VECTOR MULTIPLICATION&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;A. &amp;nbsp;Generic Example&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
As shown below the multiplication of a&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;3&lt;/b&gt;&lt;/span&gt;x2 Matrix&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif; font-weight: bold;&quot;&gt;A&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;,&lt;/span&gt;&amp;nbsp;by a 2x&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;1&lt;/b&gt;&lt;/span&gt; Vector&amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;b&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;,&lt;/b&gt;&lt;/span&gt; results in a &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;3&lt;/b&gt;&lt;/span&gt;x&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;1&lt;/span&gt;&lt;/b&gt; Vector &lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;c&lt;/span&gt;&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;A&lt;/span&gt;&lt;/b&gt;              &lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;b &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;c&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;1&lt;/b&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;15&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;1&lt;/b&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;2&lt;/b&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;15&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;4&lt;/b&gt;&lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;5&lt;/b&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;6 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;42&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;m&lt;/b&gt;&lt;/span&gt;x&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange; font-family: Verdana, sans-serif;&quot;&gt;n&lt;/span&gt;&lt;/b&gt; matrix &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;n&lt;/b&gt;&lt;/span&gt;x1matrix &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;m&lt;/span&gt;&lt;/b&gt;-dimensional&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;m&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&amp;nbsp;rows, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange; font-family: Verdana, sans-serif;&quot;&gt;n&lt;/span&gt;&lt;/b&gt;-dimensioal &amp;nbsp; &amp;nbsp; &amp;nbsp;vector&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange; font-family: Verdana, sans-serif;&quot;&gt;n&lt;/span&gt;&lt;/b&gt;&amp;nbsp;columns) &amp;nbsp; &amp;nbsp; &amp;nbsp;vector)&lt;br /&gt;
&lt;br /&gt;
To get&amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;c&lt;/span&gt;&lt;/b&gt;&lt;sub&gt;i&lt;/sub&gt;, multiply&amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;A&lt;/span&gt;&lt;/b&gt;&#39;s i&lt;sup&gt;th&lt;/sup&gt; row with elements of vector&amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;b&lt;/span&gt;&lt;/b&gt;, and add them up.&lt;br /&gt;
&lt;br /&gt;
The multiplication steps to create vector&amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;c&lt;/span&gt;&lt;/b&gt;&amp;nbsp;are shown below: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;c&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
(&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;1&lt;/b&gt;&lt;/span&gt;*&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;3&lt;/b&gt;&lt;/span&gt;) + (&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;2&lt;/b&gt;&lt;/span&gt;*&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;6&lt;/b&gt;&lt;/span&gt;) = &amp;nbsp; 3 + 12 = &lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;15&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
(&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;1&lt;/b&gt;&lt;/span&gt;*&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;3&lt;/b&gt;&lt;/span&gt;) + (&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;2&lt;/b&gt;&lt;/span&gt;*&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;6&lt;/b&gt;&lt;/span&gt;) = &amp;nbsp; 3 + 12 = &lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;15&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
(&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;4&lt;/b&gt;&lt;/span&gt;*&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;3&lt;/b&gt;&lt;/span&gt;) + (&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;5&lt;/b&gt;&lt;/span&gt;*&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;6&lt;/b&gt;&lt;/span&gt;) = 12 + 30 = &lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;42&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;For this to work, the number of columns in Matrix&amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;A&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;,&lt;/span&gt;&lt;/b&gt;&amp;nbsp;has to match the number of rows in Matrix&amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;b&lt;/span&gt;&lt;/b&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;B. &amp;nbsp;Prediction Example&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;Our hypothesis is that we can predict the sales price of houses based on their square footage as follows:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;h&lt;sub&gt;θ&lt;/sub&gt;(&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;x&lt;/span&gt;) = &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;-20&lt;/span&gt; &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;0.35&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;x&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;House sizes:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;5678&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;9123&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;4567&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;S&lt;/span&gt;&lt;/b&gt;&amp;nbsp;is our 3x2 house square footage matrix.&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;h&lt;/b&gt;&lt;/span&gt;&amp;nbsp;is our 2x1 hypothesis matrix.&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;p&lt;/b&gt;&lt;/span&gt;&amp;nbsp;is our 3x1 matrix product prediction of the sales price of houses resulting from the matrix multiplication of&amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;S&lt;/span&gt;&lt;/b&gt;*&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;h&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;S&lt;/span&gt;&lt;/b&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;h&lt;/b&gt;&lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;p&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: inherit;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: inherit;&quot;&gt;5678&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;1967.30&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;1&lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;9123&lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;-20&lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;3173.00&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: inherit;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: inherit;&quot;&gt;4567&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: inherit;&quot;&gt;0.35&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;1578.40&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;(&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;-20&lt;/span&gt;&amp;nbsp;&lt;/span&gt;*&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;1&lt;/span&gt;) + (&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;0.35&lt;/span&gt;&amp;nbsp;*&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;5678&lt;/span&gt;) = -20 + 1987.30 = &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;1967.30&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
(&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;-20&lt;/span&gt; * &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;1&lt;/span&gt;) + (&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;0.35&lt;/span&gt; * &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;9123&lt;/span&gt;) = -20 + 3193.00 = &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;3173.00&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
(&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;-20&lt;/span&gt; * &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;1&lt;/span&gt;) + (&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;0.35&lt;/span&gt; * &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;4567&lt;/span&gt;) = -20 + 1598.40 = &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;1578.40&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
As shown below we get the same answer using linear algebra.&lt;br /&gt;
&lt;br /&gt;
h&lt;sub&gt;θ&lt;/sub&gt;(&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;5678&lt;/span&gt;) = &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;-20&lt;/span&gt; + (&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;0.35&lt;/span&gt; *&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;5678&lt;/span&gt;) =&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;-20&lt;/span&gt; + 1987.30 =&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;1967.30&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
h&lt;sub&gt;θ&lt;/sub&gt;(&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;9123&lt;/span&gt;) = &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;-20&lt;/span&gt; +&amp;nbsp;(&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;0.35&lt;/span&gt; *&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;9123&lt;/span&gt;) =&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;-20&lt;/span&gt; + 3193.00 =&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;3173.00&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
h&lt;sub&gt;θ&lt;/sub&gt;(&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;4567&lt;/span&gt;) = &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;-20&lt;/span&gt; +&amp;nbsp;(&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;0.35&lt;/span&gt; *&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;4567&lt;/span&gt;) =&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;-20&lt;/span&gt; + 1598.40 =&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;1578.40&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;C. &amp;nbsp;Types&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;b&gt;1. &amp;nbsp;Supervised Learning&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Supervised Learning is when you are given the right answer for each example in the data set.&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;b&gt;2. &amp;nbsp;Classification&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Classification is when you have discrete-valued output.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;3. &amp;nbsp;Regression Problem&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Predict real-valued output.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;d. &amp;nbsp;Notation&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;m = Number of training examples, rows.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;(x,y) = One training example, one row.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;(x&lt;sup&gt;(i)&lt;/sup&gt;, y&lt;sup&gt;(i)&lt;/sup&gt;) = i&lt;sup&gt;th&lt;/sup&gt; training example. &amp;nbsp;The superscript refers to the index of the training set, the i&lt;sup&gt;th&lt;/sup&gt; row.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;x&#39;s = &quot;input&quot; variable/features.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;y&#39;s = &quot;output&quot; variable / &quot;target&quot; variable.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;h = Hypothesis; &amp;nbsp;h is a function that maps from x&#39;s to y&#39;s.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;The hypothesis is used to make predictions.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;h&lt;sub&gt;θ&lt;/sub&gt; (x) = θ&lt;sub&gt;o&lt;/sub&gt; + θ&lt;sub&gt;1&lt;/sub&gt;x&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;shorthand h(x)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;θ&lt;sub&gt;o&lt;/sub&gt;&amp;nbsp;and θ&lt;sub&gt;1&lt;/sub&gt;are parameters.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;h is predicting y is a linear function of x.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;Linear regression with one variable, x.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;Univariate, one variable, linear regression.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You have learned Matrix Multiplication.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 9px; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;http://goo.gl/qi5jw&quot; style=&quot;color: #33aaff;&quot;&gt;Elcric Otto Circle&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-4871588942132101&quot;;
/* One */
google_ad_slot = &quot;8813220342&quot;;
google_ad_width = 336;
google_ad_height = 280;
//&lt;/script&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
--&amp;gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;


&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-4871588942132101&quot;;
/* Two */
google_ad_slot = &quot;8243854886&quot;;
google_ad_width = 336;
google_ad_height = 280;
//&lt;/script&gt;
--&amp;gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;


&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-4871588942132101&quot;;
/* Three */
google_ad_slot = &quot;7921082405&quot;;
google_ad_width = 336;
google_ad_height = 280;
//&lt;/script&gt;
--&amp;gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;form&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: xx-small;&quot;&gt;&lt;input onclick=&quot;window.location.href=&#39;http://goo.gl/Hm4Lb&#39;&quot; type=&quot;BUTTON&quot; value=&quot;HOME PAGE&quot; /&gt;&lt;/span&gt;
&lt;/form&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;h1&gt;
How to Link to My Home Page&lt;/h1&gt;
&lt;form action=&quot;http://www.example.com/&quot;&gt;
&lt;label for=&quot;linkcode&quot;&gt;
To link to &quot;MY Home Page&quot; from your website, simply copy and paste the following code into your website HTML page.
&lt;/label&gt;
&lt;textarea cols=&quot;43&quot; id=&quot;linkcode&quot; onclick=&quot;this.focus();this.select();&quot; readonly=&quot;readonly&quot; rows=&quot;5&quot; title=&quot;Select the text here, click your right mouse button, click the Copy menu item, and paste it into your web page in HTML source mode&quot;&gt;&lt;a href=&quot;http://goo.gl/Hm4Lb&quot; target=&quot;_top&quot;&gt;&quot;Link to ELCRIC OTTO CIRCLE&#39;s Home Page&quot;&lt;/a&gt;
&lt;/textarea&gt;
&lt;/form&gt;
It will appear on your website as:&lt;br /&gt;
&lt;a href=&quot;http://goo.gl/Hm4Lb&quot; target=&quot;_top&quot;&gt;&quot;Link to ELCRIC OTTO CIRCLE&#39;s Home Page&quot;&lt;/a&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://machinelearningai.blogspot.com/2011/10/matrix-multiplication.html</link><author>noreply@blogger.com (Ron Tinnel)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCeGsQw0EwYcNhAnNZeOsU4eTyFGI93u78bhMNV2Ni45gv_5HNvrClbDdAl563WvGvYJA4MrUn-MOj-Qw4arsI811baRhmhQIb51VRLva3BjVwTONTy0ZpAQgMcXv_sDAwX1hiEfU8HTk/s72-c/avatar.gif" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7017754285398679832.post-7992633678107907019</guid><pubDate>Thu, 20 Oct 2011 19:23:00 +0000</pubDate><atom:updated>2013-03-03T23:16:02.682-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">matrix</category><category domain="http://www.blogger.com/atom/ns#">matrix addition</category><title>MATRIX SCALAR MATH</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;g-plusone&quot; data-annotation=&quot;inline&quot; data-width=&quot;300&quot;&gt;
&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
  (function() {
    var po = document.createElement(&#39;script&#39;); po.type = &#39;text/javascript&#39;; po.async = true;
    po.src = &#39;https://apis.google.com/js/plusone.js&#39;;
    var s = document.getElementsByTagName(&#39;script&#39;)[0]; s.parentNode.insertBefore(po, s);
  })();
&lt;/script&gt;

&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;form&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: xx-small;&quot;&gt;&lt;input onclick=&quot;window.location.href=&#39;http://goo.gl/Hm4Lb&#39;&quot; type=&quot;BUTTON&quot; value=&quot;HOME PAGE&quot; /&gt;&lt;/span&gt;
&lt;/form&gt;
&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: xx-small;&quot;&gt;REVISED: Sunday, March 3, 2013&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: 800;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCeGsQw0EwYcNhAnNZeOsU4eTyFGI93u78bhMNV2Ni45gv_5HNvrClbDdAl563WvGvYJA4MrUn-MOj-Qw4arsI811baRhmhQIb51VRLva3BjVwTONTy0ZpAQgMcXv_sDAwX1hiEfU8HTk/s1600/avatar.gif&quot; imageanchor=&quot;1&quot; style=&quot;font-weight: bold; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCeGsQw0EwYcNhAnNZeOsU4eTyFGI93u78bhMNV2Ni45gv_5HNvrClbDdAl563WvGvYJA4MrUn-MOj-Qw4arsI811baRhmhQIb51VRLva3BjVwTONTy0ZpAQgMcXv_sDAwX1hiEfU8HTk/s1600/avatar.gif&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You will learn Matrix Scalar Math.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/b&gt;

&lt;br /&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;I. &amp;nbsp;MATRIX ADDITION&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Shown below are two matrices, &lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;A&lt;/span&gt;&lt;/b&gt; and &lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;B&lt;/span&gt;&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;A&lt;/span&gt;&lt;/b&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;B&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;1&lt;/b&gt;&lt;/span&gt; &amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;2&lt;/span&gt;&lt;/b&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;1&lt;/b&gt;&lt;/span&gt; &amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;2&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;3&lt;/b&gt;&lt;/span&gt; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;4&lt;/b&gt;&lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;3&lt;/b&gt;&lt;/span&gt; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;4&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;5&lt;/b&gt;&lt;/span&gt; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;6&lt;/b&gt;&lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;5&lt;/b&gt;&lt;/span&gt; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;6&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
You can only add two matrices of the same dimension.&lt;br /&gt;
&lt;br /&gt;
The above example is two 3x2 matrices; therefore, we can add them as follows:&lt;br /&gt;
&lt;br /&gt;
(&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;1&lt;/b&gt;&lt;/span&gt;+&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;1&lt;/b&gt;&lt;/span&gt;) &amp;nbsp; &amp;nbsp;(&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;2&lt;/b&gt;&lt;/span&gt;+&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;2&lt;/b&gt;&lt;/span&gt;)&lt;br /&gt;
(&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;3&lt;/b&gt;&lt;/span&gt;+&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;3&lt;/b&gt;&lt;/span&gt;) &amp;nbsp; &amp;nbsp;(&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;4&lt;/b&gt;&lt;/span&gt;+&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;4&lt;/b&gt;&lt;/span&gt;)&lt;br /&gt;
(&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;5&lt;/b&gt;&lt;/span&gt;+&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;5&lt;/b&gt;&lt;/span&gt;) &amp;nbsp; &amp;nbsp;(&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;6&lt;/b&gt;&lt;/span&gt;+&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;6&lt;/b&gt;&lt;/span&gt;)&lt;br /&gt;
&lt;br /&gt;
Notice when we add them, the result is a new 3x2 matrix as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;C&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; 2 &amp;nbsp; &amp;nbsp; &amp;nbsp; 4&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; 6 &amp;nbsp; &amp;nbsp; &amp;nbsp; 8&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;10 &amp;nbsp; &amp;nbsp; 12&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;II. &amp;nbsp;MULTIPLYING A MATRIX BY A SCALAR NUMBER&lt;/b&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
Scalar means real number.&lt;br /&gt;
&lt;br /&gt;
For example lets multiply the following 3x2 matrix &lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;C&lt;/span&gt;&lt;/b&gt; by the scalar, real number, &lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;3&lt;/span&gt;&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;C&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; 2 &amp;nbsp; &amp;nbsp; &amp;nbsp; 4&lt;br /&gt;
&amp;nbsp; 6 &amp;nbsp; &amp;nbsp; &amp;nbsp; 8&lt;br /&gt;
10 &amp;nbsp; &amp;nbsp; 12&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
and our 3x2 product is as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;C&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; (&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;3&lt;/span&gt;&lt;/b&gt;*2) &amp;nbsp; &amp;nbsp; &amp;nbsp;(&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;3&lt;/span&gt;&lt;/b&gt;*4)&lt;br /&gt;
&amp;nbsp; (&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;3&lt;/span&gt;&lt;/b&gt;*6 ) &amp;nbsp; &amp;nbsp; (&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;3&lt;/span&gt;&lt;/b&gt;*8)&lt;br /&gt;
(&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;3&lt;/span&gt;&lt;/b&gt;*10) &amp;nbsp; &amp;nbsp;(&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;3&lt;/span&gt;&lt;/b&gt;*12)&lt;br /&gt;
&lt;br /&gt;
which becomes:&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;C&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;6 &amp;nbsp; &amp;nbsp; &amp;nbsp;12&lt;br /&gt;
&amp;nbsp;18 &amp;nbsp; &amp;nbsp; &amp;nbsp;24&lt;br /&gt;
&amp;nbsp;30 &amp;nbsp; &amp;nbsp; &amp;nbsp;36&lt;br /&gt;
&lt;br /&gt;
Notice the above result is a matrix of the same 3x2 dimensions.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;III. &amp;nbsp;DIVIDING A MATRIX BY A SCALAR NUMBER&lt;/b&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
Lets divide the following 3x2 matrix&amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;C&lt;/span&gt;&lt;/b&gt;&amp;nbsp;by the scalar, real number,&amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;3&lt;/span&gt;&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
We can achieve the same results of division by 3, by multiplication by the inverse of 3, which is 1/3.&lt;br /&gt;
&lt;br /&gt;
We already know how to multiply a matrix by a scalar so we are all set.&lt;br /&gt;
&lt;br /&gt;
Lets multiply the following 3x2 matrix&amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;C&lt;/span&gt;&lt;/b&gt;&amp;nbsp;by the scalar, real number,&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;1/&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;3&lt;/span&gt;&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;C&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; 6 &amp;nbsp; &amp;nbsp; &amp;nbsp; 12&lt;br /&gt;
&amp;nbsp;18 &amp;nbsp; &amp;nbsp; &amp;nbsp;24&lt;br /&gt;
&amp;nbsp;30 &amp;nbsp; &amp;nbsp; &amp;nbsp;36&lt;/div&gt;
&lt;br /&gt;
becomes:
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;C&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; (&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;1/&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;3 &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;6 ) &amp;nbsp; &amp;nbsp; (&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;1/&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;3 &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;12)&lt;br /&gt;
&amp;nbsp;(&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;1/&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;3 &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;18) &amp;nbsp; &amp;nbsp; &amp;nbsp;(&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;1/&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;3 &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;24)&lt;br /&gt;
&amp;nbsp;(&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;1/&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;3 &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;30) &amp;nbsp; &amp;nbsp; &amp;nbsp;(&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;1/&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;3 &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;36)&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
which is:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;C&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; 2 &amp;nbsp; &amp;nbsp; &amp;nbsp; 4&lt;br /&gt;
&amp;nbsp; 6 &amp;nbsp; &amp;nbsp; &amp;nbsp; 8&lt;br /&gt;
10 &amp;nbsp; &amp;nbsp; 12&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;IV. &amp;nbsp;COMBINATION OF OPERANDS&lt;/b&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;br /&gt;
Shown below are three, 3x1 matrices, or vectors.&lt;br /&gt;
We want to multiply the scalar number 2, times vector &lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;a&lt;/span&gt;&lt;/b&gt;.&lt;br /&gt;
We want to divide vector &lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;c&lt;/span&gt;&lt;/b&gt;&amp;nbsp;, by the scalar number 3.&lt;br /&gt;
Then we want to add vectors (&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;a&lt;/span&gt;&lt;/b&gt; + &lt;b style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;b&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;),&lt;/span&gt;&amp;nbsp;and subtract vector&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;c&lt;/b&gt;&lt;/span&gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;a&lt;/span&gt; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;b&lt;/span&gt; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime;&quot;&gt;c&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; &amp;nbsp;2 &amp;nbsp; &amp;nbsp; &amp;nbsp;3&lt;br /&gt;
2 * &amp;nbsp; 4 &amp;nbsp;+ &amp;nbsp;5 &amp;nbsp;- &amp;nbsp; 6 &amp;nbsp; / 3&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 7 &amp;nbsp; &amp;nbsp; &amp;nbsp;8 &amp;nbsp; &amp;nbsp; &amp;nbsp;9&lt;br /&gt;
&lt;br /&gt;
becomes&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;a&lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;b&lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime;&quot;&gt;c&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; (2 *&amp;nbsp;1) &amp;nbsp; &amp;nbsp; &amp;nbsp;2 &amp;nbsp; &amp;nbsp; &amp;nbsp;(3*1/3)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; (2 * 4) &amp;nbsp;+ &amp;nbsp;5 &amp;nbsp;- &amp;nbsp; (6*1/3)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; (2 *&amp;nbsp;7) &amp;nbsp; &amp;nbsp; &amp;nbsp;8 &amp;nbsp; &amp;nbsp; &amp;nbsp;(9*1/3)&lt;br /&gt;
&lt;br /&gt;
becomes&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;a&lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;b&lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime;&quot;&gt;c&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2 &amp;nbsp; &amp;nbsp; &amp;nbsp;2 &amp;nbsp; &amp;nbsp; &amp;nbsp;(3*1/3)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 8 &amp;nbsp;+ &amp;nbsp;5 &amp;nbsp;- &amp;nbsp; (6*1/3)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; 14 &amp;nbsp; &amp;nbsp; &amp;nbsp;8 &amp;nbsp; &amp;nbsp; &amp;nbsp;(9*1/3)&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
becomes&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;a&lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;b&lt;/span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime;&quot;&gt;c&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2 &amp;nbsp; &amp;nbsp; &amp;nbsp;2 &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 8 &amp;nbsp;+ &amp;nbsp;5 &amp;nbsp;- &amp;nbsp; 2&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; 14 &amp;nbsp; &amp;nbsp; &amp;nbsp;8 &amp;nbsp; &amp;nbsp; &amp;nbsp;3&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
becomes&lt;br /&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;a&lt;/span&gt;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;b&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime;&quot;&gt;c&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (2 + 2) &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (8 + 5) &amp;nbsp;- &amp;nbsp; 2&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; (14 + 8) &amp;nbsp; &amp;nbsp; &amp;nbsp;3&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
becomes&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime;&quot;&gt;c&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4 &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;12 &amp;nbsp;- &amp;nbsp; 2&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;22 &amp;nbsp; &amp;nbsp; &amp;nbsp;3&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
becomes&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime;&quot;&gt;c&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(4 &amp;nbsp;- &amp;nbsp;1)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(12 &amp;nbsp;- &amp;nbsp;2)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(22 &amp;nbsp;- &amp;nbsp;3)&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
becomes vector 3x1 &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;d&lt;/b&gt;&lt;/span&gt;.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;d&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;19&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You have learned Matrix Scalar Math.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 9px;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;http://goo.gl/qi5jw&quot; style=&quot;color: #33aaff;&quot;&gt;Elcric Otto Circle&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-4871588942132101&quot;;
/* One */
google_ad_slot = &quot;8813220342&quot;;
google_ad_width = 336;
google_ad_height = 280;
//&lt;/script&gt;
&lt;/div&gt;
&lt;/div&gt;
--&amp;gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;

&lt;br /&gt;
&lt;div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-4871588942132101&quot;;
/* Two */
google_ad_slot = &quot;8243854886&quot;;
google_ad_width = 336;
google_ad_height = 280;
//&lt;/script&gt;
&lt;/div&gt;
--&amp;gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;

&lt;br /&gt;
&lt;div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-4871588942132101&quot;;
/* Three */
google_ad_slot = &quot;7921082405&quot;;
google_ad_width = 336;
google_ad_height = 280;
//&lt;/script&gt;
&lt;/div&gt;
--&amp;gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;

&lt;br /&gt;
&lt;div&gt;
&lt;form&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: xx-small;&quot;&gt;&lt;input onclick=&quot;window.location.href=&#39;http://goo.gl/Hm4Lb&#39;&quot; type=&quot;BUTTON&quot; value=&quot;HOME PAGE&quot; /&gt;&lt;/span&gt;
&lt;/form&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;h1&gt;
How to Link to My Home Page&lt;/h1&gt;
&lt;form action=&quot;http://www.example.com/&quot;&gt;
&lt;label for=&quot;linkcode&quot;&gt;
To link to &quot;MY Home Page&quot; from your website, simply copy and paste the following code into your website HTML page.
&lt;/label&gt;
&lt;textarea cols=&quot;43&quot; id=&quot;linkcode&quot; onclick=&quot;this.focus();this.select();&quot; readonly=&quot;readonly&quot; rows=&quot;5&quot; title=&quot;Select the text here, click your right mouse button, click the Copy menu item, and paste it into your web page in HTML source mode&quot;&gt;&lt;a href=&quot;http://goo.gl/Hm4Lb&quot; target=&quot;_top&quot;&gt;&quot;Link to ELCRIC OTTO CIRCLE&#39;s Home Page&quot;&lt;/a&gt;
&lt;/textarea&gt;
&lt;/form&gt;
It will appear on your website as:&lt;br /&gt;
&lt;a href=&quot;http://goo.gl/Hm4Lb&quot; target=&quot;_top&quot;&gt;&quot;Link to ELCRIC OTTO CIRCLE&#39;s Home Page&quot;&lt;/a&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://machinelearningai.blogspot.com/2011/10/matrix.html</link><author>noreply@blogger.com (Ron Tinnel)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCeGsQw0EwYcNhAnNZeOsU4eTyFGI93u78bhMNV2Ni45gv_5HNvrClbDdAl563WvGvYJA4MrUn-MOj-Qw4arsI811baRhmhQIb51VRLva3BjVwTONTy0ZpAQgMcXv_sDAwX1hiEfU8HTk/s72-c/avatar.gif" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7017754285398679832.post-4847610049208202461</guid><pubDate>Thu, 20 Oct 2011 19:17:00 +0000</pubDate><atom:updated>2013-03-03T23:16:24.937-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">0-index</category><category domain="http://www.blogger.com/atom/ns#">1-index</category><category domain="http://www.blogger.com/atom/ns#">column</category><category domain="http://www.blogger.com/atom/ns#">matrix</category><category domain="http://www.blogger.com/atom/ns#">matrix versus vector</category><category domain="http://www.blogger.com/atom/ns#">row</category><category domain="http://www.blogger.com/atom/ns#">vector</category><title>MATRIX VERSUS VECTOR</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;g-plusone&quot; data-annotation=&quot;inline&quot; data-width=&quot;300&quot;&gt;
&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
  (function() {
    var po = document.createElement(&#39;script&#39;); po.type = &#39;text/javascript&#39;; po.async = true;
    po.src = &#39;https://apis.google.com/js/plusone.js&#39;;
    var s = document.getElementsByTagName(&#39;script&#39;)[0]; s.parentNode.insertBefore(po, s);
  })();
&lt;/script&gt;

&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;form&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: xx-small;&quot;&gt;&lt;input onclick=&quot;window.location.href=&#39;http://goo.gl/Hm4Lb&#39;&quot; type=&quot;BUTTON&quot; value=&quot;HOME PAGE&quot; /&gt; 
&lt;/span&gt;&lt;/form&gt;
&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: xx-small;&quot;&gt;REVISED: Sunday, March 3, 2013&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: 800;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCeGsQw0EwYcNhAnNZeOsU4eTyFGI93u78bhMNV2Ni45gv_5HNvrClbDdAl563WvGvYJA4MrUn-MOj-Qw4arsI811baRhmhQIb51VRLva3BjVwTONTy0ZpAQgMcXv_sDAwX1hiEfU8HTk/s1600/avatar.gif&quot; imageanchor=&quot;1&quot; style=&quot;font-weight: bold; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCeGsQw0EwYcNhAnNZeOsU4eTyFGI93u78bhMNV2Ni45gv_5HNvrClbDdAl563WvGvYJA4MrUn-MOj-Qw4arsI811baRhmhQIb51VRLva3BjVwTONTy0ZpAQgMcXv_sDAwX1hiEfU8HTk/s1600/avatar.gif&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You will learn the difference between a Matrix versus a Vector.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;I. &amp;nbsp;MATRIX&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
A matrix is a rectangular array of numbers written between square brackets [ &amp;nbsp;].&lt;br /&gt;
&lt;br /&gt;
The dimension of a matrix is written as the number of rows times the number of columns.&lt;br /&gt;
&lt;br /&gt;
A matrix gives you a way to organize, index, and access lots of data.&lt;br /&gt;
&lt;br /&gt;
A matrix is identified &lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;rows&lt;/span&gt;&lt;/b&gt; by &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;b style=&quot;font-family: Verdana, sans-serif;&quot;&gt;columns&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;Matrix&amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;A&lt;sub&gt;ij&lt;/sub&gt;&lt;/span&gt;&lt;/b&gt;&amp;nbsp;is shown below:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;C&lt;sup&gt;1&lt;/sup&gt; C&lt;sup&gt;2&lt;/sup&gt;&amp;nbsp; C&lt;sup&gt;3&lt;/sup&gt;&amp;nbsp; C&lt;sup&gt;4&lt;/sup&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &lt;b&gt;1 &amp;nbsp; 2 &amp;nbsp; &amp;nbsp;3 &amp;nbsp; &amp;nbsp;4&lt;/b&gt; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;R&lt;sup&gt;1&lt;/sup&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &lt;b&gt;5 &amp;nbsp; 6 &amp;nbsp; &amp;nbsp;7 &amp;nbsp; &amp;nbsp;8&lt;/b&gt; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;R&lt;sup&gt;2&lt;/sup&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &lt;b&gt;9 &amp;nbsp; 1 &amp;nbsp; &amp;nbsp;2 &amp;nbsp; &amp;nbsp;3&lt;/b&gt; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;R&lt;sup&gt;3&lt;/sup&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
The above is a &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;three row&lt;/b&gt;&lt;/span&gt; &lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;four column&lt;/span&gt;&lt;/b&gt; matrix or &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-weight: bold;&quot;&gt;x&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-weight: bold;&quot;&gt;4 &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;or&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;R&lt;sup&gt;3x4&lt;/sup&gt;&lt;/b&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Matrix elements or entries inside the matrix &lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;A&lt;sub&gt;ij&lt;/sub&gt;&lt;/span&gt;&lt;/b&gt; are referred to as &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;i&lt;sup&gt;th&lt;/sup&gt;&lt;/span&gt;&lt;/b&gt; &lt;b&gt;row&lt;/b&gt;&lt;/span&gt;  &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;j&lt;sup&gt;th&lt;/sup&gt;&lt;/b&gt;&lt;/span&gt; column&lt;/span&gt;.&lt;br /&gt;
&lt;br /&gt;
Matrix names are upper case.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;II. &amp;nbsp;VECTOR&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;A vector is a special case of a matrix.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;A vector is a matrix that only has one column.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;Shown below is the three dimensional vector&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;x&lt;sub&gt;i&lt;/sub&gt;&lt;/span&gt;&lt;/b&gt;, meaning it has three &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;&lt;b&gt;rows&lt;/b&gt;&lt;/span&gt; and one &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;b&gt;column&lt;/b&gt;&lt;/span&gt;.&lt;/div&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;C&lt;sup&gt;1&lt;/sup&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
1 &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;R&lt;sup&gt;1&lt;/sup&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
5 &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;R&lt;sup&gt;2&lt;/sup&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
9 &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;R&lt;sup&gt;3&lt;/sup&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
The above &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;three row&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;one column&lt;/span&gt;&lt;/b&gt;&amp;nbsp;matrix is a&amp;nbsp;special case of a&amp;nbsp;matrix,&amp;nbsp;called a vector. &amp;nbsp;It is&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-weight: bold;&quot;&gt;x&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif; font-weight: bold;&quot;&gt;1&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;or a three dimensional vector&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;R&lt;/b&gt;&lt;sup style=&quot;font-weight: bold;&quot;&gt;3&lt;/sup&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
Vector elements or entries inside vector&amp;nbsp;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;x&lt;sub&gt;i&lt;/sub&gt;&lt;/span&gt;&lt;/b&gt;&amp;nbsp;are referred to as&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;i&lt;sup&gt;th&lt;/sup&gt;&lt;/span&gt;&lt;/b&gt;&amp;nbsp;&lt;b&gt;row&lt;/b&gt;&lt;/span&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
There are two generally accepted ways to index a vector; they are called 1-index and 0-index. &amp;nbsp;The difference is the starting number used for the index. &amp;nbsp;If you are using modern day computer programs, most computer programs index starting with zero. &amp;nbsp;If whoever created the vector did not use modern day computer programs they will index starting with 1.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
Vector names are lower case.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You have learned the difference between a Matrix versus a Vector.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 9px; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;http://goo.gl/qi5jw&quot; style=&quot;color: #33aaff;&quot;&gt;Elcric Otto Circle&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-4871588942132101&quot;;
/* One */
google_ad_slot = &quot;8813220342&quot;;
google_ad_width = 336;
google_ad_height = 280;
//&lt;/script&gt;
&lt;/div&gt;
&lt;/div&gt;
--&amp;gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;

&lt;br /&gt;
&lt;div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-4871588942132101&quot;;
/* Two */
google_ad_slot = &quot;8243854886&quot;;
google_ad_width = 336;
google_ad_height = 280;
//&lt;/script&gt;
&lt;/div&gt;
--&amp;gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;

&lt;br /&gt;
&lt;div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-4871588942132101&quot;;
/* Three */
google_ad_slot = &quot;7921082405&quot;;
google_ad_width = 336;
google_ad_height = 280;
//&lt;/script&gt;
&lt;/div&gt;
--&amp;gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;

&lt;br /&gt;
&lt;div&gt;
&lt;form&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: xx-small;&quot;&gt;&lt;input onclick=&quot;window.location.href=&#39;http://goo.gl/Hm4Lb&#39;&quot; type=&quot;BUTTON&quot; value=&quot;HOME PAGE&quot; /&gt; 
&lt;/span&gt;&lt;/form&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;h1&gt;
How to Link to My Home Page&lt;/h1&gt;
&lt;form action=&quot;http://www.example.com/&quot;&gt;
&lt;label for=&quot;linkcode&quot;&gt;
To link to &quot;MY Home Page&quot; from your website, simply copy and paste the following code into your website HTML page.
&lt;/label&gt;
&lt;textarea cols=&quot;43&quot; id=&quot;linkcode&quot; onclick=&quot;this.focus();this.select();&quot; readonly=&quot;readonly&quot; rows=&quot;5&quot; title=&quot;Select the text here, click your right mouse button, click the Copy menu item, and paste it into your web page in HTML source mode&quot;&gt;&lt;a href=&quot;http://goo.gl/Hm4Lb&quot; target=&quot;_top&quot;&gt;&quot;Link to ELCRIC OTTO CIRCLE&#39;s Home Page&quot;&lt;/a&gt;
&lt;/textarea&gt;
&lt;/form&gt;
It will appear on your website as:&lt;br /&gt;
&lt;a href=&quot;http://goo.gl/Hm4Lb&quot; target=&quot;_top&quot;&gt;&quot;Link to ELCRIC OTTO CIRCLE&#39;s Home Page&quot;&lt;/a&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://machinelearningai.blogspot.com/2011/10/revisedthursday-october-20-2011-i.html</link><author>noreply@blogger.com (Ron Tinnel)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCeGsQw0EwYcNhAnNZeOsU4eTyFGI93u78bhMNV2Ni45gv_5HNvrClbDdAl563WvGvYJA4MrUn-MOj-Qw4arsI811baRhmhQIb51VRLva3BjVwTONTy0ZpAQgMcXv_sDAwX1hiEfU8HTk/s72-c/avatar.gif" height="72" width="72"/><thr:total>0</thr:total></item></channel></rss>