I\'m trying to code the following formula:
To do this I\'m using the following function:
def predict(x, w): """ Function to