There are also ways to limit the influence of coefficients on the regression output. These methods are called regularization methods, and two of the most common regularization methods are lasso and ridge regression. We cover how to implement both of these in this recipe.
Implementing lasso and ridge regression
Get TensorFlow Machine Learning Cookbook - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.