The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [regularization]

For questions about application of regularization techniques.

Filter by
Sorted by
Tagged with
2
votes
0answers
15 views

L1 Reguarizer in Keras model throwing weight matrix dimension error

Was just experimenting with something when i ran into this error : I am getting matrix dimension errors only when i use L1 Regularizer. I have checked and the regularizer itself doesn't change the ...
1
vote
1answer
59 views

Dropout causes too much noise for network to train

I am using dropout of different values to train my network. The problem is, dropout is contributing almost nothing to training, either causing so much noise the error never changes, or seemingly ...
1
vote
0answers
25 views

What is the intuition behind the Label Smoothing?

I was learning about GAN when the term "Label Smoothing" appears. From the video tutorial that I watch, they use the term "label smoothing" to change the binary labels when calculating the loss of ...
2
votes
0answers
23 views

What is the benefit of scaling the hyperparameter C of an SVM?

Please read the following page of the Sklearn documentation. The figure shown there (see below) illustrates why C should be scaled when using a SVM with 'l1' penalty, whereas it shouldn't be scaled ...
1
vote
0answers
24 views

How can I model regularity?

I have data that are a result of rules that are exceptionless. I want to my program to 'look' at my data and figure out those rules. However, the data might contain what might look like an exception (...
1
vote
1answer
25 views

To remove neural-network units or to increase drop-out?

When adding dropout to a neural network, we are randomly removing a fraction of the connections (setting those weights to zero for that specific weight update iteration). If the dropout probability is ...
2
votes
0answers
63 views

Regarding L0 sparsification of DNNs proposed by Louizos, Kingma and Welling

I am reading the paper on $\ell_0$ regularization of DNNs by Louizos, Welling and Kingma (2017) (Link to arxiv). In Section 2.1 the authors define the cost function as follows: $$ \mathcal{R}\left( \...
6
votes
2answers
2k views

Why L1/L2 regularization technique did not improve my accuracy?

I am training a Multilayer Neural Nets with 146 samples (97 for training set, 20 for validation set and 29 for testing set). I am using: automatic differentiation, SGD method, fixed learning rate + ...
4
votes
1answer
96 views

How does L2 regularization make weights smaller?

I'm learning the Logistic Regression and L2 Regularization. The cost function looks like below. $$J(w) = -\displaystyle\sum_{i=1}^{n} (y^{(i)}\log(\phi(z^{(i)})+(1-y^{(i)})\log(1-\phi(z^{(i)})))$$ ...
7
votes
1answer
183 views

What is “early stopping” in machine learning?

What is early stopping in machine learning and, in general, artificial intelligence? What are the advantages of using this method? How does it help exactly? I'd be interested in perspectives and ...