Model Retraining Pipeline
**Example:** You have a pre-trained model that needs to be retrained on new data. The model takes in a 2D array of shape (n_samples, n_features) and outputs a 1D array of shape (n_samples,). The new data is stored in a CSV file.
**Constraints:** The model should be retrained using the new data, and the updated model should be saved to a new file. The function should return the updated model.
Test Cases
Test Case 1
Input:
data.csvExpected:
LinearRegression()Test Case 2
Input:
new_data.csvExpected:
LinearRegression()+ 3 hidden test cases