<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://script.spoken-tutorial.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=Python-for-Machine-Learning%2FC3%2FSupport-Vector-Machine%2FEnglish</id>
		<title>Python-for-Machine-Learning/C3/Support-Vector-Machine/English - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=Python-for-Machine-Learning%2FC3%2FSupport-Vector-Machine%2FEnglish"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Python-for-Machine-Learning/C3/Support-Vector-Machine/English&amp;action=history"/>
		<updated>2026-05-13T07:59:08Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.17</generator>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=Python-for-Machine-Learning/C3/Support-Vector-Machine/English&amp;diff=57029&amp;oldid=prev</id>
		<title>Madhurig at 16:13, 10 July 2025</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Python-for-Machine-Learning/C3/Support-Vector-Machine/English&amp;diff=57029&amp;oldid=prev"/>
				<updated>2025-07-10T16:13:04Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://script.spoken-tutorial.org/index.php?title=Python-for-Machine-Learning/C3/Support-Vector-Machine/English&amp;amp;diff=57029&amp;amp;oldid=56997&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Madhurig</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=Python-for-Machine-Learning/C3/Support-Vector-Machine/English&amp;diff=56997&amp;oldid=prev</id>
		<title>Nirmala Venkat at 07:11, 25 June 2025</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Python-for-Machine-Learning/C3/Support-Vector-Machine/English&amp;diff=56997&amp;oldid=prev"/>
				<updated>2025-06-25T07:11:33Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 07:11, 25 June 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 243:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 243:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| style=&amp;quot;border-top:0.5pt solid #000000;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Narration&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| style=&amp;quot;border-top:0.5pt solid #000000;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Narration&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| style=&amp;quot;border-top:0.5pt solid #000000;border-bottom:0.6pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Now that '''Linear SVM''' is done, let’s &lt;/del&gt;move to '''Non Linear SVM'''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| style=&amp;quot;border-top:0.5pt solid #000000;border-bottom:0.6pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Let’s &lt;/ins&gt;move to '''Non Linear SVM'''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| style=&amp;quot;border-top:0.5pt solid #000000;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Highlight the lines:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| style=&amp;quot;border-top:0.5pt solid #000000;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Highlight the lines:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nirmala Venkat</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=Python-for-Machine-Learning/C3/Support-Vector-Machine/English&amp;diff=56995&amp;oldid=prev</id>
		<title>Nirmala Venkat: Created page with &quot; &lt;div style=&quot;margin-left:1.27cm;margin-right:0cm;&quot;&gt;&lt;/div&gt; {| border=&quot;1&quot; |- || '''Visual Cue''' || '''Narration''' |- |- style=&quot;border:0.5pt solid #000000;padding-top:0cm;paddi...&quot;</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Python-for-Machine-Learning/C3/Support-Vector-Machine/English&amp;diff=56995&amp;oldid=prev"/>
				<updated>2025-06-24T10:38:59Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot; &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt; {| border=&amp;quot;1&amp;quot; |- || &amp;#039;&amp;#039;&amp;#039;Visual Cue&amp;#039;&amp;#039;&amp;#039; || &amp;#039;&amp;#039;&amp;#039;Narration&amp;#039;&amp;#039;&amp;#039; |- |- style=&amp;quot;border:0.5pt solid #000000;padding-top:0cm;paddi...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| '''Visual Cue'''&lt;br /&gt;
|| '''Narration'''&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| &amp;lt;div style=&amp;quot;color:#000000;&amp;quot;&amp;gt;Show slide:&amp;lt;/div&amp;gt;&lt;br /&gt;
'''Welcome'''&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Welcome to the Spoken Tutorial on '''Support Vector Machine.'''&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.75pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Show Slide:&lt;br /&gt;
&lt;br /&gt;
'''Learning Objectives'''&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.75pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | In this tutorial, we will learn about&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''Support Vector Machine (SVM)'''&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''Linear SVM '''and&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''Non Linear SVM '''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;border-top:0.75pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.75pt solid #000000;border-right:0.75pt solid #000000;padding:0.106cm;&amp;quot;&lt;br /&gt;
|| Show Slide:&lt;br /&gt;
&lt;br /&gt;
'''System Requirements'''&lt;br /&gt;
|| To record this tutorial, I am using &lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''Ubuntu Linux OS version 24.04'''&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''Jupyter Notebook IDE'''&amp;lt;/div&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:0.5pt solid #000000;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | &amp;lt;div style=&amp;quot;color:#000000;&amp;quot;&amp;gt;Show Slide:&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#000000;&amp;quot;&amp;gt;'''Prerequisite'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;border-top:0.5pt solid #000000;border-bottom:0.6pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | To follow this tutorial,&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#000000;&amp;quot;&amp;gt;The learner must have basic knowledge of &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#000000;&amp;quot;&amp;gt;'''Python.'''&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#000000;&amp;quot;&amp;gt;For prerequisite &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#000000;&amp;quot;&amp;gt;'''Python'''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#000000;&amp;quot;&amp;gt; tutorials, please visit this website.&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Show Slide:&lt;br /&gt;
&lt;br /&gt;
'''Code files'''&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; |&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#000000;&amp;quot;&amp;gt;The files used in this tutorial are provided in the &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#000000;&amp;quot;&amp;gt;'''Code files '''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#000000;&amp;quot;&amp;gt;link.&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;color:#252525;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Please download and extract the files.&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;color:#252525;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Make a copy and then use them while practicing.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Show Slide&lt;br /&gt;
&lt;br /&gt;
'''SVM'''&lt;br /&gt;
| style=&amp;quot;border:0.6pt solid #000000;padding:0.106cm;&amp;quot; | &lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''SVM''' is a '''supervised learning algorithm''' used for classification and regression.&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;It finds the best boundary, called a '''hyperplane''', to separate classes.&amp;lt;/div&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Show Slide &lt;br /&gt;
&lt;br /&gt;
'''Hyperplane and Margin'''&lt;br /&gt;
&lt;br /&gt;
Show margin.png&lt;br /&gt;
&lt;br /&gt;
Narration&lt;br /&gt;
| style=&amp;quot;border:0.6pt solid #000000;padding:0.106cm;&amp;quot; |&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;The best '''hyperplane''' is the one that leaves the largest gap between classes. &amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;This gap is called the '''margin''', and a larger margin reduces errors.&amp;lt;/div&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Narration&lt;br /&gt;
| style=&amp;quot;border:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Next we will see about Linear SVM and Non-Linear SVM.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Show Slide&lt;br /&gt;
&lt;br /&gt;
'''Linear SVM'''&lt;br /&gt;
| style=&amp;quot;border:0.6pt solid #000000;padding:0.106cm;&amp;quot; |&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;If a straight line hyperplane can separate the data, we use '''Linear SVM'''.&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''Linear SVM''' aims to find the hyperplane that maximizes the margin.&amp;lt;/div&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Show Slide&lt;br /&gt;
&lt;br /&gt;
'''Non-Linear SVM'''&lt;br /&gt;
| style=&amp;quot;border:0.6pt solid #000000;padding:0.106cm;&amp;quot; | &lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;When data is not linearly separable, we use '''Non Linear SVM.'''&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Non Linear SVM uses the '''kernel trick''' to transform the data.&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''Kernels '''help find decision boundaries for data that isn’t linearly separable.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Hover over the files&lt;br /&gt;
| style=&amp;quot;border:0.6pt solid #000000;padding:0.106cm;&amp;quot; | I have created required files for the demonstration of '''SVM'''. &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Open the file housingcalifornia.csv and point to the fields as per narration.&lt;br /&gt;
| style=&amp;quot;border:0.6pt solid #000000;padding:0.106cm;&amp;quot; | To implement the '''SVM model, '''we use the '''californiahousing dot csv '''dataset.&lt;br /&gt;
&lt;br /&gt;
The columns in the dataset helps to classify whether a house price is High or Low.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.75pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Point to the '''SVM.ipynb''' &lt;br /&gt;
| style=&amp;quot;border-top:0.6pt solid #000000;border-bottom:0.75pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | '''SVM dot ipynb''' is the python notebook file for this demonstration.&lt;br /&gt;
|- style=&amp;quot;border-top:0.75pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.75pt solid #000000;border-right:0.75pt solid #000000;padding:0.106cm;&amp;quot;&lt;br /&gt;
|| Press '''Ctrl,Alt and T''' keys&lt;br /&gt;
&lt;br /&gt;
Type '''conda activate ml'''&lt;br /&gt;
&lt;br /&gt;
Press '''Enter'''&lt;br /&gt;
|| Let us open the Linux terminal. Press '''Ctrl, Alt''' and '''T''' keys together.&lt;br /&gt;
&lt;br /&gt;
Activate the machine learning environment as shown&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Go to the '''Downloads '''folder&lt;br /&gt;
&lt;br /&gt;
Type '''cd Downloads'''&lt;br /&gt;
&lt;br /&gt;
Type '''jupyter notebook'''&lt;br /&gt;
&lt;br /&gt;
Press '''Enter '''&lt;br /&gt;
| style=&amp;quot;border-top:0.6pt solid #000000;border-bottom:0.6pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | I have saved my code file in the '''Downloads''' folder. &lt;br /&gt;
&lt;br /&gt;
Please navigate to the directory of your respective code file location.&lt;br /&gt;
&lt;br /&gt;
Then type, '''jupyter space notebook '''and press''' Enter.'''&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Show Jupyter Notebook Home page:&lt;br /&gt;
&lt;br /&gt;
Click on''' SVM.ipynb'''&lt;br /&gt;
| style=&amp;quot;border-top:0.6pt solid #000000;border-bottom:0.6pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | We can see the '''Jupyter Notebook''' '''Home page''' has opened in the web browser.&lt;br /&gt;
&lt;br /&gt;
Click the '''SVM dot ipynb''' file to open it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#000000;&amp;quot;&amp;gt;Note that each cell will have the output displayed in this file.&amp;lt;/div&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Highlight''' '''the lines&lt;br /&gt;
&lt;br /&gt;
'''import pandas as pd '''&lt;br /&gt;
'''import seaborn as sns'''&lt;br /&gt;
'''from sklearn.decomposition import PCA'''&lt;br /&gt;
&lt;br /&gt;
Press''' Shift '''and''' Enter'''&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | We start by importing the required libraries for '''SVM classification.'''&lt;br /&gt;
&lt;br /&gt;
Now, we will implement a '''Linear SVM''' model.&lt;br /&gt;
&lt;br /&gt;
Make sure to Press''' Shift '''and''' Enter''' to execute the code in each cell.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Highlight''' '''the lines:&lt;br /&gt;
&lt;br /&gt;
'''housing_df = pd.read_csv('californiahousing.csv')'''&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | First, we '''load the dataset''' from a CSV file.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.75pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Highlight the lines:&lt;br /&gt;
&lt;br /&gt;
'''housing_df.head() '''&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.75pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Next, we display the first few rows using the '''head function'''.&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;border-top:0.75pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.75pt solid #000000;border-right:0.75pt solid #000000;padding:0.106cm;&amp;quot;&lt;br /&gt;
|| Highlight the lines:&lt;br /&gt;
&lt;br /&gt;
'''housing_df.shape '''&lt;br /&gt;
|| Then, we check the '''dataset’s shape''' to see the number of rows and columns.&lt;br /&gt;
|- style=&amp;quot;border-top:0.75pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.75pt solid #000000;border-right:0.75pt solid #000000;padding:0.106cm;&amp;quot;&lt;br /&gt;
|| Highlight the lines:&lt;br /&gt;
&lt;br /&gt;
'''selected_features = [&amp;quot;MedInc&amp;quot;, &amp;quot;HouseAge&amp;quot;, &amp;quot;AveRooms&amp;quot;, &amp;quot;AveBedrms&amp;quot;, &amp;quot;Housing Price&amp;quot;] '''&lt;br /&gt;
|| Now, let’s visualize relationships between features using a pair''' plot'''.&lt;br /&gt;
|- style=&amp;quot;border-top:0.75pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.75pt solid #000000;border-right:0.75pt solid #000000;padding:0.106cm;&amp;quot;&lt;br /&gt;
|| Show the output&lt;br /&gt;
|| Here is the output displaying feature relationships in the dataset.&lt;br /&gt;
|- style=&amp;quot;border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.75pt solid #000000;border-right:0.75pt solid #000000;padding:0.106cm;&amp;quot;&lt;br /&gt;
|| Highlight the lines:&lt;br /&gt;
&lt;br /&gt;
|| Since our data has categories, we use '''Label Encoding''' to convert them.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:0.5pt solid #000000;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Highlight the lines:&lt;br /&gt;
| style=&amp;quot;border-top:0.5pt solid #000000;border-bottom:0.6pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Next, we separate the '''features''' and '''target '''variable for model training.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Highlight the lines:&lt;br /&gt;
&lt;br /&gt;
'''X'''&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Then we print the '''feature set X.'''&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Highlight the lines:&lt;br /&gt;
&lt;br /&gt;
'''y'''&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Similarly, we print '''target variable y.'''&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Highlight the lines:&lt;br /&gt;
&lt;br /&gt;
'''X_train, X_test, y_train, y_test ='''&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Now, we split the data into '''training''' and '''testing''' '''sets.''' &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.75pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Highlight the lines:&lt;br /&gt;
&lt;br /&gt;
'''scaler = MinMaxScaler()'''&lt;br /&gt;
'''X_train_scaled ='''&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.75pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Following this, we apply '''Min Max Scaler''' to keep the data within a fixed range.&lt;br /&gt;
|- style=&amp;quot;border-top:0.75pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.75pt solid #000000;border-right:0.75pt solid #000000;padding:0.106cm;&amp;quot;&lt;br /&gt;
|| Highlight the lines:&lt;br /&gt;
|| Now, we train a '''Linear SVM''' model using the training data.&lt;br /&gt;
&lt;br /&gt;
To set up a '''Linear SVM''', we use the''' Linear''' '''kernel'''.&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.75pt solid #000000;border-right:0.75pt solid #000000;padding:0.106cm;&amp;quot;&lt;br /&gt;
|| Highlight the lines: &lt;br /&gt;
&lt;br /&gt;
'''y_train_pred_linear = svc_linear.predict(X_train_scaled)'''&lt;br /&gt;
|| Once trained, we make predictions on the training data.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:0.5pt solid #000000;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Highlight the lines:&lt;br /&gt;
| style=&amp;quot;border-top:0.5pt solid #000000;border-bottom:0.6pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Now, we check the training '''accuracy''' to evaluate model learning.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Highlight the lines:&lt;br /&gt;
&lt;br /&gt;
'''y_pred_linear ='''&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Next, we predict target values for the test data.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Highlight the lines:&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Then, we compare the actual target values with the predicted values.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Highlight the lines:&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | We now calculate and display the '''accuracy''' of '''the Linear SVM model.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Highlight the output:&lt;br /&gt;
&lt;br /&gt;
'''Accuracy: 0.840'''&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | We see the accuracy is '''0.84''', indicating strong model performance.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.75pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Highlight the lines:&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.75pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Now, we generate a classification report to evaluate model performance.&lt;br /&gt;
|- style=&amp;quot;border-top:0.75pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.75pt solid #000000;border-right:0.75pt solid #000000;padding:0.106cm;&amp;quot;&lt;br /&gt;
|| Highlight the lines:&lt;br /&gt;
&lt;br /&gt;
'''train_sizes, train_scores, test_scores = learning_curve'''&lt;br /&gt;
&lt;br /&gt;
|| Next, we plot a '''learning curve''' to see how accuracy changes with training size.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:0.5pt solid #000000;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Show the output &lt;br /&gt;
&lt;br /&gt;
Hover over training accuracy line and validation accuracy line in the plot.&lt;br /&gt;
| style=&amp;quot;border-top:0.5pt solid #000000;border-bottom:0.6pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | &amp;lt;div style=&amp;quot;color:#000000;&amp;quot;&amp;gt;The plot shows how '''accuracy changes with different training sizes.'''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#000000;&amp;quot;&amp;gt;The blue and red lines show '''training''' and '''validation accuracy''' respectively.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#000000;&amp;quot;&amp;gt;The learning curve helps to analyze model performance before further tuning.&amp;lt;/div&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:0.5pt solid #000000;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Narration&lt;br /&gt;
| style=&amp;quot;border-top:0.5pt solid #000000;border-bottom:0.6pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Now that '''Linear SVM''' is done, let’s move to '''Non Linear SVM'''.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:0.5pt solid #000000;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Highlight the lines:&lt;br /&gt;
&lt;br /&gt;
'''svc_rbf = SVC(kernel='rbf', C=10,'''&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;border-top:0.5pt solid #000000;border-bottom:0.6pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | To set up a '''Non Linear SVM''', we use the''' Radial Basis Function kernel'''.&lt;br /&gt;
&lt;br /&gt;
We set the '''regularization parameter C''' to 10 for better separation.&lt;br /&gt;
&lt;br /&gt;
We also use '''class weighting''' to handle '''class imbalance'''.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Highlight the lines:&lt;br /&gt;
&lt;br /&gt;
'''y_train_pred_rbf = svc_rbf.predict(X_train_scaled) '''&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Now, we predict the training labels using the trained '''Non Linear SVM''' model.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.75pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Highlight the lines:&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.75pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Next, we calculate and display the '''training accuracy.'''&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;border-top:0.75pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.75pt solid #000000;border-right:0.75pt solid #000000;padding:0.106cm;&amp;quot;&lt;br /&gt;
|| Highlight the lines:&lt;br /&gt;
&lt;br /&gt;
'''y_pred_rbf = svc_rbf.predict(X_test_scaled)'''&lt;br /&gt;
|| Now, we generate predictions on the test data.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:0.5pt solid #000000;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Highlight the lines:&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;border-top:0.5pt solid #000000;border-bottom:0.6pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Then we compare actual values with predicted values using a Dataframe.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Highlight the lines:&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | We now check the model’s final '''accuracy'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Highlight the output&lt;br /&gt;
&lt;br /&gt;
'''Accuracy: 0.840'''&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | With an accuracy of '''84 percent''', the model performs well.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Highlight the lines:&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.6pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Now, let's analyze it further with a '''classification report'''.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.75pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Highlight the lines:&lt;br /&gt;
&lt;br /&gt;
'''pca = PCA(n_components=2) '''&lt;br /&gt;
'''X_train_pca = pca.fit_transform(X_train_scaled)'''&lt;br /&gt;
'''X_test_pca = pca.transform(X_test_scaled)'''&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.75pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | After evaluating the model, let's visualize how '''SVM''' separates the classes.&lt;br /&gt;
&lt;br /&gt;
We now plot the '''support vectors''', which help define the '''decision boundary'''.&lt;br /&gt;
|- style=&amp;quot;border-top:0.75pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.75pt solid #000000;border-right:0.75pt solid #000000;padding:0.106cm;&amp;quot;&lt;br /&gt;
|| Show the output&lt;br /&gt;
|| This plot shows an '''SVM model''' trained with an '''RBF kernel'''.&lt;br /&gt;
&lt;br /&gt;
Each point represents a data sample from the dataset.'''Red '''and '''blue''' colors indicate '''two different target classes'''.Black '''X marks''' represent the '''model's support vectors.'''Support vectors are the key points defining the '''decision boundary.'''&lt;br /&gt;
&lt;br /&gt;
Thus, this is a '''2D visualization''' of an originally 9D dataset.&lt;br /&gt;
|- style=&amp;quot;border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.75pt solid #000000;border-right:0.75pt solid #000000;padding:0.106cm;&amp;quot;&lt;br /&gt;
|| Show Slide:&lt;br /&gt;
&lt;br /&gt;
'''Summary'''&lt;br /&gt;
|| This brings us to the end of the tutorial. Let us summarize.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:0.5pt solid #000000;border-bottom:0.75pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Show Slide:&lt;br /&gt;
| style=&amp;quot;border-top:0.5pt solid #000000;border-bottom:0.75pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | In Linear SVM code,&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Change the '''value of C to''' '''5''' as shown here&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Observe the change in '''accuracy'''.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|- style=&amp;quot;border-top:0.75pt solid #000000;border-bottom:0.5pt solid #000000;border-left:0.75pt solid #000000;border-right:0.75pt solid #000000;padding:0.106cm;&amp;quot;&lt;br /&gt;
|| Show Slide:&lt;br /&gt;
&lt;br /&gt;
'''Assignment Solution '''&lt;br /&gt;
&lt;br /&gt;
Show '''Linear.PNG''' image file&lt;br /&gt;
|| After completing the assignment, the output should match the expected result.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.75pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Show Slide: &lt;br /&gt;
&lt;br /&gt;
'''FOSSEE Forum'''&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.75pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | For any general or technical questions on '''Python for Machine Learning''', visit the '''FOSSEE forum''' and post your question&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:0.5pt solid #000000;border-bottom:0.6pt solid #000000;border-left:0.6pt solid #000000;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | Show Slide:&lt;br /&gt;
&lt;br /&gt;
'''Thank you'''&lt;br /&gt;
| style=&amp;quot;border-top:0.5pt solid #000000;border-bottom:0.6pt solid #000000;border-left:none;border-right:0.6pt solid #000000;padding:0.106cm;&amp;quot; | This is '''Harini Theiveegan''', a FOSSEE Summer Fellow 2025, IIT Bombay signing off&lt;br /&gt;
&lt;br /&gt;
Thanks for joining.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Nirmala Venkat</name></author>	</entry>

	</feed>