From b2d641102dba05d39038fc7e8e0e25885c2fd1de Mon Sep 17 00:00:00 2001 From: Jen Looper <jen.looper@gmail.com> Date: Tue, 30 Mar 2021 11:05:01 -0400 Subject: [PATCH] details on infographics --- 2-Regression/1-Tools/README.md | 2 +- 2-Regression/2-Data/README.md | 2 +- 2-Regression/3-Linear/README.md | 2 +- 2-Regression/4-Logistic/README.md | 12 +++++++----- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/2-Regression/1-Tools/README.md b/2-Regression/1-Tools/README.md index 1b4874e2..36b72126 100644 --- a/2-Regression/1-Tools/README.md +++ b/2-Regression/1-Tools/README.md @@ -1,6 +1,6 @@ # Get started with Python and Scikit-Learn for Regression models -> Sketchnote on three types of Regression +> Infographic on the types of Regression covered here: linear and logistic. Follow: https://en.wikipedia.org/wiki/Linear_regression#/media/File:Linear_regression.svg and https://en.wikipedia.org/wiki/Logistic_regression#/media/File:Logistic-curve.svg with explanatory graphics ## [Pre-lecture quiz](https://jolly-sea-0a877260f.azurestaticapps.net/quiz/5/) ## Introduction diff --git a/2-Regression/2-Data/README.md b/2-Regression/2-Data/README.md index ce35cb5f..c80e2fb9 100644 --- a/2-Regression/2-Data/README.md +++ b/2-Regression/2-Data/README.md @@ -1,6 +1,6 @@ # Build a Regression Model using Scikit-Learn: Prepare and Visualize Data -> Sketchnote on data and visualization +> Sketchnote on data and visualization - show several different types of visualizations common to the topic, such as these https://seaborn.pydata.org/examples/index.html ## [Pre-lecture quiz](https://jolly-sea-0a877260f.azurestaticapps.net/quiz/7/) ### Introduction diff --git a/2-Regression/3-Linear/README.md b/2-Regression/3-Linear/README.md index 377e86b3..d2115e7f 100644 --- a/2-Regression/3-Linear/README.md +++ b/2-Regression/3-Linear/README.md @@ -1,6 +1,6 @@ # Build a Regression Model using Scikit-Learn: Regression Two Ways -> Sketchnote on Linear vs. Polynomial Regression +> Sketchnote on Linear vs. Polynomial Regression - what's the difference? https://en.wikipedia.org/wiki/Polynomial_regression#/media/File:Linear_regression.svg vs. https://en.wikipedia.org/wiki/Polynomial_regression#/media/File:Polyreg_scheffe.svg ## [Pre-lecture quiz](https://jolly-sea-0a877260f.azurestaticapps.net/quiz/9/) ### Introduction diff --git a/2-Regression/4-Logistic/README.md b/2-Regression/4-Logistic/README.md index d9cdbf87..44d71f65 100644 --- a/2-Regression/4-Logistic/README.md +++ b/2-Regression/4-Logistic/README.md @@ -1,6 +1,4 @@ # Logistic Regression to Predict Categories - -> Sketchnote on Logistic Regression ## [Pre-lecture quiz](https://jolly-sea-0a877260f.azurestaticapps.net/quiz/11/) ### Introduction @@ -25,10 +23,14 @@ For our purposes, we will express this as a binary: 'Orange' or 'Not Orange'. Th Logistic Regression differs from Linear Regression, which you learned about previously, in a few important ways. ### Binary Classification -Logistic Regression does not offer the same features as Linear Regression. The former offers a prediction about a binary category ("orange or not orange") whereas the latter is capable of predicting continual values, for example given the origin of a pumpkin and the time of month, how much its price will rise. +Logistic Regression does not offer the same features as Linear Regression. The former offers a prediction about a binary category ("orange or not orange") whereas the latter is capable of predicting continual values, for example given the origin of a pumpkin and the time of harvest, how much its price will rise. + +> Infographic about binary classification using logistic regression for pumpkins ("orange or not orange") - like this, with new labels and maybe little pumpkin dots https://miro.medium.com/max/1586/1*Yiv9NLy06vzJoUhvC6uBTA.png ### Other Classifications -There are other types of Logistic Regression, including Multinomial and Ordinal. Multinomial involves having more than one categories - "Orange, White, and Striped". Ordinal involves ordered categories, such as if we wanted to order our outcomes logically, like our pumpkins that are ordered by a finite number of sizes (mini,sm,med,lg,xl,xxl). +There are other types of Logistic Regression, including Multinomial and Ordinal. Multinomial involves having more than one categories - "Orange, White, and Striped". Ordinal involves ordered categories, useful if we wanted to order our outcomes logically, like our pumpkins that are ordered by a finite number of sizes (mini,sm,med,lg,xl,xxl). + +> Infographic on the difference between multinomial vs. ordinal logistic regression in the context of our pumpkin dataset: there are images here for multinomial https://www.codespeedy.com/multinomial-logistic-regression-in-python/ and for ordinal check this out: http://fa.bianp.net/blog/static/images/2013/ordinal_1.png - you can show the pumpkin sizes in a line - the smaller, the more expensive by the bushel, for example. ### It's Still Linear @@ -101,7 +103,7 @@ sns.catplot(x="Color", y="Item Size", Now that we have an idea of the relationship between the binary categories of color and the larger group of sizes, let's explore Logistic Regression to determine a given pumpkin's likely color. -> infographic here +> infographic here (an image of logistic regression's sigmoid flow, like this: https://en.wikipedia.org/wiki/Logistic_regression#/media/File:Exam_pass_logistic_curve.jpeg) > **🧮 Show Me The Math** > -- GitLab