Unsupervised Learning

Ready

What is Unsupervised Learning?

Unsupervised learning is the process of applying machine learning algorithms to unlabeled data. The outcomes are hidden and previously unknown patterns that may provide new insights. Some common use cases are clustering (e.g. customer segmentation), anomaly detection (e.g. fraud detection), and dimensionality reduction.

Clustering


Available algorithms in H2O-3: K-means [1]

K-Means falls in the general category of clustering algorithms. Clustering is a form of unsupervised learning that tries to find structures in the data without using any labels or target values. Clustering partitions a set of observations into separate groupings such that an observation in a given group is more similar to another observation in the same group than to another observation in a different group.

Anomaly Detection


Available algorithms in H2O-3: Isolation Forest and Anomaly with Deep Learning Autoencoder [1]

Isolation Forest is similar in principle to Random Forest and is built on the basis of decision trees. Isolation Forest, however, identifies anomalies or outliers rather than profiling normal data points. Isolation Forest isolates observations by randomly selecting a feature and then randomly selecting a split value between the maximum and minimum values of that selected feature. This split depends on how long it takes to separate the points.

Random partitioning produces noticeably shorter paths for anomalies. When a forest of random trees collectively produces shorter path lengths for particular samples, they are highly likely to be anomalies.

Dimensionality Reduction / Features Extraction


Available algorithms in H2O-3: Principal Component Analysis (PCA), Generalized Low Rank Models (GLRM), Aggregator, and Word2Vec [1].

Principal Components Analysis (PCA) is closely related to Principal Components Regression. The algorithm is carried out on a set of possibly collinear features and performs a transformation to produce a new set of uncorrelated features. PCA is commonly used to model without regularization or perform dimensionality reduction. It can also be useful to carry out as a preprocessing step before distance-based algorithms such as K-Means since PCA guarantees that all dimensions of a manifold are orthogonal.

Generalized Low Rank Models (GLRM) is an algorithm for dimensionality reduction of a dataset. It is a general, parallelized optimization algorithm that applies to a variety of loss and regularization functions. Categorical columns are handled by expansion into 0/1 indicator columns for each level. With this approach, GLRM is useful for reconstructing missing values and identifying important features in heterogeneous data.

The H2O Aggregator method is a clustering-based method for reducing a numerical/categorical dataset into a dataset with fewer rows. Aggregator maintains outliers as outliers, but lumps together dense clusters into exemplars with an attached count column showing the member points.

H2O Word2vec algorithm takes a text corpus as an input and produces the word vectors as output. The algorithm first creates a vocabulary from the training text data and then learns vector representations of the words. The vector space can include hundreds of dimensions, with each unique word in the sample corpus being assigned a corresponding vector in the space. In addition, words that share similar contexts in the corpus are placed in close proximity to one another in the space. The result is an H2O Word2vec model that can be exported as a binary model or as a MOJO. This file can be used as features in many natural language processing and machine learning applications.

Resources


#h2o-3
#concepts
0 comments
4 Views
 

Permalink

Related Links

No Related Resource entered.