<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/rss-style.xsl" type="text/xsl"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	     xmlns:dc="http://purl.org/dc/elements/1.1/"
	   xmlns:atom="http://www.w3.org/2005/Atom"
	     xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	  xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>
<channel>
	<title>QADMSPML &#8211; Terence Eden’s Blog</title>
	<atom:link href="https://shkspr.mobi/blog/tag/qadmspml/feed/" rel="self" type="application/rss+xml" />
	<link>https://shkspr.mobi/blog</link>
	<description>Regular nonsense about tech and its effects 🙃</description>
	<lastBuildDate>Fri, 24 Jan 2025 09:36:01 +0000</lastBuildDate>
	<language>en-GB</language>
	<copyright>© Terence Eden. 🄯 CC BY-SA. See https://shkspr.mobi/blog/copyright-and-copyleft/</copyright>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.3</generator>

<image>
	<url>https://shkspr.mobi/blog/wp-content/uploads/2023/07/cropped-avatar-32x32.jpeg</url>
	<title>QADMSPML &#8211; Terence Eden’s Blog</title>
	<link>https://shkspr.mobi/blog</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title><![CDATA[Practical Machine Learning with Python]]></title>
		<link>https://shkspr.mobi/blog/2022/01/practical-machine-learning-with-python/</link>
					<comments>https://shkspr.mobi/blog/2022/01/practical-machine-learning-with-python/#respond</comments>
				<dc:creator><![CDATA[Terence Eden]]></dc:creator>
		<pubDate>Mon, 24 Jan 2022 12:34:30 +0000</pubDate>
		<category><![CDATA[AI]]></category><category><![CDATA[MSc]]></category><category><![CDATA[python]]></category><category><![CDATA[QADMSPML]]></category>		<guid isPermaLink="false">https://shkspr.mobi/blog/?p=41618</guid>

					<description><![CDATA[As part of my MSc I&#039;m taking a short course in Practical Machine Learning via QA.com.  The first three days were just about basic stats visualisation using Python. It was great to have a refresher - but I would have expected that to be a pre-requisite.  The tutor was excellent - very patient at explaining complex concepts. And the use of Jupyter Notebooks is a gamechanger for taught courses like…]]></description>
										<content:encoded>&lt;p&gt;As part of my &lt;a href="https://shkspr.mobi/blog/tag/MSc"&gt;MSc&lt;/a&gt; I'm taking a short course in &lt;a href="https://web.archive.org/web/20220518000827/https://www.qa.com/course-catalogue/courses/practical-machine-learning-qadmspml/"&gt;Practical Machine Learning&lt;/a&gt; via QA.com.&lt;/p&gt;

&lt;p&gt;The first three days were just about basic stats visualisation using Python. It was great to have a refresher - but I would have expected that to be a pre-requisite.&lt;/p&gt;

&lt;p&gt;The tutor was excellent - very patient at explaining complex concepts. And the use of Jupyter Notebooks is a gamechanger for taught courses like this.&lt;/p&gt;

&lt;p&gt;Ultimately, it was a useful course - although I expected a lot more time to be spent on training for machine learning models rather than the underlying statistics.&lt;/p&gt;

&lt;p&gt;These are mostly notes to myself to help consolidate my knowledge - and to provide some more information on the course itself if you are thinking of taking it.&lt;/p&gt;

&lt;h2 id="day-1"&gt;&lt;a href="https://shkspr.mobi/blog/2022/01/practical-machine-learning-with-python/#day-1"&gt;Day 1&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;All done in Python, pretty standard.&lt;/p&gt;

&lt;h3 id="python"&gt;&lt;a href="https://shkspr.mobi/blog/2022/01/practical-machine-learning-with-python/#python"&gt;Python&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/#creating-a-virtual-environment"&gt;Python Virtual Environments&lt;/a&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create &lt;code&gt;python3 -m venv SomeName&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Activate &lt;code&gt;source path/to/SomeName/bin/activate&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Install packages &lt;code&gt;pip install -U whatever&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;python&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;To exit the venv, &lt;code&gt;deactivate&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id="jupyter-notebooks"&gt;&lt;a href="https://shkspr.mobi/blog/2022/01/practical-machine-learning-with-python/#jupyter-notebooks"&gt;Jupyter Notebooks&lt;/a&gt;&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;In the venv &lt;a href="https://jupyter.org/install#installation-with-pip"&gt;&lt;code&gt;pip install -U jupyterlab&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Run it with &lt;code&gt;jupyter notebook&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Don't forget to "Close and Halt" to stop the notebooks running in the background.&lt;/li&gt;
&lt;li&gt;Don't &lt;code&gt;pip install&lt;/code&gt; from within Jupyter&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id="anaconda"&gt;&lt;a href="https://shkspr.mobi/blog/2022/01/practical-machine-learning-with-python/#anaconda"&gt;Anaconda&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Possibly the easiest way to do everything (debatable!)
* &lt;a href="https://docs.anaconda.com/anaconda/install/linux/"&gt;Install Anaconda for Linux&lt;/a&gt;&lt;/p&gt;

&lt;h3 id="why"&gt;&lt;a href="https://shkspr.mobi/blog/2022/01/practical-machine-learning-with-python/#why"&gt;Why&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;The process of automatically extracting meaning from data.&lt;/p&gt;

&lt;p&gt;Data can be raw and unstructured. Lots of modern data is structured - e.g. tabular, database. But unstructured data - mostly media - isn't easy to classify and extract information from.&lt;/p&gt;

&lt;p&gt;Exponential growth of data. 90% of the world's data has been created in the last few months. Rise of sensor data, etc.&lt;/p&gt;

&lt;p&gt;Use of modern data science tools to invite others to reproduce your results.&lt;/p&gt;

&lt;p&gt;Data Science = Turn data into a valuable asset, gain insight, make decisions and take actions.
Data Analyst explains. Data Scientists predict and visualise.&lt;/p&gt;

&lt;h3 id="python-basics-and-jupyter-basics"&gt;&lt;a href="https://shkspr.mobi/blog/2022/01/practical-machine-learning-with-python/#python-basics-and-jupyter-basics"&gt;Python basics and Jupyter basics&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Different data types. Tuples, Dicts.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://news.ycombinator.com/item?id=17856700"&gt;Some reasons &lt;em&gt;not&lt;/em&gt; to use notebooks&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Basic Python and Markdown syntax.&lt;/p&gt;

&lt;h3 id="stats"&gt;&lt;a href="https://shkspr.mobi/blog/2022/01/practical-machine-learning-with-python/#stats"&gt;Stats&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;The usual intro to mean, median, mode, and basic statistical techniques. Basically enough to make sure everyone is on the same page.&lt;/p&gt;

&lt;h2 id="day-2"&gt;&lt;a href="https://shkspr.mobi/blog/2022/01/practical-machine-learning-with-python/#day-2"&gt;Day 2&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;Numpy. What it is, how it works, how fast it is. N-Dimensional Arrays&lt;/p&gt;

&lt;p&gt;Pandas. Again, overview of the basics. Series and DataFrames.&lt;/p&gt;

&lt;h2 id="day-3"&gt;&lt;a href="https://shkspr.mobi/blog/2022/01/practical-machine-learning-with-python/#day-3"&gt;Day 3&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;Matplotlib and Seaborn. Again, basic interfaces for drawing graphs and getting data out of DataFrames.&lt;/p&gt;

&lt;h2 id="day-4"&gt;&lt;a href="https://shkspr.mobi/blog/2022/01/practical-machine-learning-with-python/#day-4"&gt;Day 4&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;Linear regression, best fit. K-Nearest-Neighbours - use of random samples to test the K.&lt;/p&gt;

&lt;h2 id="day-5"&gt;&lt;a href="https://shkspr.mobi/blog/2022/01/practical-machine-learning-with-python/#day-5"&gt;Day 5&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;Voronoi Diagrams and basic clustering. Mixture models.&lt;/p&gt;
&lt;img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=41618&amp;amp;HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager"&gt;</content:encoded>
					
					<wfw:commentRss>https://shkspr.mobi/blog/2022/01/practical-machine-learning-with-python/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
