add ridge regression method