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

<channel>
	<title>Архивы ML - VProexpert</title>
	<atom:link href="https://www.vproexpert.com/tag/ml/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Explore Google News, AI, Data Mining&#38;SEO</description>
	<lastBuildDate>Sat, 30 Jul 2022 10:24:47 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>

<image>
	<url>https://www.vproexpert.com/wp-content/uploads/2020/04/cropped-data-logo-32x32.jpeg</url>
	<title>Архивы ML - VProexpert</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>What is a data point in a machine learning model?</title>
		<link>https://www.vproexpert.com/what-is-a-data-point-in-a-machine-learning-model/</link>
					<comments>https://www.vproexpert.com/what-is-a-data-point-in-a-machine-learning-model/#respond</comments>
		
		<dc:creator><![CDATA[John Morris]]></dc:creator>
		<pubDate>Sat, 30 Jul 2022 10:12:40 +0000</pubDate>
				<category><![CDATA[Machine learning]]></category>
		<category><![CDATA[ML]]></category>
		<guid isPermaLink="false">https://www.vproexpert.com/?p=679</guid>

					<description><![CDATA[<p>What is meant by data points? One day, my student asked me what a data point is in a machine learning model. Data points are the information we feed into the machine learning model. The number of data points, or the volume of data, determines the accuracy of the model. What is the volume of [&#8230;]</p>
<p>Сообщение <a href="https://www.vproexpert.com/what-is-a-data-point-in-a-machine-learning-model/">What is a data point in a machine learning model?</a> появились сначала на <a href="https://www.vproexpert.com">VProexpert</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><br>What is meant by data points? One day, my student asked me what a data point is in a machine learning model.</p>



<p class="wp-block-paragraph"><strong>Data points are the information we feed into the machine learning model. The number of data points, or the volume of data, determines the accuracy of the model.</strong></p>



<p class="wp-block-paragraph">What is the volume of data in a machine learning model? The volume of data is the number of different inputs we give to the machine learning model.</p>



<p class="wp-block-paragraph">Let&#8217;s talk about how to determine the accuracy of the model. The more input data points there are, the more accurate the model becomes. </p>



<p class="wp-block-paragraph">If you have a small amount of data, a very simple model will be able to accurately describe the data. If you have a large amount of data, a more complicated model will be able to accurately describe the data.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img fetchpriority="high" decoding="async" width="1024" height="576" src="https://www.vproexpert.com/wp-content/uploads/2022/07/What-is-meant-by-data-points-1024x576.jpg" alt="You can see what is meant by data points" class="wp-image-685" srcset="https://www.vproexpert.com/wp-content/uploads/2022/07/What-is-meant-by-data-points-1024x576.jpg 1024w, https://www.vproexpert.com/wp-content/uploads/2022/07/What-is-meant-by-data-points-300x169.jpg 300w, https://www.vproexpert.com/wp-content/uploads/2022/07/What-is-meant-by-data-points-768x432.jpg 768w, https://www.vproexpert.com/wp-content/uploads/2022/07/What-is-meant-by-data-points-1536x864.jpg 1536w, https://www.vproexpert.com/wp-content/uploads/2022/07/What-is-meant-by-data-points.jpg 1672w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption><strong><em>You can see what is meant by &#8220;data points.&#8221;</em></strong></figcaption></figure>
</div>


<h2 class="wp-block-heading">When and why do we need to consolidate data points?</h2>



<p class="wp-block-paragraph">Consolidating data points is a way to reduce the amount of data you need to feed into the machine learning model in order to make it more accurate.</p>



<p class="wp-block-paragraph">For example, if you have two years of income tax returns for a single person, you can probably just combine the years together into one data point, saving yourself a lot of time and effort.</p>



<p class="wp-block-paragraph">The most common machine learning model is a linear regression model. Linear Regression is a very simple model that assumes that the relationship between the input and the output is a straight line. The more complicated models are neural networks, which are models that are inspired by the way the brain works.</p>



<p class="wp-block-paragraph">What are data points used for? An example of a data point in a machine learning model would be the amount of money a person makes each year. The amount of money a person makes each year is the input data for the linear regression model.</p>



<h3 class="wp-block-heading">Let&#8217;s start by defining what linear regression is. </h3>



<p class="wp-block-paragraph">Linear Regression is a way to find the relationship between two variables. Your first step is to decide what age range you want to work with. In this case, the two variables are annual income and race.<br></p>



<p class="wp-block-paragraph">The linear regression equation we use is:<br></p>



<p class="wp-block-paragraph"><strong>Annual Income = a+b* Race+c* Gender+d* Age</strong><br></p>



<p class="wp-block-paragraph">The goal is to find the value of a,b, c, and d. In this case, the goal is to find out how much people make based on their race, gender, and age.</p>



<h2 class="wp-block-heading">What is a data point in logistic regression?</h2>



<p class="wp-block-paragraph">As the Wikipedia page for logistic regression has noted,</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p>A data point in statistics usually represents an observation that can be expressed as a pair (x,y), where x is a vector of features and y is a binary class.</p></blockquote>



<p class="wp-block-paragraph">So my first question is:<br>Is a logical what you get when you calculate a probability of 1 from a probability of 0 with given feature vectors in a logistic regression model?</p>



<p class="wp-block-paragraph">That would imply that the logistic regression algorithm is based on the calculation of probabilities of observations being one (1) or zero (0). What was traditionally called a &#8220;classifier&#8221; function.</p>



<p class="wp-block-paragraph"><strong>Please read</strong> <a href="https://www.vproexpert.com/what-is-logistic-regression-and-how-does-it-work/" target="_blank" rel="noreferrer noopener">how the Logistic Regression algorithm works</a>.</p>



<p class="wp-block-paragraph">Now you know what a data point is. <strong>A data point is a discrete informational unit. In a broad sense, a data point is a single fact. Data point is essentially synonymous with datum, the singular form of data.</strong></p>



<p class="wp-block-paragraph">If you are good at SEO, you can collect data for your dataset using <a href="https://netpeaksoftware.com/spider" target="_blank" rel="noreferrer noopener">Netpeak Spider</a> or <a href="https://sitebulb.com/" target="_blank" rel="noreferrer noopener">SiteBulb</a>.</p>



<p class="wp-block-paragraph">If you&#8217;re a newbie to ML and data mining, you may try Orange Software datasets.</p>
<p>Сообщение <a href="https://www.vproexpert.com/what-is-a-data-point-in-a-machine-learning-model/">What is a data point in a machine learning model?</a> появились сначала на <a href="https://www.vproexpert.com">VProexpert</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.vproexpert.com/what-is-a-data-point-in-a-machine-learning-model/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>The main steps of machine learning</title>
		<link>https://www.vproexpert.com/the-main-steps-of-machine-learning/</link>
					<comments>https://www.vproexpert.com/the-main-steps-of-machine-learning/#respond</comments>
		
		<dc:creator><![CDATA[John Morris]]></dc:creator>
		<pubDate>Sun, 29 Nov 2020 09:25:27 +0000</pubDate>
				<category><![CDATA[Machine learning]]></category>
		<category><![CDATA[ML]]></category>
		<guid isPermaLink="false">https://www.vproexpert.com/?p=416</guid>

					<description><![CDATA[<p>From detecting skin cancer to sorting cucumbers to detecting escalators in need of repair, machine learning has granted computer systems entirely new abilities. But how does it really work under the hood? Let&#8217;s walk through a basic example and use it as an excuse to talk about the process of getting answers from your data [&#8230;]</p>
<p>Сообщение <a href="https://www.vproexpert.com/the-main-steps-of-machine-learning/">The main steps of machine learning</a> появились сначала на <a href="https://www.vproexpert.com">VProexpert</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong>From detecting skin cancer to sorting cucumbers to detecting escalators in need of repair, <a href="https://www.vproexpert.com/doing-how-to-learn-machine-learning-the-right-way/" target="_blank" rel="noreferrer noopener">machine learning</a> has granted computer systems entirely new abilities. But how does it really work under the hood? </strong></p>



<p class="wp-block-paragraph">Let&#8217;s walk through a basic example and use it as an excuse to talk about the process of getting answers from your data using machine learning. </p>



<h2 class="wp-block-heading">7 simple steps of Machine Learning</h2>



<p class="wp-block-paragraph">Let&#8217;s pretend that we&#8217;ve been asked to create a system that answers the question of whether a drink is wine or beer. This question answering system that we build is called a model, and this model is created via a process called training. In machine learning, the goal of training is to create an accurate model that answers our questions correctly most of the time. But in order to train the model, we need to collect data to train on. This is where we will begin. </p>



<p class="wp-block-paragraph">Our data will be collected from glasses of wine and beer. There are many aspects of drinks that we could collect data on everything from the amount of foam to the shape of the glass. But for our purposes, we&#8217;ll just pick two simple ones &#8211; the color as a wavelength of light and the alcohol content as a percentage. The hope is that we can split our two types of drinks along these two factors alone. </p>



<p class="wp-block-paragraph">We&#8217;ll call these our features from now on color and alcohol. The first step to our process will be to run out to the local grocery store, buy up a bunch of different drinks, and get some equipment to do our measurements a spectrometer for measuring the color and a hydrometer to measure the alcohol content. It appears that our grocery store has an electronics hardware section as well. </p>



<p class="wp-block-paragraph">Once our equipment and then booze we got it all set up it&#8217;s time for our first real step of machine learning.</p>



<h3 class="wp-block-heading">Gathering that data</h3>



<p class="wp-block-paragraph">This step is very important because the quality and quantity of data that you gather will directly determine how good your predictive model can be. </p>



<p class="wp-block-paragraph">In this case, the data we collect will be the color and alcohol content of each drink. This will yield us a table of color, alcohol content, and whether it&#8217;s beer or wine. </p>



<p class="wp-block-paragraph">This will be our training data. So a few hours of measurements later, we&#8217;ve gathered our training data and had a few drinks, perhaps. And now it&#8217;s time for our next step of machine learning</p>



<h3 class="wp-block-heading">Data preparation</h3>



<p class="wp-block-paragraph">Where we load our data into a suitable place and prepare it for use in our machine learning training. </p>



<p class="wp-block-paragraph">We&#8217;ll first put all our data together then randomize the ordering. We wouldn&#8217;t want the order of our data to affect how we learn since that&#8217;s not part of determining whether a drink is beer or wine. </p>



<div class="wp-block-image"><figure class="aligncenter size-medium is-resized"><img decoding="async" src="https://www.vproexpert.com/wp-content/uploads/2020/11/Data-preparation-279x300.jpg" alt="Data preparation" class="wp-image-422" width="575" height="618" srcset="https://www.vproexpert.com/wp-content/uploads/2020/11/Data-preparation-279x300.jpg 279w, https://www.vproexpert.com/wp-content/uploads/2020/11/Data-preparation-768x825.jpg 768w, https://www.vproexpert.com/wp-content/uploads/2020/11/Data-preparation.jpg 869w" sizes="(max-width: 575px) 100vw, 575px" /><figcaption>Data preparation</figcaption></figure></div>



<p class="wp-block-paragraph">In other words, we want to make a determination of what a drink is independent of what drink came before or after it in the sequence. This is also a good time to do any pertinent visualizations of your data, helping you see if there is any relevant relationships between different variables as well as show you if there are any data imbalances. </p>



<p class="wp-block-paragraph">For instance, if we collected way more data points about beer than wine, the model we train will be heavily biased toward guessing that virtually everything that it sees is beer since it would be right most of the time. </p>



<p class="wp-block-paragraph">However, in the real world, the model may see beer and wine in equal amount, which would mean that it would be guessing beer wrong half the time. We also need to split the data into two parts. </p>



<p class="wp-block-paragraph">The first part used in training our model will be the majority of our dataset. </p>



<p class="wp-block-paragraph">The second part will be used for evaluating our train model&#8217;s performance. We don&#8217;t want to use the same data that the model was trained on for evaluation since then it would just be able to memorize the questions, just as you wouldn&#8217;t want to use the questions from your math homework on the math exam. </p>



<p class="wp-block-paragraph">Sometimes the data we collected needs other forms of adjusting and manipulation&#8211; things like duplication, normalization, error correction, and others. These would all happen at the data preparation step. In our case, we don&#8217;t have any further data preparation needs, so let&#8217;s move on forward.</p>



<h3 class="wp-block-heading">The next step in our workflow is choosing a model</h3>



<p class="wp-block-paragraph">There are many models that researchers and data scientists have created over the years. Some are very well suited for image data, others for sequences, such as text or music, some for numerical data, and others for text-based data. In our case, we have just two features &#8211; color and alcohol percentage. </p>



<div class="wp-block-image"><figure class="aligncenter size-medium is-resized"><img decoding="async" src="https://www.vproexpert.com/wp-content/uploads/2020/11/choosing-a-model-300x284.jpg" alt="Choosing a model" class="wp-image-423" width="580" height="549" srcset="https://www.vproexpert.com/wp-content/uploads/2020/11/choosing-a-model-300x284.jpg 300w, https://www.vproexpert.com/wp-content/uploads/2020/11/choosing-a-model-768x727.jpg 768w, https://www.vproexpert.com/wp-content/uploads/2020/11/choosing-a-model.jpg 969w" sizes="(max-width: 580px) 100vw, 580px" /><figcaption>Choosing a model</figcaption></figure></div>



<p class="wp-block-paragraph">We can use a small linear model, which is a fairly simple one that will get the job done. Now we move on to what is often considered the bulk of machine learning</p>



<h3 class="wp-block-heading">The training</h3>



<p class="wp-block-paragraph">In this step, we&#8217;ll use our data to incrementally improve our model&#8217;s ability to predict whether a given drink is wine or beer. In some ways, this is similar to someone first learning to drive. </p>



<p class="wp-block-paragraph">At first, they don&#8217;t know how any of the pedals, knobs, and switches work or when they should be pressed or used. However, after lots of practice and correcting for their mistakes, a licensed driver emerges. </p>



<div class="wp-block-image"><figure class="aligncenter size-medium is-resized"><img loading="lazy" decoding="async" src="https://www.vproexpert.com/wp-content/uploads/2020/11/Training-300x276.jpg" alt="Training model" class="wp-image-425" width="574" height="528" srcset="https://www.vproexpert.com/wp-content/uploads/2020/11/Training-300x276.jpg 300w, https://www.vproexpert.com/wp-content/uploads/2020/11/Training-768x705.jpg 768w, https://www.vproexpert.com/wp-content/uploads/2020/11/Training.jpg 956w" sizes="auto, (max-width: 574px) 100vw, 574px" /><figcaption>Training model</figcaption></figure></div>



<p class="wp-block-paragraph">Moreover, after a year of driving, they&#8217;ve become quite adept at driving. The act of driving and reacting to real-world data has adapted their driving abilities, honing their skills. We will do this on a much smaller scale with our drinks. In particular, the formula for a straight line is y equals mx plus b, where x is the input, m is the slope of the line, b is the y-intercept, and y is the value of the line at that position x. </p>



<p class="wp-block-paragraph">The values we have available to us to adjust or train are just m and b, where the m is that slope and b is the y-intercept. There is no other way to affect the position of the line since the only other variables are x, our input, and y, our output. In machine learning, there are many m&#8217;s since there may be many features. </p>



<p class="wp-block-paragraph">The collection of these values is usually formed into a matrix that is denoted w for the weights matrix. Similarly, for b, we arranged them together, and that&#8217;s called the biases. The training process involves initializing some random values for w and b and attempting to predict the outputs with those values. </p>



<p class="wp-block-paragraph">As you might imagine, it does pretty poorly at first, but we can compare our model&#8217;s predictions with the output that it should have produced and adjust the values in w and b such that we will have more accurate predictions on the next time around. So this process then repeats. </p>



<p class="wp-block-paragraph">Each iteration or cycle of updating the weights and biases is called one training step. So let&#8217;s look at what that means more concretely for our dataset. When we first start the training, it&#8217;s like we drew a random line through the data. </p>



<p class="wp-block-paragraph">Then as each step of the training progresses, the line moves step by step closer to the ideal separation of the wine and beer. Once training is complete, it&#8217;s time to see if the model is any good. </p>



<p class="wp-block-paragraph">Using evaluation, this is where that dataset that we set aside earlier comes into play. Evaluation allows us to test our model against data that has never been used for training. This metric allows us to see how the model might perform against data that it has not yet seen. This is meant to be representative of how the model might perform in the real world. </p>



<h3 class="wp-block-heading">Training-evaluation split</h3>



<p class="wp-block-paragraph">A good rule of thumb I use for a training-evaluation split is somewhere on the order of 80%-20% or 70%-30%. Much of this depends on the size of the original source dataset. </p>



<div class="wp-block-image"><figure class="aligncenter size-medium is-resized"><img loading="lazy" decoding="async" src="https://www.vproexpert.com/wp-content/uploads/2020/11/Training-evaluation-split-300x276.jpg" alt="Training-evaluation split" class="wp-image-427" width="582" height="535" srcset="https://www.vproexpert.com/wp-content/uploads/2020/11/Training-evaluation-split-300x276.jpg 300w, https://www.vproexpert.com/wp-content/uploads/2020/11/Training-evaluation-split-768x706.jpg 768w, https://www.vproexpert.com/wp-content/uploads/2020/11/Training-evaluation-split.jpg 941w" sizes="auto, (max-width: 582px) 100vw, 582px" /><figcaption>Training-evaluation split</figcaption></figure></div>



<p class="wp-block-paragraph">If you have a lot of data, perhaps you don&#8217;t need as big of a fraction for the evaluation dataset. </p>



<h3 class="wp-block-heading">Parameter tuning</h3>



<p class="wp-block-paragraph">Once you&#8217;ve done evaluation, it&#8217;s possible that you want to see if you can further improve your training in any way. We can do this by tuning some of our parameters. There were a few that we implicitly assumed when we did our training, and now is a good time to go back and test those assumptions, try other values. </p>



<p class="wp-block-paragraph">One example of a parameter we can tune is how many times we run through the training set during training. We can actually show the data multiple times. So by doing that, we will potentially lead to higher accuracies. </p>



<div class="wp-block-image"><figure class="aligncenter size-medium is-resized"><img loading="lazy" decoding="async" src="https://www.vproexpert.com/wp-content/uploads/2020/11/Parameter-tuning-300x272.jpg" alt="Parameter tuning" class="wp-image-430" width="581" height="527" srcset="https://www.vproexpert.com/wp-content/uploads/2020/11/Parameter-tuning-300x272.jpg 300w, https://www.vproexpert.com/wp-content/uploads/2020/11/Parameter-tuning.jpg 611w" sizes="auto, (max-width: 581px) 100vw, 581px" /><figcaption>Parameter tuning</figcaption></figure></div>



<p class="wp-block-paragraph">Another parameter is learning rate. This defines how far we shift the line during each step based on the information from the previous training step. These values all play a role in how accurate our model can become and how long the training takes.</p>



<p class="wp-block-paragraph">For more complex models, initial conditions can play a significant role as well in determining the outcome of training. Differences can be seen depending on whether a model starts off training with values initialized at zeros versus some distribution of the values and what that distribution is.</p>



<p class="wp-block-paragraph">As you can see, there are many considerations at this phase of training, and it&#8217;s important that you define what makes a model good enough for you. Otherwise, we might find ourselves tweaking parameters for a very long time. Now, these parameters are typically referred to as hyperparameters. </p>



<p class="wp-block-paragraph"><a href="https://www.vproexpert.com/machine-learning-model-validation/" target="_blank" rel="noreferrer noopener">The adjustment or tuning</a> of these hyperparameters still remains a bit more of an art than a science, and it&#8217;s an experimental process that heavily depends on the specifics of your dataset, model, and training process. Once you&#8217;re happy with your training and hyperparameters, guided by the evaluation step, it&#8217;s finally time to use your model to do something useful. </p>



<h3 class="wp-block-heading">Prediction</h3>



<p class="wp-block-paragraph">Machine learning is using data to answer questions, so prediction or inference is that step where we finally get to answer some questions. This is the point of all of this work where the value of machine learning is realized. We can finally use our model to predict whether a given drink is wine or beer, given its color and alcohol percentage. </p>



<p class="wp-block-paragraph">The power of machine learning is that we were able to determine how to differentiate between wine and beer using our model rather than using human judgment and manual rules. </p>



<div class="wp-block-image"><figure class="aligncenter size-medium is-resized"><img loading="lazy" decoding="async" src="https://www.vproexpert.com/wp-content/uploads/2020/11/Prediction-300x274.jpg" alt="Prediction" class="wp-image-431" width="577" height="527" srcset="https://www.vproexpert.com/wp-content/uploads/2020/11/Prediction-300x274.jpg 300w, https://www.vproexpert.com/wp-content/uploads/2020/11/Prediction-768x700.jpg 768w, https://www.vproexpert.com/wp-content/uploads/2020/11/Prediction.jpg 931w" sizes="auto, (max-width: 577px) 100vw, 577px" /><figcaption>Prediction</figcaption></figure></div>



<p class="wp-block-paragraph">You can extrapolate the ideas presented today to other problem domains as well, where the same principles apply.</p>



<p class="wp-block-paragraph">If you&#8217;re looking for more ways to play with training and parameters, check out the <a href="https://bigml.com/" target="_blank" rel="noreferrer noopener nofollow">BigML</a>. It&#8217;s a completely browser-based machine learning tool, where you can try different parameters and run training against mock datasets. </p>



<p class="wp-block-paragraph">And don&#8217;t worry, you can&#8217;t break the site. Of course, we will encounter more steps and nuances in future episodes, but this serves as a good foundational framework to help us think through the problem, giving us a common language to think about each step and go deeper in the future. </p>
<p>Сообщение <a href="https://www.vproexpert.com/the-main-steps-of-machine-learning/">The main steps of machine learning</a> появились сначала на <a href="https://www.vproexpert.com">VProexpert</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.vproexpert.com/the-main-steps-of-machine-learning/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is the difference between supervised and unsupervised machine learning?</title>
		<link>https://www.vproexpert.com/what-is-the-difference-between-supervised-and-unsupervised-machine-learning/</link>
					<comments>https://www.vproexpert.com/what-is-the-difference-between-supervised-and-unsupervised-machine-learning/#comments</comments>
		
		<dc:creator><![CDATA[John Morris]]></dc:creator>
		<pubDate>Sun, 20 Sep 2020 10:31:28 +0000</pubDate>
				<category><![CDATA[Machine learning]]></category>
		<category><![CDATA[ML]]></category>
		<guid isPermaLink="false">https://www.vproexpert.com/?p=225</guid>

					<description><![CDATA[<p>I have been already writing about two main classes of machine learning are unsupervised and supervised. Let&#8217;s talk about this in more detail. Explanation of what is the difference between supervised and unsupervised machine learning. In supervised machine learning algorithms, we have to provide labelled data, for example, prediction of stock market prices, whereas in [&#8230;]</p>
<p>Сообщение <a href="https://www.vproexpert.com/what-is-the-difference-between-supervised-and-unsupervised-machine-learning/">What is the difference between supervised and unsupervised machine learning?</a> появились сначала на <a href="https://www.vproexpert.com">VProexpert</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">I have been already <a href="https://www.vproexpert.com/doing-how-to-learn-machine-learning-the-right-way/" target="_blank" rel="noreferrer noopener">writing</a> about two main classes of machine learning are unsupervised and supervised. Let&#8217;s talk about this in more detail.</p>



<h2 class="has-text-align-center wp-block-heading"><strong>Explanation of what is the difference between supervised and unsupervised machine learning.</strong></h2>



<p class="wp-block-paragraph">In supervised <a href="https://www.vproexpert.com/sccm_vpro/module_08/module_08.html" target="_blank" rel="noreferrer noopener">machine learning</a> algorithms, we have to provide labelled data, for example, prediction of stock market prices, whereas in unsupervised we need not have labelled data, for example, classification of emails into spam and non-spam. </p>



<p class="wp-block-paragraph">The difference is that if we feed unlabelled data into a supervised algorithm, it might misclassify some data. For example, if we classify all emails by the content, rather than the sender&#8217;s name, we may incorrectly classify a message containing human-readable information as spam. </p>



<p class="wp-block-paragraph"><strong>So, in unsupervised learning algorithms, we have to first identify the features that allow classifying an email as spam and then feed in that data to the algorithm.</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="576" src="https://www.vproexpert.com/wp-content/uploads/2020/09/supervised-and-unsupervised-1024x576.jpg" alt="Difference between supervised and unsupervised Machine Learning." class="wp-image-227" srcset="https://www.vproexpert.com/wp-content/uploads/2020/09/supervised-and-unsupervised-1024x576.jpg 1024w, https://www.vproexpert.com/wp-content/uploads/2020/09/supervised-and-unsupervised-300x169.jpg 300w, https://www.vproexpert.com/wp-content/uploads/2020/09/supervised-and-unsupervised-768x432.jpg 768w, https://www.vproexpert.com/wp-content/uploads/2020/09/supervised-and-unsupervised.jpg 1280w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption><em>Difference between supervised and unsupervised Machine Learning.</em></figcaption></figure>



<h2 class="has-text-align-center wp-block-heading">Is supervised learning more difficult to implement?</h2>



<p class="wp-block-paragraph">Supervised learning is definitely more difficult to implement as the algorithms used to carry out the calculations are highly complicated. But as the datasets become larger, using unsupervised learning algorithms becomes more efficient because you can efficiently use more data to carry out the same calculation. </p>



<p class="wp-block-paragraph">In unsupervised learning algorithms, you only need a few samples or training data, and if the data is good enough to detect a pattern, the algorithm will converge to the correct answer.</p>



<h2 class="has-text-align-center wp-block-heading">What are some advantages of unsupervised learning?</h2>



<p class="wp-block-paragraph">On one hand, it is more efficient, meaning that an algorithm can process more data in a shorter period of time. </p>



<p class="wp-block-paragraph">On the other hand, we do not need to share or transfer labelled data with other people because the unsupervised algorithm can learn by itself. That is why unsupervised learning is essential for AI applications.</p>



<h2 class="has-text-align-center wp-block-heading">Which universities around the world are leading the way?</h2>



<p class="wp-block-paragraph">There are more than a hundred universities around the world that are developing unsupervised learning. </p>



<p class="wp-block-paragraph">China and the United States are the leading players, and we see that the major companies in the AI space use unsupervised learning algorithms.</p>
<p>Сообщение <a href="https://www.vproexpert.com/what-is-the-difference-between-supervised-and-unsupervised-machine-learning/">What is the difference between supervised and unsupervised machine learning?</a> появились сначала на <a href="https://www.vproexpert.com">VProexpert</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.vproexpert.com/what-is-the-difference-between-supervised-and-unsupervised-machine-learning/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
		<item>
		<title>Machine Learning: Model Validation</title>
		<link>https://www.vproexpert.com/machine-learning-model-validation/</link>
					<comments>https://www.vproexpert.com/machine-learning-model-validation/#respond</comments>
		
		<dc:creator><![CDATA[John Morris]]></dc:creator>
		<pubDate>Sat, 19 Sep 2020 07:46:00 +0000</pubDate>
				<category><![CDATA[Machine learning]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[ML]]></category>
		<guid isPermaLink="false">https://www.vproexpert.com/?p=211</guid>

					<description><![CDATA[<p>Calculating model accuracy is a critical part of any machine learning project yet many data science tools make it difficult or impossible to assess the true accuracy of a model. It is clear that validating machine learning models is a very difficult task. For instance, how would one validate an advanced artificial intelligence (AI) system? [&#8230;]</p>
<p>Сообщение <a href="https://www.vproexpert.com/machine-learning-model-validation/">Machine Learning: Model Validation</a> появились сначала на <a href="https://www.vproexpert.com">VProexpert</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Calculating <a href="https://www.vproexpert.com/sccm_vpro/module_08/module_08.html" target="_blank" rel="noreferrer noopener">model</a> accuracy is a critical part of any machine learning project yet many data science tools make it difficult or impossible to assess the true accuracy of a model.</p>



<p class="wp-block-paragraph">It is clear that validating machine learning models is a very difficult task. For instance, how would one validate an advanced <a href="https://www.vproexpert.com/doing-how-to-learn-machine-learning-the-right-way/" target="_blank" rel="noreferrer noopener">artificial intelligence</a> (AI) system? The AI might be able to answer many questions based on its vast knowledge and experience. However, it may not always be possible for a human to understand the methodologies used by the AI in arriving at certain conclusions or predictions.</p>



<p class="wp-block-paragraph">In machine learning, model validation is referred to as the process where a trained model is evaluated with a testing data set. The testing data set is a separate portion of the same data set from which the training set is derived.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p><strong>The basic recipe for applying a supervised machine learning model are:</strong><br>* Choose a class of model<br>* Choose model hyper parameters<br>* Fit the model to the training data<br>* Use the model to predict labels for new data<br>From <a href="https://www.oreilly.com/library/view/python-data-science/9781491912126/" target="_blank" rel="noreferrer noopener nofollow">Python Data Science Handbook</a> by Jake VanderPlas</p></blockquote>



<p class="wp-block-paragraph">In my opinion, cross-validation is the best technique for evaluating the efficiency of an individual data set on a statistical prediction model. The goal is to make sure that the model and the data fit together well. During the training process, cross-validation is performed where the user can determine whether the model is prone to underfitting or overfitting the data. For the goal variable, the data to be used for cross-validation must be from the same distribution, or else we will confuse ourselves on how the model will behave in real life.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="565" src="https://www.vproexpert.com/wp-content/uploads/2020/09/dataset.jpg" alt="How to Correctly Validate Machine Learning Models" class="wp-image-218" srcset="https://www.vproexpert.com/wp-content/uploads/2020/09/dataset.jpg 1024w, https://www.vproexpert.com/wp-content/uploads/2020/09/dataset-300x166.jpg 300w, https://www.vproexpert.com/wp-content/uploads/2020/09/dataset-768x424.jpg 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption><em>Cross-validation is the best technique for evaluating the efficiency of an individual data set on a statistical prediction model.</em></figcaption></figure>



<p class="wp-block-paragraph">The best way to validate Machine Learning models is through real-time data.</p>



<p class="wp-block-paragraph">As the ML model learns from data, it will keep on updating itself to reflect new information.</p>



<p class="wp-block-paragraph">If we have real-time data from the environment, the ML model should be able to predict what is going to happen next.</p>



<h2 class="has-text-align-center wp-block-heading">If the model can make predictions, then we validate it. </h2>



<p class="wp-block-paragraph">If the <a href="https://www.vproexpert.com/sccm_vpro/module_04/module_04.html" target="_blank" rel="noreferrer noopener">predictions</a> turn out to be inaccurate, then we can change the ML model and make it more accurate.</p>



<p class="wp-block-paragraph">Imagine that there is a situation where we want to predict the future stock prices of Google, Microsoft, and Apple or consider a simple machine learning model that predicts the movement of a ball as it drops.</p>



<p class="wp-block-paragraph">Given its very limited experience with such predictions, one might say that this particular machine learning model is only correct 50% of the time. However, if this same model were used to make predictions regarding the flight path of an airplane in real-time, then such inaccuracy could have serious consequences.</p>



<p class="wp-block-paragraph">It is also worth mentioning that the human mind itself can only make predictions based on its own experiences. And yet, a human might think that his or her predictions are always accurate. In fact, we often hear people say things like, &#8216;I knew it all along&#8217; or &#8216;it had to happen this way.&#8217; However, these behaviors do not indicate true knowledge and understanding at all.</p>



<p class="wp-block-paragraph">In summary, humans often do not fully understand the nature of knowledge and belief. They can never really know if their conclusions are correct or incorrect.</p>



<p class="wp-block-paragraph">An advanced AI system may be able to deduce certain conclusions and make predictions with greater accuracy than a human ever could. However, if such an AI were to claim certainty in its knowledge, one might say that it is only correct 80% of the time.</p>



<p class="wp-block-paragraph">In fact, we might say that humans are correct 10% of the time, while an advanced AI is only correct 100% of the time. Of course, this assumes there is no chance for error in the system&#8217;s data or algorithms.</p>



<p class="wp-block-paragraph">I think it is rather difficult to assess exactly how accurate models are. We can use standard statistical tools for assessing model accuracy of course, but I feel that these do not account for all the relevant considerations.</p>



<p class="wp-block-paragraph">I am not sure whether all those considerations are really relevant to assessing model accuracy and I would like to know what other people think about this.</p>
<p>Сообщение <a href="https://www.vproexpert.com/machine-learning-model-validation/">Machine Learning: Model Validation</a> появились сначала на <a href="https://www.vproexpert.com">VProexpert</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.vproexpert.com/machine-learning-model-validation/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
