Code Monkey home page Code Monkey logo

ml-foundations's Introduction

Hello! I'm Jon Krohn, Chief Data Scientist at the machine learning company Nebula, and I share my passion for my vocation by creating:

  • 📚 Books — My first, Deep Learning Illustrated, was an instant #1 bestseller that was translated into seven languages. It is used for introductory courses on deep learning at universities around the globe.
  • 🎙 Podcasts — I host SuperDataScience, a technical (but nevertheless lighthearted) program on machine learning applications. With four million downloads per year, it is the most popular show in the data science industry.
  • 🎥 Videos — I present tutorials with accompanying open-source code, e.g., as part of my machine learning courses. My Udemy course has over 100,000 students and my YouTube channel was recognized with the 2021 Data Community Content Creator Award for the AI/ML category.
  • 🕺 Lectures — As cataloged on the talks page of my website, I regularly teach classes online via O’Reilly as well as providing lectures in-person at world-leading universities, conferences, and companies.

Staying in Touch

Email newsletter: To stay up to date on my latest open-source code (key repos I've created are pinned below), free video courses, podcasts, public lectures, books, and upcoming live trainings, the one sure way to avoid missing anything is to sign up for my email newsletter on my homepage here.

You're also most welcome to engage with me on:

Keep on rockin’ it out there and hope to catch ya soon! 🎸

ml-foundations's People

Contributors

jonkrohn avatar pitmonticone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ml-foundations's Issues

Where are the section 7-8 YouTube videos for the ML Foundations course?

Discussed in #7

Originally posted by ScoobyQ May 28, 2023
Hi,
Does anyone have the links, please?

I can see the notebooks on GitHub:

The YT videos seem to end during section 6 with:

Code "from sklearn.datasets import load_boston" in 6-statistics.ipynb in Ordinary Least Squares Exercises Section is throwing Error in CoLab because `load_boston` has been removed from scikit-learn since version 1.2

Code "from sklearn.datasets import load_boston" in 6-statistics.ipynb in Ordinary Least Squares Exercises Section is throwing Error in CoLab because load_boston has been removed from scikit-learn since version 1.2

File : https://github.com/jonkrohn/ML-foundations/blob/master/notebooks/6-statistics.ipynb

Section : Ordinary Least Squares Exercises

Code :
from sklearn.datasets import load_boston

Error :
ImportError Traceback (most recent call last)
in <cell line: 1>()
----> 1 from sklearn.datasets import load_boston

/usr/local/lib/python3.10/dist-packages/sklearn/datasets/init.py in getattr(name)
154 """
155 )
--> 156 raise ImportError(msg)
157 try:
158 return globals()[name]

ImportError:
load_boston has been removed from scikit-learn since version 1.2.

The Boston housing prices dataset has an ethical problem: as
investigated in [1], the authors of this dataset engineered a
non-invertible variable "B" assuming that racial self-segregation had a
positive impact on house prices [2]. Furthermore the goal of the
research that led to the creation of this dataset was to study the
impact of air quality but it did not give adequate demonstration of the
validity of this assumption.

The scikit-learn maintainers therefore strongly discourage the use of
this dataset unless the purpose of the code is to study and educate
about ethical issues in data science and machine learning.

In this special case, you can fetch the dataset from the original
source::

import pandas as pd
import numpy as np

data_url = "http://lib.stat.cmu.edu/datasets/boston"
raw_df = pd.read_csv(data_url, sep="\s+", skiprows=22, header=None)
data = np.hstack([raw_df.values[::2, :], raw_df.values[1::2, :2]])
target = raw_df.values[1::2, 2]

Alternative datasets include the California housing dataset and the
Ames housing dataset. You can load the datasets as follows::

from sklearn.datasets import fetch_california_housing
housing = fetch_california_housing()

for the California housing dataset and::

from sklearn.datasets import fetch_openml
housing = fetch_openml(name="house_prices", as_frame=True)

for the Ames housing dataset.

[1] M Carlisle.
"Racist data destruction?"
https://medium.com/@docintangible/racist-data-destruction-113e3eff54a8

[2] Harrison Jr, David, and Daniel L. Rubinfeld.
"Hedonic housing prices and the demand for clean air."
Journal of environmental economics and management 5.1 (1978): 81-102.
https://www.researchgate.net/publication/4974606_Hedonic_housing_prices_and_the_demand_for_clean_air

NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.