avatarJesse J Rogers

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

2519

Abstract

I think <a href="https://youtu.be/23Xqu0jXlfs">the best way to learn something is to teach it</a>. It <a href="https://youtu.be/_f-qkGJBPts">forces me to learn</a> each concept for myself in a way that can be explained simply.</p><p id="853d">Again, I’m just a beginner, so I deeply appreciate any corrections or suggestions more experienced computer scientists might offer.</p><h1 id="d62d">Applied Machine Learning 2020 by Andreas Mueller</h1> <figure id="0532"> <div> <div> <img class="ratio" src="http://placehold.it/16x9"> <iframe class="" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fvideoseries%3Flist%3DPL_pVmAaAnxIRnSw6wiCpSvshFyCREZmlM&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fplaylist%3Flist%3DPL_pVmAaAnxIRnSw6wiCpSvshFyCREZmlM&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fd79mzijMAw0%2Fhqdefault.jpg%3Fsqp%3D-oaymwEWCKgBEF5IWvKriqkDCQgBFQAAiEIYAQ%3D%3D%26rs%3DAOn4CLB8-2NJFcrQu00Hnaa_uYQ-Zr6mhw%26days_since_epoch%3D19052&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" allowfullscreen="" frameborder="0" height="480" width="853"> </div> </div> </figure></iframe></div></div></figure><h1 id="f1fe">Lecture 1</h1><p id="0371"><a href="https://youtu.be/rbvpiPJuK64">Video</a> <a href="https://www.cs.columbia.edu/~amueller/comsw4995s20/schedule/">Course Schedule</a> <a href="https://jakevdp.github.io/PythonDataScienceHandbook/">Python Data Science Handbook</a> by <i>Jake VanderPlas (</i>free textbook<i>)</i></p><p id="cb4d"><b>Main Types of Machine Learning:</b>

  1. Supervised (spam detection, medical diagnosis, ad click prediction, etc…)
  2. Unsupervised (pre-process for supervised learning, exploratory analysis)
  3. Reinforcement Learning (Alpha Go, robotics. Agent vs Environment)</p><p id="80c6">p(x,y), where x is data and y is a desired result f(x) = y, that’s the prediction goal when unknown x values introduced</p><p id="77c0"><b>Classification and Regression </b>Classification is for discrete data, like finding if a tumor is present or not Regression is for continuous data, like patient recovery time</p><p id="54a5"><b>Relationship to Statistics </b>Statistics finds the model first and has inference emphasis Machine Learning has data first and has prediction emphasis</p><p id="a052">Grey area overlap. Each one is an appropriate tool for different goals. <a href="https://projecteucl

Options

id.org/journals/statistical-science/volume-16/issue-3/Statistical-Modeling--The-Two-Cultures-with-comments-and-a/10.1214/ss/1009213726.full">Statistical Models: The Two Cultures</a> by <i>Leo Breiman (</i>free pdf download<i>)</i></p><p id="aedf"><b>Cost of Complex systems</b> Don’t automatically rush to the most complex approach. Use a simple and cheap type where possible. Get baseline data before trying to improve something with machine learning.</p><p id="cd61"><b>Good and Bad Substitutes</b> Usually the goal is to optimize for something too complex like profit, and so use something like “time on platform viewing ads” as an easy substitute for this which we <i>can</i> optimize for. However, it can produce unethical outcomes like radicalizing desensitized users with progressively more extreme content.</p><p id="8fc9">Explainable results make algorithms more accepted and less angering to users as long as reasons for things like recommendations or bans are plausible. It doesn’t actually have to be true. But lie to users at your own peril, because it’s hard to restore broken trust.</p><p id="35b4"><b>Ethical Considerations</b> Everyone knows humans are prone to bias, and some people hoped that algorithms would provide an objective, unbiased and prejudice-free decision-making tool. Unfortunately it isn’t that simple. Machine learning predictions tend to amplify existing biases through a feedback loop rather than correct for it. Because of American history and demographics, in the United States many seemingly unrelated variables like income or zip code can actually correlate to and become unintended proxies for race. We have to be very careful and rigorous to avoid codifying further injustice into predictive models.</p><p id="950b"><b>Free vs Expensive Data</b> Predicting observable events tends to be free, as data for things like stock markets, clicks, and house numbers is readily available. But automating complex processes tends to be expensive.</p><h1 id="54ee">Lecture 2</h1><p id="1ba6"><a href="https://youtu.be/OW3oco7nlV4">Video</a></p><p id="6329">(coming soon… in the meantime I’m practicing the basics of Python with <a href="https://jessejrogers.medium.com/the-best-free-resources-for-learning-python-48980e1126d9">these resources</a>)</p><p id="186b"><i>To make sure you don’t miss content like this, simply <a href="https://jessejrogers.medium.com/membership">become a member</a> and <a href="https://jessejrogers.medium.com/subscribe">subscribe!</a></i></p></article></body>

