Difference between revisions of "Unsupervised Learning"

From Bitnami MediaWiki
Jump to navigation Jump to search
Line 9: Line 9:
  
 
; Market Basket Analysis
 
; Market Basket Analysis
−
Assume all subsets are either <math>s_j</math> consists of exactly one value of <math>X_j</math> or it's the entire set of possible <math>X_j</math> values, <math>s_j = \mathcal{S}_j</math>.
+
Assume all subsets are either <math>s_j</math> consists of exactly one value of <math>X_j</math> or it's the entire set of possible <math>X_j</math> values, <math>s_j = \mathcal{S}_j</math>. Usually dummy variables are used such that the number of dummies is
 +
:: <math>K=\displaystyle\sum^p_{j=1}|\mathcal{S_j}|</math>
 +
where <math>|\mathcal{S_j}|</math> is number of unique <math>X_j</math>
 +
Each of the <math>K</math> new <math>Z</math> variables has the value <math>Z_k=1</math> or <math>0</math>. This recasts the problem into finding a subset of <math>\mathcal{K} \subset \{1,\dots,K\}</math> so that
  
 
===Cluster Analysis===
 
===Cluster Analysis===

Revision as of 16:11, 9 March 2021

Following Hastie et al.

Supervised learning concerns finding a conditional density estimation [math]\displaystyle{ \text{Pr}(Y|X) }[/math]. In unsupervised learning, the goal is to directly infer properties about the joint marginal density of [math]\displaystyle{ \text{Pr}(X) }[/math]:

[math]\displaystyle{ \text{Pr}(X,Y) = \text{Pr}(Y|X)\cdot \text{Pr}(X) }[/math]

Association Rules

Goal: Find subsets of variable values [math]\displaystyle{ s_1, \dots, s_p }[/math] such that the probability of each of the variables occupying a value within its respective subset is large. (The intersection of subsets is called a conjunctive rule):

[math]\displaystyle{ \text{Pr}\left [\, \bigcap^p_{j=1} (X_j \in s_j) \right ] }[/math]
Market Basket Analysis

Assume all subsets are either [math]\displaystyle{ s_j }[/math] consists of exactly one value of [math]\displaystyle{ X_j }[/math] or it's the entire set of possible [math]\displaystyle{ X_j }[/math] values, [math]\displaystyle{ s_j = \mathcal{S}_j }[/math]. Usually dummy variables are used such that the number of dummies is

[math]\displaystyle{ K=\displaystyle\sum^p_{j=1}|\mathcal{S_j}| }[/math]

where [math]\displaystyle{ |\mathcal{S_j}| }[/math] is number of unique [math]\displaystyle{ X_j }[/math] Each of the [math]\displaystyle{ K }[/math] new [math]\displaystyle{ Z }[/math] variables has the value [math]\displaystyle{ Z_k=1 }[/math] or [math]\displaystyle{ 0 }[/math]. This recasts the problem into finding a subset of [math]\displaystyle{ \mathcal{K} \subset \{1,\dots,K\} }[/math] so that

Cluster Analysis

Self-Organizing Maps

Principal Components, Curves and Surfaces

Non-Negative Matrix Factorization

Independent Component Analysis (ICA)

Multi-Dimensional Scaling (MDS)