Different Machine Learning model's training Machine Learning Algorithms require different Hyperparameters. Given these hyperparameters, the training algorithm learns the parameters from the data. For instance, LASSO is an algorithm that adds a regularization hyperparameter to OLS regression, which has to be set before estimating the parameters through the training algorithm.
Some simple algorithms (such as ordinary least squares regression) require none.