MACHINE LEARNING

Applied Machine Learning Notes

Mainly these notes are for me to refer back to, but I’ll make this public just in case it helps other Medium subscribers

Photo by Arseny Togulev on Unsplash

I LOVE free courses. It’s crazy to me that everybody everywhere isn’t obsessed with learning future tech. For free. On demand. By the world’s top professors.

Why do anything else?

I’m currently enjoying a course by Columbia University Professor and Scikit-Learn core developer Andreas Mueller even more than one that I recently started by the legendary Stanford Professor and Coursera co-founder Andrew Ng. This is because it’s more focused on application rather than the underlying theory and mathematics.

Both instructors are fantastic, and I do plan on going back to Professor Ng’s CS229 lectures for more depth, and as a co-requisite for CS230. But since I’m simultaneously trying to learn Python, this Machine Learning course so far seems ideal for my needs.

Before attempting any of these courses, I’ve already taken the beginner course CS50 by Harvard’s David Malan as well as a 4-hour python bootcamp by freeCodeCamp.com. I’ve also been practicing routinely on, well, Practice Python. I highly recommend both.

I will keep updating this article with additional notes as I go, so it may get quite long.

As a side note, I’m not writing because I think I’m already an expert. Precisely the opposite; I’m writing because I think the best way to learn something is to teach it. It forces me to learn each concept for myself in a way that can be explained simply.

Again, I’m just a beginner, so I deeply appreciate any corrections or suggestions more experienced computer scientists might offer.

Applied Machine Learning 2020 by Andreas Mueller

Lecture 1

Video Course Schedule Python Data Science Handbook by Jake VanderPlas (free textbook)

Main Types of Machine Learning: 1) Supervised (spam detection, medical diagnosis, ad click prediction, etc…) 2) Unsupervised (pre-process for supervised learning, exploratory analysis) 3) Reinforcement Learning (Alpha Go, robotics. Agent vs Environment)

p(x,y), where x is data and y is a desired result f(x) = y, that’s the prediction goal when unknown x values introduced

Classification and Regression Classification is for discrete data, like finding if a tumor is present or not Regression is for continuous data, like patient recovery time

Relationship to Statistics Statistics finds the model first and has inference emphasis Machine Learning has data first and has prediction emphasis

Grey area overlap. Each one is an appropriate tool for different goals. Statistical Models: The Two Cultures by Leo Breiman (free pdf download)

Cost of Complex systems Don’t automatically rush to the most complex approach. Use a simple and cheap type where possible. Get baseline data before trying to improve something with machine learning.

Good and Bad Substitutes Usually the goal is to optimize for something too complex like profit, and so use something like “time on platform viewing ads” as an easy substitute for this which we can optimize for. However, it can produce unethical outcomes like radicalizing desensitized users with progressively more extreme content.

Explainable results make algorithms more accepted and less angering to users as long as reasons for things like recommendations or bans are plausible. It doesn’t actually have to be true. But lie to users at your own peril, because it’s hard to restore broken trust.

Ethical Considerations Everyone knows humans are prone to bias, and some people hoped that algorithms would provide an objective, unbiased and prejudice-free decision-making tool. Unfortunately it isn’t that simple. Machine learning predictions tend to amplify existing biases through a feedback loop rather than correct for it. Because of American history and demographics, in the United States many seemingly unrelated variables like income or zip code can actually correlate to and become unintended proxies for race. We have to be very careful and rigorous to avoid codifying further injustice into predictive models.

Free vs Expensive Data Predicting observable events tends to be free, as data for things like stock markets, clicks, and house numbers is readily available. But automating complex processes tends to be expensive.

Lecture 2

Video

(coming soon… in the meantime I’m practicing the basics of Python with these resources)

To make sure you don’t miss content like this, simply become a member and subscribe!

Python
Machine Learning
Free Course
Notes
Andreas Mueller
Recommended from ReadMedium