Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions article-under-overfitting/README.MD
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# How to Mitigate Overfitting and Underfitting in Classification Models: Strategies and Techniques
Welcome to our guide on navigating the challenges of overfitting and underfitting in classification models. In this article, we'll explore effective strategies and techniques to mitigate these issues and enhance the performance of your models. Let's dive in!

## Article Summary
Dealing with overfitting and underfitting is a big deal in machine learning, as it's all about finding the sweet spot where models can make sense of data just right. This article digs into how to make machine learning models better, especially those that sort data into categories.

The main points are that we need to use tools like regularization to keep models from being too detailed, feature engineering to make models smarter, and cross-validation to make sure models work well with new, unseen data. We also looked at using methods like SMOTE to make sure our data samples are balanced and learning curves to help figure out how well our models are learning.

## Source Code Explanation

- `photos/`: This folder contains images used the article.

## Further Exploration

Embarking on hands-on projects is a brilliant approach to enhance your grasp of machine learning, particularly in mastering the delicate balance between overfitting and underfitting. By tweaking and building upon the source code presented, you'll gain valuable practical insights and see directly how each modification impacts the model's accuracy and generalizability. This hands-on experience is key to unraveling the complexities of creating robust classification models.

For any questions or further assistance, reach out to our community.

Happy coding!
233 changes: 233 additions & 0 deletions article-under-overfitting/article.md
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you might also want to consider methods that specifically refer or address the imbalance like SMOTE or ADASYN or other ones available

Large diffs are not rendered by default.

Binary file added article-under-overfitting/src/photos/1.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added article-under-overfitting/src/photos/2.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added article-under-overfitting/src/photos/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added article-under-overfitting/src/photos/4.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added article-under-overfitting/src/photos/goodfit1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you also provide some code for generating this graphs, especially if they were generated on the data that you worked with

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.