Interpreting Machine Learning Models - Deepstash
Interpreting Machine Learning Models

Interpreting Machine Learning Models

Curated from: medium.com

Ideas, facts & insights covering these topics:

6 ideas

Ā·

3 reads

Explore the World's Best Ideas

Join today and uncover 100+ curated journeys from 50+ topics. Unlock access to our mobile app with extensive features.

Interpreting Machine Learning Models

Many machine learning textbooks present students with a chart that shows a tradeoff between model interpretability and model accuracy. This is a heuristic, but many students come away thinking that this tradeoff is as strict as a law of physics.

2

0 reads

Prediction By Algorithms

A national effort was undertaken to build Algorithms to predict which pneumonia patients should be admitted to hospitals and which are treated as outpatients. Only by interpreting the model was a crucial problem discovered and avoided. Understanding why a model makes a prediction can literally be an issue of life and death. Many students come away thinking that this Tradeoff is as strict as a law of physics.Ā 

2

1 read

Deprioritizing Interpretability

  • Global Interpretability: How well can we understand the relationship between each feature and the predicted value at a global level ā€” for our entire observation set. Can we understand both the magnitude and direction of the impact of each feature on the predicted value?
  • Local Interpretability: How well can we understand the relationship between each feature and the predicted value at a local level ā€” for a specific observation.
  • Feature Selection: Does the model help us focus on only the features that matter? Can it zero out the features that are just ā€œnoiseā€?

2

1 read

Linear Regression

An ordinary least squares (OLS) model generates coefficients for each feature. These coefficients are signed, allowing us to describe both the magnitude and direction of each feature at the global level. For local interpretability, we need only multiply the coefficient vector by a specific feature vector to see the predicted value, and the contribution of each feature to that prediction.

2

1 read

Random Forest

In the middle of the accuracy-interpretability spectrum are random forests. Weā€™ve often seen them described as ā€œblack boxes,ā€ which we think this is unfair ā€” maybe ā€œgrayā€ but certainly not ā€œblackā€!

Random forests are collections of decision trees, like the one drawn below. The splits in each tree are chosen from random subsets of our features, so the trees all look slightly different. A single tree can be easily interpreted, assuming it is not grown too deep. But how we can interpret a random forest that contains hundreds or thousands of trees?

2

0 reads

Neural Networks

As the hottest topic in machine learning over the past decade, weā€™d be remiss if we didnā€™t mention neural networks. Hailed for outstanding accuracy in difficult domains like image recognition and language translation, theyā€™ve also generated criticism for lacking interpretability.

Nobody understands how these systems ā€” neural networks modelled on the human brain ā€” produce their results. Computer scientists ā€œtrainā€ each one by feeding it data, and it gradually learns. But once a neural net is working well, itā€™s a black box.

2

0 reads

IDEAS CURATED BY

georhampton

Surveyor in commercial/residential

George Hampton's ideas are part of this journey:

De-escalate Office Tension

Learn more about leadershipandmanagement with this collection

How to create a positive work environment

Conflict resolution strategies

Effective communication in the workplace

Related collections

Read & Learn

20x Faster

without
deepstash

with
deepstash

with

deepstash

Personalized microlearning

ā€”

100+ Learning Journeys

ā€”

Access to 200,000+ ideas

ā€”

Access to the mobile app

ā€”

Unlimited idea saving

ā€”

ā€”

Unlimited history

ā€”

ā€”

Unlimited listening to ideas

ā€”

ā€”

Downloading & offline access

ā€”

ā€”

Supercharge your mind with one idea per day

Enter your email and spend 1 minute every day to learn something new.

Email

I agree to receive email updates