Santiago Profile picture
18 Feb, 9 tweets, 2 min read
You gotta think about this one carefully!

Imagine you go to the doctor and get tested for a rare disease (only 1 in 10,000 people get it.)

The test is 99% effective in detecting both sick and healthy people.

Your test comes back positive.

Are you really sick? Explain below πŸ‘‡
The most complete answer from every reply so far is from Dr. Lena. Thanks for taking the time and going through it!

You can get the answer using Bayes' theorem, but let's try to come up with it in a different β€”maybe more intuitiveβ€” way.

πŸ‘‡
Here is what we know:

- Out of 10,000 people, 1 is sick
- Out of 100 sick people, 99 test positive
- Out of 100 healthy people, 99 test negative

Assuming 1 million people take the test (including you):

- 100 of them are sick
- 999,900 of them are healthy

πŸ‘‡
Let's now test both groups, starting with the 100 people sick:

▫️ 99 of them will be diagnosed (correctly) as sick (99%)

▫️ 1 of them is going to be diagnosed (incorrectly) as healthy (1%)

πŸ‘‡
Let's now test the group of 999,900 healthy individuals:

▫️ 989,901 of them will be diagnosed (correctly) as healthy (99%)

▫️ 9,999 of them will be diagnosed (incorrectly) as sick (1%)

πŸ‘‡
Since your test came back positive, it means that you belong to either one of the groups that had a positive result:

1. 99 people that are truly sick, or
2. 9,999 people that are actually healthy (but were diagnosed as sick.)

πŸ‘‡
Basically, out of 10,098, only 99 are truly sick.

That'll give you a 0.98% chance of being sick!

So no, most likely, you are fine!

πŸ‘‡
Here is something important: this is true as long as our only priors are that 1 in 10,000 people have the disease.

For example, if you were showing symptoms, then your chance of being sick after receiving a positive test will be higher.

β€’ β€’ β€’

Missing some Tweet in this thread? You can try to force a refresh
γ€€

Keep Current with Santiago

Santiago Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @svpino

20 Feb
25 popular libraries and frameworks for building machine and deep learning applications.

Covering:

▫️ Data analysis and processing
▫️ Visualizations
▫️ Computer Vision
▫️ Natural Language Processing
▫️ Reinforcement Learning
▫️ Optimization

A mega-thread.

🐍 πŸ§΅πŸ‘‡
(1 / 25) TensorFlow

TensorFlow is an end-to-end platform for machine learning. It has a comprehensive, flexible ecosystem of tools and libraries to build and deploy machine learning-powered applications.
(2 / 25) Keras

Keras is a highly-productive deep learning interface running on top of TensorFlow. It provides essential abstractions and building blocks for developing and shipping machine learning solutions with high iteration velocity.
Read 20 tweets
19 Feb
I'm sad to watch many developers working 80-hour weeks to get one inch ahead of everyone else.

And yet, they are missing the biggest opportunity of their lives right under their noses.

πŸ§΅πŸ‘‡
Today, you don't leap ahead by learning another framework, watching another tutorial, or building another web page.

That's incremental improvement. Important, but not extraordinary.

πŸ‘‡
Hours don't mean anything, and everything you add to your portfolio will be obsolete in the next couple of years.

What's really going to move the needle is the impact of your work. It's how you change and influence those around you.

πŸ‘‡
Read 10 tweets
17 Feb
Imagine a model to predict customers who will unsubscribe from your service.

You want to incentivize them with $10 because they will cost you $100 if they churn.

Look at the attached confusion matrix showing that the model is only 77% accurate.

Is this model good enough?
I love this question because it puts a couple of things in perspective:

1. A model that doesn't look too good by the numbers.

2. A business case that can use a less-than-ideal solution to solve the problem.
There's only one question about this problem: how many people will not churn if they get the incentive?

We don't know, but we can play out different scenarios and see what happens.
Read 9 tweets
16 Feb
Imagine that you ask a yes/no question to 1,000 people, and each person answers correctly 51% of the time.

You count the different answers and pick the most common one.

How likely are you to end up with the correct answer?

πŸ§΅πŸ‘‡
Don't feel bad if you think it's 51% β€” We all did!

If every person answers independently from the rest, you'll end up with the correct answer ~75% of the time.

And if you ask 10,000 people, the chance of getting it right goes up to ~97%!

Mind-blowing, right?

(2 / 6)
If you care about the math behind this, take a look at the attached expression. (But it doesn't matter if you don't.)

This is what's important:

The law of large numbers ensures that we get more correct answers as we ask more people.

(3 / 6)
Read 7 tweets
15 Feb
I have not seen any proof that Twitter "kills your content" if you include links to your tweets.

Here is the result of a very unscientific experiment: comparing my top 10 tweets with and without links.

If you have something concrete, please let me know.
This is anecdotal evidence at best.

It doesn't prove that Twitter doesn't mess with your links, but it does suggest that β€”if anything is going onβ€” it is much more subtle than what some believe.

I haven't found any documentation either.
This is what I do know:

Breaking the links that you add to your tweets is self-serving: it makes it worse for the people who follow you. They can't just click to get the content.

I can't see how this will make your content better in any way.
Read 4 tweets
14 Feb
A collection of the most interesting threads I've written about machine learning.

🧡 x 🧡
Read 13 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!