---
title: "Paul Omagbemi (@Omagbs) | Hashnode"
description: "If data is the new oil, call me AI-finery. ‘Lisan al-Data’—inspired by Dune, where knowledge is power and data is prophecy."
url: "https://hashnode.com/@Omagbs"
---

@Omagbs

# Paul Omagbemi

@Omagbs · Joined January 2025

If data is the new oil, call me AI-finery. ‘Lisan al-Data’—inspired by Dune, where knowledge is power and data is prophecy.

### [Regularization in Logistic Regression: Same Idea, Different Function](https://omagbs.hashnode.dev/regularization-in-logistic-regression-same-idea-different-function?utm_source=hashnode&utm_medium=feed)

Well, still similar to the Regularization applied to linear, the regularized cost function for logistic regression is defined by: $$J(\\mathbf{w}, b) = -\\frac{1}{m} \\sum\_{i=1}^m \\left\[ y^{(i)} \\log(f\_{\\mathbf{w}, b}(\\mathbf{x}^{(i)})) + (1 - y^{(i)}) ...

1 min read · [omagbs.hashnode.dev](https://omagbs.hashnode.dev/regularization-in-logistic-regression-same-idea-different-function?utm_source=hashnode&utm_medium=feed)

[Feb 18, 2025](https://hashnode.com/posts/regularization-in-logistic-regression-same-idea-different-function/67b51bdb8a04b2d94d04e8ee)

### [The Balancing Act: Choosing the Right Lambda in Regularization (Linear Regression)](https://omagbs.hashnode.dev/the-balancing-act-choosing-the-right-lambda-in-regularization-linear-regression?utm_source=hashnode&utm_medium=feed)

Since we can't be sure which of the parameter to penalize, we penalize all by adding the Regularization term to the cost function. A regularized cost function is defined by: $$J(\\mathbf{w}, b) = \\frac{1}{2m} \\sum\_{i=1}^m \\left( f\_{\\mathbf{w}, b}(\\mat...

1 min read · [omagbs.hashnode.dev](https://omagbs.hashnode.dev/the-balancing-act-choosing-the-right-lambda-in-regularization-linear-regression?utm_source=hashnode&utm_medium=feed)

[Feb 18, 2025](https://hashnode.com/posts/the-balancing-act-choosing-the-right-lambda-in-regularization-linear-regression/67b4bcbbc28336dd5b951e8a)

### [Shrink the Weights, Save the Model: A Quick Look at Regularization](https://omagbs.hashnode.dev/shrink-the-weights-save-the-model-a-quick-look-at-regularization?utm_source=hashnode&utm_medium=feed)

So, to simply put, Regularization is just simply making your parameters smaller and relatively less effective to avoid overfitting. oh, and the beautiful thing? — you get to keep all your features because you don't know which one might just make the ...

1 min read · [omagbs.hashnode.dev](https://omagbs.hashnode.dev/shrink-the-weights-save-the-model-a-quick-look-at-regularization?utm_source=hashnode&utm_medium=feed)

[Feb 17, 2025](https://hashnode.com/posts/shrink-the-weights-save-the-model-a-quick-look-at-regularization/67b3b48c9e8d6b985f2b4bbe)

### [Overfitting? Fear Not, There’s a Way Out!](https://omagbs.hashnode.dev/overfitting-fear-not-theres-a-way-out?utm_source=hashnode&utm_medium=feed)

I bring thee good news. There are ways of mitigating overfitting! Collect more training data. (but, but, but sometimes, collecting more data can be challenge, especially when they are not available) Next thing we might want to consider is to reduce...

1 min read · [omagbs.hashnode.dev](https://omagbs.hashnode.dev/overfitting-fear-not-theres-a-way-out?utm_source=hashnode&utm_medium=feed)

[Feb 14, 2025](https://hashnode.com/posts/overfitting-fear-not-theres-a-way-out/67af769d9bfa1654b6e21e0a)

### [Underfitting, Overfitting—And Finally Recovering](https://omagbs.hashnode.dev/underfitting-overfittingand-finally-recovering?utm_source=hashnode&utm_medium=feed)

So I have not been feeling well, but thankfully I just recovered. I'm just going to give a summary of this. Underfitting: This occurs when the model doesn't fit the training set well. We can also say that there's a high bias thingy going on "Normal...

1 min read · [omagbs.hashnode.dev](https://omagbs.hashnode.dev/underfitting-overfittingand-finally-recovering?utm_source=hashnode&utm_medium=feed)

[Feb 13, 2025](https://hashnode.com/posts/underfitting-overfittingand-finally-recovering/67ae86f39f6b256c9a7b8016)
