graph TD
%% Main Branch
ML[ML] --> SL(Supervised)
ML --> UL(Unsupervised)
ML --> RL(Reinforcement)
%% Reinforcement Subgraph
subgraph ...
RL --> RL_Goal[<b>Reward Optimization</b><br/>Finding the Best Strategy<br/><i>e.g., Signal Timing</i>]
end
%% Unsupervised Subgraph
subgraph ..
UL --> UL_Clust[<b>Clustering</b><br/>Grouping Similar Units<br/><i>e.g., Neighborhood Types</i>]
UL --> UL_Dim[<b>Dimensionality Reduction</b><br/>Simplifying Complex Data<br/><i>e.g., Reducing 50 variables to 3</i>]
end
%% Supervised Subgraph
subgraph .
SL --> SL_Class[<b>Classification</b><br/>Predicting Categories<br/><i>e.g., Land Use Type</i>]
SL --> SL_Reg[<b>Regression</b><br/>Predicting Quantities<br/><i>e.g., House Prices</i>]
end
%% Styling
style . fill:#c462dff,stroke:#aaaaaa,stroke-width:4px
style .. fill:#c462dff,stroke:#aaaaaa,stroke-width:4px
style ... fill:#c462dff,stroke:#aaaaaa,stroke-width:4px




