Repository navigation
Expand file tree
/
Copy pathunsupervised-learning.html
More file actions
242 lines (204 loc) · 14.6 KB
/
Copy pathunsupervised-learning.html
File metadata and controls
242 lines (204 loc) · 14.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
<!DOCTYPE html>
<html lang="" xml:lang="">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Chapter 10 Unsupervised Learning | Basic Statistical Computing and Data Science Using R</title>
<meta name="description" content="Chapter 10 Unsupervised Learning | Basic Statistical Computing and Data Science Using R" />
<meta name="generator" content="bookdown 0.33 and GitBook 2.6.7" />
<meta property="og:title" content="Chapter 10 Unsupervised Learning | Basic Statistical Computing and Data Science Using R" />
<meta property="og:type" content="book" />
<meta property="og:image" content="/Title_Page.png" />
<meta name="github-repo" content="rstudio/bookdown-demo" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="Chapter 10 Unsupervised Learning | Basic Statistical Computing and Data Science Using R" />
<meta name="twitter:image" content="/Title_Page.png" />
<meta name="author" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<link rel="prev" href="ggplot2.html"/>
<link rel="next" href="k-means-clustering.html"/>
<script src="libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
<link href="libs/gitbook-2.6.7/css/style.css" rel="stylesheet" />
<link href="libs/gitbook-2.6.7/css/plugin-table.css" rel="stylesheet" />
<link href="libs/gitbook-2.6.7/css/plugin-bookdown.css" rel="stylesheet" />
<link href="libs/gitbook-2.6.7/css/plugin-highlight.css" rel="stylesheet" />
<link href="libs/gitbook-2.6.7/css/plugin-search.css" rel="stylesheet" />
<link href="libs/gitbook-2.6.7/css/plugin-fontsettings.css" rel="stylesheet" />
<link href="libs/gitbook-2.6.7/css/plugin-clipboard.css" rel="stylesheet" />
<link href="libs/anchor-sections-1.1.0/anchor-sections.css" rel="stylesheet" />
<link href="libs/anchor-sections-1.1.0/anchor-sections-hash.css" rel="stylesheet" />
<script src="libs/anchor-sections-1.1.0/anchor-sections.js"></script>
<link rel="stylesheet" href="style.css" type="text/css" />
</head>
<body>
<div class="book without-animation with-summary font-size-2 font-family-1" data-basepath=".">
<div class="book-summary">
<nav role="navigation">
<ul class="summary">
<li><a href="./">Data Science with R</a></li>
<li class="divider"></li>
<li><a href="index.html#section" id="toc-section"></a></li>
<li class="part"><span><b>I The Basics</b></span></li>
<li class="chapter" data-level="1" data-path="basic-installation.html"><a href="basic-installation.html"><i class="fa fa-check"></i><b>1</b> Basic Installation</a>
<ul>
<li class="chapter" data-level="1.1" data-path="basic-installation.html"><a href="basic-installation.html#r-and-rstudio"><i class="fa fa-check"></i><b>1.1</b> R and RStudio</a></li>
<li class="chapter" data-level="1.2" data-path="basic-installation.html"><a href="basic-installation.html#latex"><i class="fa fa-check"></i><b>1.2</b> LateX</a></li>
<li class="chapter" data-level="1.3" data-path="basic-installation.html"><a href="basic-installation.html#orientation"><i class="fa fa-check"></i><b>1.3</b> Orientation</a></li>
<li class="chapter" data-level="1.4" data-path="basic-installation.html"><a href="basic-installation.html#libraries-in-r"><i class="fa fa-check"></i><b>1.4</b> Libraries in R</a></li>
<li class="chapter" data-level="1.5" data-path="basic-installation.html"><a href="basic-installation.html#markdown"><i class="fa fa-check"></i><b>1.5</b> Markdown</a></li>
</ul></li>
<li class="chapter" data-level="2" data-path="vectors-matrices-other-grouped-data.html"><a href="vectors-matrices-other-grouped-data.html"><i class="fa fa-check"></i><b>2</b> Vectors, Matrices & Other Grouped Data</a>
<ul>
<li class="chapter" data-level="2.1" data-path="vectors-matrices-other-grouped-data.html"><a href="vectors-matrices-other-grouped-data.html#vectors"><i class="fa fa-check"></i><b>2.1</b> Vectors</a></li>
<li class="chapter" data-level="2.2" data-path="vectors-matrices-other-grouped-data.html"><a href="vectors-matrices-other-grouped-data.html#matrices"><i class="fa fa-check"></i><b>2.2</b> Matrices</a></li>
<li class="chapter" data-level="2.3" data-path="vectors-matrices-other-grouped-data.html"><a href="vectors-matrices-other-grouped-data.html#lists"><i class="fa fa-check"></i><b>2.3</b> Lists</a></li>
<li class="chapter" data-level="2.4" data-path="vectors-matrices-other-grouped-data.html"><a href="vectors-matrices-other-grouped-data.html#data-frames"><i class="fa fa-check"></i><b>2.4</b> Data Frames</a></li>
<li class="chapter" data-level="2.5" data-path="vectors-matrices-other-grouped-data.html"><a href="vectors-matrices-other-grouped-data.html#data-from-external-sources"><i class="fa fa-check"></i><b>2.5</b> Data From External Sources</a></li>
</ul></li>
<li class="part"><span><b>II Some Basic Probability and Statistics</b></span></li>
<li class="chapter" data-level="3" data-path="learning-about-the-data.html"><a href="learning-about-the-data.html"><i class="fa fa-check"></i><b>3</b> Learning About the Data</a>
<ul>
<li class="chapter" data-level="3.1" data-path="learning-about-the-data.html"><a href="learning-about-the-data.html#qualitative-data-visualization"><i class="fa fa-check"></i><b>3.1</b> Qualitative Data Visualization</a></li>
<li class="chapter" data-level="3.2" data-path="learning-about-the-data.html"><a href="learning-about-the-data.html#quantatiative-data-visualization"><i class="fa fa-check"></i><b>3.2</b> Quantatiative Data Visualization</a></li>
<li class="chapter" data-level="3.3" data-path="learning-about-the-data.html"><a href="learning-about-the-data.html#descriptive-statistics"><i class="fa fa-check"></i><b>3.3</b> Descriptive Statistics</a>
<ul>
<li class="chapter" data-level="3.3.1" data-path="learning-about-the-data.html"><a href="learning-about-the-data.html#measures-of-central-tendency"><i class="fa fa-check"></i><b>3.3.1</b> Measures of Central Tendency</a></li>
<li class="chapter" data-level="3.3.2" data-path="learning-about-the-data.html"><a href="learning-about-the-data.html#measures-of-spread"><i class="fa fa-check"></i><b>3.3.2</b> Measures of Spread</a></li>
</ul></li>
</ul></li>
<li class="chapter" data-level="4" data-path="probability-distributions.html"><a href="probability-distributions.html"><i class="fa fa-check"></i><b>4</b> Probability Distributions</a>
<ul>
<li class="chapter" data-level="4.1" data-path="probability-distributions.html"><a href="probability-distributions.html#definition-of-probability-distributions"><i class="fa fa-check"></i><b>4.1</b> Definition of Probability Distributions</a></li>
<li class="chapter" data-level="4.2" data-path="probability-distributions.html"><a href="probability-distributions.html#types-of-probability-distributions"><i class="fa fa-check"></i><b>4.2</b> Types of Probability Distributions</a>
<ul>
<li class="chapter" data-level="4.2.1" data-path="probability-distributions.html"><a href="probability-distributions.html#binomial-distribution"><i class="fa fa-check"></i><b>4.2.1</b> Binomial Distribution</a></li>
<li class="chapter" data-level="4.2.2" data-path="probability-distributions.html"><a href="probability-distributions.html#poisson-distribution"><i class="fa fa-check"></i><b>4.2.2</b> Poisson Distribution</a></li>
<li class="chapter" data-level="4.2.3" data-path="probability-distributions.html"><a href="probability-distributions.html#geometric-distribution"><i class="fa fa-check"></i><b>4.2.3</b> Geometric Distribution</a></li>
<li class="chapter" data-level="4.2.4" data-path="probability-distributions.html"><a href="probability-distributions.html#the-normal-distribution"><i class="fa fa-check"></i><b>4.2.4</b> The Normal Distribution</a></li>
<li class="chapter" data-level="4.2.5" data-path="probability-distributions.html"><a href="probability-distributions.html#exponential-distribution"><i class="fa fa-check"></i><b>4.2.5</b> Exponential Distribution</a></li>
</ul></li>
<li class="chapter" data-level="4.3" data-path="probability-distributions.html"><a href="probability-distributions.html#uniform-distribution"><i class="fa fa-check"></i><b>4.3</b> Uniform Distribution</a></li>
</ul></li>
<li class="chapter" data-level="5" data-path="hypothesis-testing.html"><a href="hypothesis-testing.html"><i class="fa fa-check"></i><b>5</b> Hypothesis Testing</a></li>
<li class="part"><span><b>III Creating Codebooks</b></span></li>
<li class="chapter" data-level="6" data-path="missing-data.html"><a href="missing-data.html"><i class="fa fa-check"></i><b>6</b> Missing Data</a>
<ul>
<li class="chapter" data-level="6.1" data-path="missing-data.html"><a href="missing-data.html#dealing-with-missing-data"><i class="fa fa-check"></i><b>6.1</b> Dealing with Missing Data</a></li>
<li class="chapter" data-level="6.2" data-path="missing-data.html"><a href="missing-data.html#types-of-missing-data"><i class="fa fa-check"></i><b>6.2</b> Types of Missing Data</a></li>
</ul></li>
<li class="chapter" data-level="7" data-path="data-dictionaries.html"><a href="data-dictionaries.html"><i class="fa fa-check"></i><b>7</b> Data Dictionaries</a>
<ul>
<li class="chapter" data-level="7.1" data-path="data-dictionaries.html"><a href="data-dictionaries.html#purpose-of-a-data-dictionary"><i class="fa fa-check"></i><b>7.1</b> Purpose of a Data Dictionary</a></li>
<li class="chapter" data-level="7.2" data-path="data-dictionaries.html"><a href="data-dictionaries.html#components-of-a-data-dictionary"><i class="fa fa-check"></i><b>7.2</b> Components of a Data Dictionary</a></li>
<li class="chapter" data-level="7.3" data-path="data-dictionaries.html"><a href="data-dictionaries.html#benefits-of-using-a-data-dictionary"><i class="fa fa-check"></i><b>7.3</b> Benefits of Using a Data Dictionary</a></li>
<li class="chapter" data-level="7.4" data-path="data-dictionaries.html"><a href="data-dictionaries.html#examples"><i class="fa fa-check"></i><b>7.4</b> Examples</a></li>
</ul></li>
<li class="part"><span><b>IV The Tidyverse</b></span></li>
<li class="chapter" data-level="8" data-path="dplyr.html"><a href="dplyr.html"><i class="fa fa-check"></i><b>8</b> dplyr</a></li>
<li class="chapter" data-level="9" data-path="ggplot2.html"><a href="ggplot2.html"><i class="fa fa-check"></i><b>9</b> ggplot2</a></li>
<li class="part"><span><b>V Unsupervised Learning</b></span></li>
<li class="chapter" data-level="10" data-path="unsupervised-learning.html"><a href="unsupervised-learning.html"><i class="fa fa-check"></i><b>10</b> Unsupervised Learning</a></li>
<li class="chapter" data-level="11" data-path="k-means-clustering.html"><a href="k-means-clustering.html"><i class="fa fa-check"></i><b>11</b> K-Means Clustering</a></li>
<li class="chapter" data-level="12" data-path="hierarchical-clustering.html"><a href="hierarchical-clustering.html"><i class="fa fa-check"></i><b>12</b> Hierarchical Clustering</a></li>
</ul>
</nav>
</div>
<div class="book-body">
<div class="body-inner">
<div class="book-header" role="navigation">
<h1>
<i class="fa fa-circle-o-notch fa-spin"></i><a href="./">Basic Statistical Computing and Data Science Using R</a>
</h1>
</div>
<div class="page-wrapper" tabindex="-1" role="main">
<div class="page-inner">
<section class="normal" id="section-">
<div id="unsupervised-learning" class="section level1 hasAnchor" number="10">
<h1><span class="header-section-number">Chapter 10</span> Unsupervised Learning<a href="unsupervised-learning.html#unsupervised-learning" class="anchor-section" aria-label="Anchor link to header"></a></h1>
<p>Unsupervised machine learning is a type of machine learning that deals with finding patterns or relationships in data without explicit guidance or supervision. Unlike supervised learning, unsupervised learning does not rely on labeled data but instead tries to identify inherent patterns or structure in the data. There are several popular unsupervised machine learning techniques including:</p>
<ol style="list-style-type: decimal">
<li>K-means clustering</li>
<li>Hierarchical clustering</li>
<li>Principal Component Analysis (PCA)</li>
<li>Association Rule Learning</li>
<li>Density-Based Clustering</li>
</ol>
<p>The choice of unsupervised learning technique depends on the nature of the data and the specific application requirements.</p>
</div>
</section>
</div>
</div>
</div>
<a href="ggplot2.html" class="navigation navigation-prev " aria-label="Previous page"><i class="fa fa-angle-left"></i></a>
<a href="k-means-clustering.html" class="navigation navigation-next " aria-label="Next page"><i class="fa fa-angle-right"></i></a>
</div>
</div>
<script src="libs/gitbook-2.6.7/js/app.min.js"></script>
<script src="libs/gitbook-2.6.7/js/clipboard.min.js"></script>
<script src="libs/gitbook-2.6.7/js/plugin-search.js"></script>
<script src="libs/gitbook-2.6.7/js/plugin-sharing.js"></script>
<script src="libs/gitbook-2.6.7/js/plugin-fontsettings.js"></script>
<script src="libs/gitbook-2.6.7/js/plugin-bookdown.js"></script>
<script src="libs/gitbook-2.6.7/js/jquery.highlight.js"></script>
<script src="libs/gitbook-2.6.7/js/plugin-clipboard.js"></script>
<script>
gitbook.require(["gitbook"], function(gitbook) {
gitbook.start({
"sharing": {
"github": false,
"facebook": true,
"twitter": true,
"linkedin": false,
"weibo": false,
"instapaper": false,
"vk": false,
"whatsapp": false,
"all": ["facebook", "twitter", "linkedin", "weibo", "instapaper"]
},
"fontsettings": {
"theme": "white",
"family": "sans",
"size": 2
},
"edit": {
"link": "https://github.com/USERNAME/REPO/edit/BRANCH/10-K-Means.Rmd",
"text": "Edit"
},
"history": {
"link": null,
"text": null
},
"view": {
"link": null,
"text": null
},
"download": ["_main.pdf", "_main.epub"],
"search": {
"engine": "fuse",
"options": null
},
"toc": {
"collapse": "subsection"
}
});
});
</script>
<!-- dynamically load mathjax for compatibility with self-contained -->
<script>
(function () {
var script = document.createElement("script");
script.type = "text/javascript";
var src = "true";
if (src === "" || src === "true") src = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.9/latest.js?config=TeX-MML-AM_CHTML";
if (location.protocol !== "file:")
if (/^https?:/.test(src))
src = src.replace(/^https?:/, '');
script.src = src;
document.getElementsByTagName("head")[0].appendChild(script);
})();
</script>
</body>
</html>