Data Science, Linear Regression, Machine Learning, Python, Numpy.
Method that takes in a matrix X and initializes the betas with random values, adding a column of ones to the left side of X to account for the bias term. Args: X: A matrix of shape (m, n) where m is the number of training examples and n is the number of features. Returns: X: A modified version of X