Complete the Python function below that takes a radial-basis kernel matrix Γ, the labels y, and a regularization parameter λ > 0 as input and learns weights via ridge regression. Specifically, given a radial-basis kernel matrix Γ, implement the computation of w = (Γ^TΓ + αI_n)^-1Γ^Ty.
# Phi: float(n, d) - transformed data
# y: float(n, ) - labels
# lam: float - regularization parameter
def train_ridge_model(Phi, y, lam):
# *** Insert your code here ***