def predict(X, w):
    """
    Using a OLS solution, predict the responses for a given set of sample.
    :param X: Matrix of (m)x(p) for p the number of features and m number of samples.
    :param w: OLS coefficients vector of length p.
    :return: The predicted OLS responses for the given samples
    """
    return X @ w