python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Is there any place in scikit-learn Lasso/Quantile Regression source code that L1 regularization is applied?
I could not find where the Manhattan distance of weights is calculated and multiplied with alpha (L1 reg. coefficient) in the Lasso Regression and the Quantile Regression source code of scikit-learn.
...
Berat Tuna Karlı
Votes: 0
Answers: 1
Tensorflow: How to apply a regularizer on a tensor?
I am implementing a model in Tensorflow 2, and I want to apply a penalization on a tensor (multiplication from two layers' outputs) in my model.
I am used to use regularization on layers (kernel, bias...
Loris Pilotto
Votes: 0
Answers: 1
Customized regularization function with customized training in tf.keras (TF2) using GradientTape
I want to define my own customised regulizer and I am making use of GradientTape. I am making use of the following code, however no matter how large I choose the tuning parameters to be, the results a...
user11453289
Votes: 0
Answers: 0