based on slides by Dr. Jiayin Wang
Linear regression: y = β₀ + β₁x
Motivation of SVM: Use tools from optimization to find the best lines (or hyper planes or curves) that divide the two datasets.
We will be working with Mental Health Care data.
Download the clean data by biological sex.
Replicate the plot below:
Here’s the import statement:
Calling it: