Home Artificial Intelligence 12 Mental Models for Data Science Introduction 1. Garbage In, Garbage Out 2. Law of Large Numbers 3. Confirmation Bias 4. P-Hacking 5. Simpson’s Paradox 6. Pareto 80/20 rule 7. Occam’s Razor 8. Bias-Variance Tradeoff 9. Overfitting vs. Underfitting 10. The Long Tail 11. Bayesian Considering 12. No Free Lunch Theorem Conclusion Read these next … Watch this next…

12 Mental Models for Data Science Introduction 1. Garbage In, Garbage Out 2. Law of Large Numbers 3. Confirmation Bias 4. P-Hacking 5. Simpson’s Paradox 6. Pareto 80/20 rule 7. Occam’s Razor 8. Bias-Variance Tradeoff 9. Overfitting vs. Underfitting 10. The Long Tail 11. Bayesian Considering 12. No Free Lunch Theorem Conclusion Read these next … Watch this next…

0
12 Mental Models for Data Science
Introduction
1. Garbage In, Garbage Out
2. Law of Large Numbers
3. Confirmation Bias
4. P-Hacking
5. Simpson’s Paradox
6. Pareto 80/20 rule
7. Occam’s Razor
8. Bias-Variance Tradeoff
9. Overfitting vs. Underfitting
10. The Long Tail
11. Bayesian Considering
12. No Free Lunch Theorem
Conclusion
Read these next …
Watch this next…

Powerful Concepts for Navigating the Data Science Landscape

Towards Data Science
Photo by Júnior Ferreira on Unsplash

Within the ever-evolving field of information science, the raw technical skills to wrangle and analyze data is undeniably crucial to any data project. Apart from the technical and soft skill sets, an experienced data scientist may through the years develop a set of conceptual tools generally known as mental models to assist navigate them through the information landscape.

Not only are mental models helpful for data science, James Clear (creator of Atomic Habits) has done a fantastic job of exploring how mental models may also help us think higher in addition to their utility to a wide selection of fields (business, science, engineering, etc.) in this text.

Just as a carpenter uses different tools for various tasks, an information scientist employs different mental models depending on the issue at hand. These models provide a structured solution to problem-solving and decision-making. They permit us to simplify complex situations, highlight relevant information, and make educated guesses in regards to the future.

This blog presents twelve mental models that will help 10X your productivity in data science. Particularly, we do that by illustrating how these models could be applied within the context of information science followed by a brief explanation of every. Whether you’re a seasoned data scientist or a newcomer to the sector, understanding these models could be helpful in your practice of information science.

Step one to any data evaluation is ensuring that the information you’re using is of top quality, as any conclusions you draw from it can be based on this data. As well as, this might mean that even probably the most sophisticated evaluation cannot compensate for poor-quality data. In a nutshell, this idea emphasizes that the standard of output is decided by the standard of the input. Within the context of working with data, the wrangling and pre-processing of a dataset would consequently help increase the standard of the information.

Image drawn by the Writer.

After ensuring the standard of your data, the following step is usually to gather more of it. The Law of Large Numbers explains why having more data generally results in more accurate models. This principle suggests that as a sample size grows, its mean also gets closer to the common of the entire population. This is key in data science since it underlies the logic of gathering more data to enhance the generalization and accuracy of the model.

Image drawn by the Writer.

Once you’ve gotten your data, you’ve gotten to watch out about the way you interpret it. Confirmation Bias is a reminder to avoid just searching for data that supports your hypotheses and to think about all of the evidence. Particularly, confirmation bias refers back to the tendency to look for, interpret, favor, and recall information in a way that confirms one’s preexisting beliefs or hypotheses. In data science, it’s crucial to concentrate on this bias and to hunt down disconfirming evidence in addition to confirming evidence.

Image drawn by the Writer.

That is one other vital concept to remember through the data evaluation phase. This refers back to the misuse of information evaluation to selectively find patterns in data that could be presented as statistically significant, thus resulting in incorrect conclusions. To place this visually, the identification of rare statistically significant results (either purposely or by likelihood) may selectively be presented. Thus, it’s vital to concentrate on this to make sure robust and honest data evaluation.

Image drawn by the Writer.

This paradox is a reminder that if you’re data, it’s vital to think about how different groups could be affecting your results. It serves as a warning in regards to the dangers of omitting context and never considering potential confounding variables. This statistical phenomenon occurs when a trend appears in numerous groups of information but disappears or reverses when these groups are combined. This paradox could be resolved when causal relations are appropriately addressed.

