Fit multiple OLS with an intercept and return the slope array and the intercept as a float
Role: Data Scientist
Category: Machine Learning
Difficulty: easy
Interview Round: Other
Overview: Write a Python function that fits a multiple linear regression with an intercept and returns the slope coefficients as an array and the intercept as a float. It tests fitting with NumPy or scikit-learn, splitting the parameter vector correctly, and choosing a numerically stable least-squares solver.