Perform linear regression by tapping into Python’s indispensable sklearn library https://scikit-learn.org/stable/index.html using the make_regression() function. Now, you can completely control your data’s behavior whether you want a mini random data set or need to debug your algorithm.