Your question is Supervised vs Unsupervised ML. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
Explain the basic ML principles you use, including supervised vs unsupervised learning and when you would use ridge regression.
Compare the two learning paradigms, describe how you select and validate models, and explain ridge regression mathematically and practically. Include a concise implementation that trains and evaluates a ridge model on tabular data, handling preprocessing without leakage.