%%{init: {'theme':'base', 'themeVariables': { 'fontSize':'14px'}}}%%
graph LR
A[Machine Learning] --> B[Supervised Learning]
A --> C[Unsupervised Learning]
B --> D[Regression]
B --> E[Classification]
D --> F[Linear Regression]
D --> G[Decision Trees]
E --> H[Logistic Regression]
E --> I[Decision Trees]
G --> J[Random Forest]
G --> K[Gradient Boosting]
I --> J
I --> K
F -.->|weights| L[Deep Learning]
H -.->|activation| L
K -.->|backprop| L
C --> M[Clustering]
C --> N[Dimension Reduction]
M --> O[K-Means]
N --> P[PCA]
style A fill:#e1f5dd
style B fill:#e1f5dd
style C fill:#e1f5dd
style D fill:#e1f5dd
style E fill:#e1f5dd
style M fill:#e1f5dd
style N fill:#e1f5dd
style F fill:#fff4cc
style H fill:#fff4cc
style G fill:#fff4cc
style I fill:#fff4cc
style J fill:#fff4cc
style O fill:#fff4cc
style P fill:#fff4cc
style K fill:#d4e6f1
style L fill:#d4e6f1