The ColumnTransformer -> Pipeline -> GridSearchCV is a powerful combination for building machine learning workflows in Python with scikit-learn.
See how it's done in my latest Kaggle ML notebook
github.com/tdpetrou/Kaggle/b…
Teddy Petrou retweeted
I want to give away 1,000 copies of the Zefs Guide to Deep Learning ebook! 🎅
Please retweet if you know anyone who wants to learn about the tech powering AI, ChatGPT, and Stable Diffusion🤖
Right now the ebook is free!
(or pay-what-you-want)
leanpub.com/zefsguide2dl/c/F…
The first app I ever built was Game Theory Optimal Poker where you play against a bot that mimics my own heads-up limit hold'em poker strategy. Close to 300,000 hands have been played - can you beat it? gametheoryoptimalpoker.com
Have you mastered selecting subsets of data in pandas?
Can you prove it?
Take our challenging Certification Exam - python.dunderdata.com
Teddy Petrou retweeted
Pricing dynamics are fascinating. I'm extending my pay-what-you-want experiment on my deep learning book, as it's been getting pretty positive results.
Please share with anyone who you think would benefit from learning about the concepts underlying all the current AI models!
Get a FREE copy of Zefs Guide to Deep Learning (ebook) right now!
...or pay whatever you'd like
Based on the positive response to my "pay-what-you-want" pricing experiment, I've decided to extend that for at least another month (Sep 2023).
zefsguides.com/
Teddy Petrou retweeted
Join our Most Badass QR Code Competition in our Discord!
💰 Show off your creativity and win big!
The winner gets $500 cash + $500 ThinkDiffusion credit!
💪 Unleash #GenerativeAI and create stunning #QRcodes. Click the link below for full rules #DesignChallenge #AIArt
Pandas Quiz
Very specifically, what is happening with the following subset selections and why does the first one work and not the second?
df[['col1', 'col2']]
df['col1', 'col2']
This takes deep knowledge of python and pandas
Teddy Petrou retweeted
Sulla was Rome's deadliest general.
He almost had young Julius Caesar executed.
But thousands loved Sulla, too.
9 keys to Sulla's effectiveness, that can make you just as deadly:
Think you've mastered every part of pandas for data analysis?
I've got exams that cover many different parts of the library:
• Selecting Subsets of Data
• Essential Commands
• Grouping
• Time Series
certificates.dunderdata.com/…
Very excited to announce the release of Game Theory Optimal Poker for Android.
Play heads-up limit Texas Hold'em Poker against an AI I implemented from my poker playing days.
play.google.com/store/apps/d…
A disappointing first test of Pandas 2.0. Arrow backend data types have terrible rowwise performance. Here, they are 250x slower than default pandas and well over 1000x slower than numpy arrays.
The pandas crosstab function has one key extra feature that the pivot_table method does not - normalization!
In this example, both compute an aggregation, but crosstab is able to go further and normalize the result across rows.
Looking to master the fundamentals of Python without knowledge gaps?!? Try my course. 4.8 stars on Udemy. 30 hours of video, 200 exercises, multiple projects, and a challenging certification exam
udemy.com/course/master-fund…
One specific example of how Pandas can be very confusing to beginners. The square brackets select COLUMNS when passed a list of names, but then also select ROWS when passed a boolean Series.
Making some final edits to Master Data Analysis with Python. The book will be published (hardcopy) later this year. You can get the digital copy now with videos, exercises and certification exams here dunderdata.com/master-data-a…
I outline five simple steps for doing data exploration in a Jupyter Notebook. These will help you keep your notebook clean and exploration easy to follow
youtube.com/watch?v=rY1eJ90j…
I'm hosting a live in-person Introduction to Python at The Ion in Houston this evening at 6 pm. Come out and get introduced to the most popular programming language today! meetup.com/houston-data-scie…
Interested in learning how to install Python? Here's my new video series on doing so with Anaconda
youtube.com/playlist?list=PL…




















