<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Ask Ghassem - Recent questions tagged k-means</title>
<link>https://ask.ghassem.com/tag/k-means</link>
<description>Powered by Question2Answer</description>
<item>
<title>How to calculate k-means clustering with a numerical example?</title>
<link>https://ask.ghassem.com/656/how-to-calculate-k-means-clustering-with-numerical-example</link>
<description>&lt;p&gt;Use the k-means algorithm and Euclidean distance to cluster the following 8 examples into 3 clusters:&lt;/p&gt;

&lt;p&gt;$A1=(2,10),&amp;nbsp;A2=(2,5), A3=(8,4), A4=(5,8), A5=(7,5), A6=(6,4), A7=(1,2), A8=(4,9)$.&lt;/p&gt;

&lt;p&gt;Suppose that the initial seeds (centers of each cluster) are $A1$, $A4$ and $A7$. Run the k-means algorithm for 1 epoch only. At the end of this epoch show:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;a)&lt;/strong&gt; The new clusters (i.e. the examples belonging to each cluster)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;b)&lt;/strong&gt; The centers of the new clusters&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;c)&lt;/strong&gt; Draw a 10 by 10 space with all the 8 points and show the clusters after the first epoch and the new centroids.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;d)&lt;/strong&gt; How many more iterations are needed to converge? Draw the result for each epoch&lt;/p&gt;</description>
<category>Machine Learning</category>
<guid isPermaLink="true">https://ask.ghassem.com/656/how-to-calculate-k-means-clustering-with-numerical-example</guid>
<pubDate>Thu, 27 Jun 2019 02:16:32 +0000</pubDate>
</item>
<item>
<title>how to choose the number of clusters based on intertia and based on silhouette using K-means</title>
<link>https://ask.ghassem.com/433/choose-number-clusters-based-intertia-based-silhouette-using</link>
<description>how to choose the number of clusters based on intertia and based on silhouette using K-means</description>
<category>Machine Learning</category>
<guid isPermaLink="true">https://ask.ghassem.com/433/choose-number-clusters-based-intertia-based-silhouette-using</guid>
<pubDate>Sat, 20 Oct 2018 01:04:51 +0000</pubDate>
</item>
<item>
<title>Great Video for K-means and PCA</title>
<link>https://ask.ghassem.com/417/great-video-for-k-means-and-pca</link>
<description>&lt;p&gt;PCA&lt;/p&gt;

&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.youtube.com/watch?v=FgakZw6K1QQ&quot;&gt;https://www.youtube.com/watch?v=FgakZw6K1QQ&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;K-Means&lt;/p&gt;

&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.youtube.com/watch?v=4b5d3muPQmA&amp;amp;index=10&amp;amp;list=PLblh5JKOoLUICTaGLRoHQDuF_7q2GfuJF&amp;amp;t=0s&quot;&gt;https://www.youtube.com/watch?v=4b5d3muPQmA&amp;amp;index=10&amp;amp;list=PLblh5JKOoLUICTaGLRoHQDuF_7q2GfuJF&amp;amp;t=0s&lt;/a&gt;&lt;/p&gt;</description>
<category>Machine Learning</category>
<guid isPermaLink="true">https://ask.ghassem.com/417/great-video-for-k-means-and-pca</guid>
<pubDate>Wed, 17 Oct 2018 13:46:54 +0000</pubDate>
</item>
<item>
<title>What is k-means algorithm and how can we select K for it?</title>
<link>https://ask.ghassem.com/394/what-is-k-means-algorithm-and-how-can-we-select-k-for-it</link>
<description></description>
<category>Machine Learning Interview Questions</category>
<guid isPermaLink="true">https://ask.ghassem.com/394/what-is-k-means-algorithm-and-how-can-we-select-k-for-it</guid>
<pubDate>Mon, 15 Oct 2018 05:49:41 +0000</pubDate>
</item>
<item>
<title>How is KNN different from k-means clustering?</title>
<link>https://ask.ghassem.com/163/how-is-knn-different-from-k-means-clustering</link>
<description></description>
<category>Machine Learning Interview Questions</category>
<guid isPermaLink="true">https://ask.ghassem.com/163/how-is-knn-different-from-k-means-clustering</guid>
<pubDate>Thu, 27 Sep 2018 05:25:34 +0000</pubDate>
</item>
</channel>
</rss>