Image drawn by the Writer.

Once the information is known and the issue is framed, this model may also help prioritize which features to give attention to in your model, because it suggests that a small variety of causes often result in a big proportion of the outcomes.

This principle suggests that for a lot of outcomes, roughly 80% of consequences come from 20% of causes. In data science, this might mean that a big portion of the predictive power of a model comes from a small subset of the features.

Image drawn by the Writer.

This principle suggests that the only explanation is often one of the best one. Whenever you start to construct models, Occam’s Razor suggests that you need to favor simpler models after they perform in addition to more complex ones. Thus, it’s a reminder to not overcomplicate your models unnecessarily.

Image drawn by the Writer.

This mental model describes the balance that have to be struck between bias and variance, that are the 2 sources of error in a model. Bias is an error attributable to simplifying a fancy problem to make it easier for the machine learning model to grasp that consequently results in underfitting. Variance is an error resulting from the model’s overemphasis on specifics of the training data that consequently results in overfitting. Thus, the correct balance of model complexity to attenuate the whole error (a mix of bias and variance) could be achieved through a tradeoff. Particularly, reducing bias tends to extend variance and vice versa.

Image drawn by the Writer.

This idea ties closely to the Bias-Variance Tradeoff and helps further guide the tuning of your model’s complexity and its ability to generalize to latest data.

Overfitting occurs when a model is excessively complex and learns the training data too well thereby reducing its effectiveness on latest, unseen data. Underfitting happens when a model is simply too easy to capture the underlying structure of the information thereby causing poor performance on each training and unseen data.

Thus, a great machine learning model may very well be achieved by finding the balance between overfitting and underfitting. As an example, this may very well be achieved through techniques similar to cross-validation, regularization and pruning.

Long tail could be seen in distributions similar to the Pareto distribution or the facility law, where a high frequency of low-value events and a low frequency of high-value events could be observed. Understanding these distributions could be crucial when working with real-world data, as many natural phenomena follow such distributions.

For instance, in social media engagement, a small variety of posts receive the vast majority of likes, shares, or comments, but there’s an extended tail of posts that gets fewer engagements. Collectively, this long tail can represent a significant slice of overall social media activity. This brings attention to the importance and potential of the less popular or rare events, which could otherwise be neglected if one only focuses on the “head” of the distribution.

Image drawn by the Writer.

Bayesian considering refers to a dynamic and iterative strategy of updating our beliefs based on latest evidence. Initially, now we have a belief or a “prior,” which gets updated with latest data, forming a revised belief or “posterior.” This process continues as more evidence is gathered, further refining our beliefs over time. In data science, Bayesian considering allows for learning from data and making predictions, often providing a measure of uncertainty around these predictions. This adaptive belief system that open to latest information, could be applied not only in data science but in addition to our on a regular basis decision-making as well.

Image drawn by the Writer.

The No Free Lunch theorem asserts that there isn’t a single machine learning algorithm that excels in solving every problem. Because of this, it can be crucial to grasp the unique characteristics of every data problem, as there isn’t a universally superior algorithm. Consequently, data scientists experiment with a wide range of models and algorithms to search out probably the most effective solution by considering aspects similar to the complexity of the information, available computational resources, and the particular task at hand. The theory could be regarded as a toolbox filled with tools, where each representing a unique algorithm, and the expertise lies in choosing the correct tool (algorithm) for the correct task (problem).

Image drawn by the Writer.

These models provide a sturdy framework for every of the steps of a typical data science project, from data collection and preprocessing to model constructing, refinement, and updating. They assist navigate the complex landscape of data-driven decision-making, enabling us to avoid common pitfalls, prioritize effectively and make informed selections.

Nonetheless, it’s essential to keep in mind that no single mental model holds all of the answers. Each model is a tool, and like all tools, they’re only when used appropriately. Particularly, the dynamic and iterative nature of information science signifies that these models aren’t simply applied in a linear fashion. As latest data becomes available or as our understanding of an issue evolves, we may loop back to earlier steps to use different models and adjust our strategies accordingly.

Ultimately, the goal of using these mental models in data science is to extract priceless insights from data, create meaningful models and make higher decisions. By doing so, we are able to unlock the total potential of information science and use it to drive innovation, solve complex problems, and create a positive impact in various fields (e.g. bioinformatics, drug discovery, healthcare, finance, etc.).

LEAVE A REPLY

Please enter your comment!
Please enter your name here