









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










When to Consider Unsupervised Learning
Common Hard Clustering Algorithms
How it Works Partitions data into k number of mutually exclusive clusters. How well a point fits into a cluster is determined by the distance from that point to the cluster’s center. Best Used...
How It Works Similar to k-means, but with the requirement that the cluster centers coincide with points in the data. Best Used...
Common Hard Clustering Algorithms continued
How it Works Produces nested sets of clusters by analyzing similarities between pairs of points and grouping objects into a binary, hierarchical tree. Best Used...
How It Works Neural-network based clustering that transforms a dataset into a topology-preserving 2D map. Best Used...
Common Soft Clustering Algorithms
How it Works Partition-based clustering when data points may belong to more than one cluster. Best Used...
How It Works Partition-based clustering where data points come from different multivariate normal distributions with certain probabilities. Best Used...
Applying Unsupervised Learning Applying Unsupervised Learning 88 Common Soft Clustering Algorithms continued Example: Using Fuzzy c-Means Clustering to Analyze Gene Expression Data A team of biologists is analyzing gene expression data from microarrays to better understand the genes involved in normal and abnormal cell division. (A gene is said to be “expressed” if it is actively involved in a cellular function such as protein production.) The microarray contains expression data from two tissue samples. The researchers want to compare the samples to determine whether certain patterns of gene expression are implicated in cancer proliferation. After preprocessing the data to remove noise, they cluster the data. Because the same genes can be involved in several biological processes, no single gene is likely to belong to one cluster only. The researchers apply a fuzzy c-means algorithm to the data. They then visualize the clusters to identify groups of genes that behave in a similar way.
Common Dimensionality Reduction Techniques The three most commonly used dimensionality reduction techniques are: Principal component analysis (PCA)—performs a linear transformation on the data so that most of the variance or information in your high-dimensional dataset is captured by the first few principal components. The first principal component will capture the most variance, followed by the second principal component, and so on. Factor analysis—identifies underlying correlations between variables in your dataset to provide a representation in terms of a smaller number of unobserved latent, or common, factors. Nonnegative matrix factorization—used when model terms must represent nonnegative quantities, such as physical quantities.
Using Principal Component Analysis Example: Engine Health Monitoring You have a dataset that includes measurements for different sensors on an engine (temperatures, pressures, emissions, and so on). While much of the data comes from a healthy engine, the sensors have also captured data from the engine when it needs maintenance. You cannot see any obvious abnormalities by looking at any individual sensor. However, by applying PCA, you can transform this data so that most variations in the sensor measurements are captured by a small number of principal components. It is easier to distinguish between a healthy and unhealthy engine by inspecting these principal components than by looking at the raw sensor data. In datasets with many variables, groups of variables often move together. PCA takes advantage of this redundancy of information by generating new variables via linear combinations of the original variables so that a small number of new variables captures most of the information. Each principal component is a linear combination of the original variables. Because all the principal components are orthogonal to each other, there is no redundant information.
Using Nonnegative Matrix Factorization Example: Text Mining Suppose you want to explore variations in vocabulary and style among several web pages. You create a matrix where each row corresponds to an individual web page and each column corresponds to a word (“the”,”a”,”we”, and so on). The data will be the number of times a particular word occurs on a particular page. Since there more than a million words in the English language, you apply nonnegative matrix factorization to create an arbitrary number of features that represent higher-level concepts rather than individual words. These concepts make it easier to distinguish between, say, news, educational content, and online retail content. This dimension reduction technique is based on a low-rank approximation of the feature space. In addition to reducing the number of features, it guarantees that the features are nonnegative, producing models that respect features such as the nonnegativity of physical quantities.
Next Steps In this section we took a closer look at hard and soft clustering algorithms for unsupervised learning, offered some tips on selecting the right algorithm for your data, and showed how reducing the number of features in your dataset improves model performance. As for your next steps: