My 100 days of ML code - Round 1
A diary type post of my 100 days of Machine learning code #100DaysofMLcode. Read below project list micro blog posts about each day.
Day 1 β
Start phase 1: Quick implementations and accelerated learning
Continue learning about classification models in scikit learn.
I did a couple of k-NN implementations as I Continue working through common classification models in sklearn. I had done an iris k-NN before but using an external dataset let me use Label Encoders!
Code for the day:
Day 2 β
Went to a Python Meetup discussing time series forecasting at scale with FB Prophet so I thought I would do an implementation using it. Used it on a Chicago crime dataset.
Read more about forecasting at scale with prophet here.
Read more about Time series here.
Find the github for Facebook prophet here.
Code for the day:
Day 3 β
Another prophet forecasting implementation on one of the most important commodities π₯ Avocados! The price looks like its dropping over all across the US but rises across west coast regions. Iβll never be able to buy a house #millennial
Refreshed on some SQL and updating content on a SQL workshop
Code for the day:
Day 4 β
Learned more about using decision trees and random forests also about text feature extraction with sklearn CountVectorizer. Used this to predict is a customer reviews on Alexa were positive or negative.
Dataset used: Kaggle Amazon Alexa Reviews
Code for the day:
Day 5 β
More Random Forests
More Decision Trees and Random Forests. Iβm really impressed with the random forest results! Used this Kyphosis Kaggle dataset and visually it seems very hard to classify data points, but the classifier worked well. Cool to see how much better the random forest performed vs just the decision tree.
Dataset used: Kaggle Kyphosis
Code for the day:
Day 6 β
Built Naive Bayes classifier on Email dataset to detect spam / not spam.
Also used Naive Bayes classifier a credit card dataset to detect fraud.
Completed Machine Learning Classification Bootcamp in Python
Code for the day:
Day 7 β
1 week down! π
Today was a good refresher on performing linear regression with scikit learn.
I Performed 2 simple linear regression case studies. Temperature vs. ice cream revenue (relevant today in Seattle) & Horsepower vs fuel consumption.
Code for the day:
Day 8 β
Learn about Regression performance indicators
- Mean Squared error (MSE)
- Root mean squared error (MSE)
- Mean Absolute Percentage Error(MAPE)
- Mean Percentage Error(MPE)
- R squared
- Adjusted R squared -
- Bias & Variance Tradeoff
Implemented Polynomial Regression with Scikit learn on Salary Data and Manufacturing price Data
Worked on setting up a Style GAN for next iteration of a project
Neat reads:
Collection of Machine learning and Datat Science notebooks
Code for the day:
Day 9 β
Implemented 2 Multiple Linear regression Models
I learned to Calculate & Use:
- Mean Squared error (MSE)
- Root mean squared error (MSE)
- Mean Absolute Percentage Error(MAPE)
- Mean Percentage Error(MPE)
- R squared
- Adjusted R squared
Read up on WGANs for a side project. WGANs sound like the might be a good option for what I need:
WGAN reading material:
Code for the day:
DataSet used Kaggle Admission Dataset
Day 10 β
Play around with more linear regression. Seeing what limiting features does to a model.
Reviewed Logistic Regression & Confusion Matrix results
Lots of planning for Learning Roadmap!
Started Mathematical Notation by Edward Scheinerman to help with reading more advanced machine learning material and technical papers.
Reviewed Projects from last month:
Code for the Day:
Day 11 β
Implemented a Regression Artificial Neural Network to predict house prices in king county(Seattle). I have more tuning to do on it tomorrow for better results.
Dataset: King county House data
Code for the Day:
Day 12 β
Super busy today so I woke up at 6 to get my study time in.
Tuned the neural network I worked on last night to perform much better at prediction.
Implemented Lasso & Ridge Regression.
Day 13 β
More focus on theroy today over fininshing project
Started reading Generative Deep Learning and planning out other details to continue on a GAN project.
Started implementing a Artificial Neural Network to predict car sales. (Regression)
Code for the Day:
Day 14 β
Finished artificial neural network for another regression task
Started on a convolutional neural network for classification on the cifar datset.
Code for the Day:
Day 15 β
Finished a Convolutional neural network(CNN) for the cifar data-set.
Messing around a lot with tuning a CNN and refreshed on data augmentation.
Very excited to dive more into Deep Learning & Computer vision soon!
This data engineering repo / book looks great
Code for the Day:
Day 16 β
Started on a Traffic sign classifier using a the LeNet architecture. LeNet Paper
Code for the Day:
Day 17 β
Finished a traffic sign classifier with a convolutional neural network and LetNet with decent initial results. Taught a class on web scraping with python.
Code for the Day:
Day 18 β
Trained first reinforcement learning model for AWS Deepracer leagues!
Started on a Yelp classification project using NLTK
Loosing a bit of steam the past 2 days, looking to build it back up this week(tips?)!
Code for the Day:
Day 19 β
Worked on exploring dataset for yelp NLP project using Pandas and Seaborn.
Acquired a neat hardware dev kit Iβm excited to work on this coming week.
Code for the Day:
Day 20 β
Worked more on an Yelp review classifier using some very basic NLP with NLTK and naive bayes.
Moving AWS deepracer work to next weekend to accommodate for some things that came up!
Code for the Day:
Day 21 β
finished Yelp basic NLP project
Finished a basic movie recommender using collaborative based filtering
started setting up hardware devkit to play with this week
Code for the Day:
Day 22 β
Started on classifier for Fashion MNIST dataset using a convolution neural network(CNN)
Reviewed some python and pandas functions
Busy day but still squeezed in an hour, I got this! π
Code for the Day:
Day 23 β
Day23 worked a little bit more on the fashion classifier.
Planned out some more interesting personal projects
Made a big decision that was kind of stressing me out, so should be able to focus more!
Code for the Day:
Day 24 β
Study session with Jay!
Reviewed regression and classification models in sklearn
Taught intro to machine learning workshop
Code for the Day:
Day 25 β
Code for the Day:
Day 26 β
Finished fashion MNIST classifier.
Deep fashion dataset looks awesome to try sometime soon!
Code for the Day:
Day 27 β
Spent time refactoring some previous code and adding context to READMEs. Will probably do this tomorrow too before moving on to my Phase 2 focus: Computer vision!
Code for the Day:
Day 28 β
Project refactoring and making sure I can export jupyter notebooks to my website (tables and code snippets are scrollable on mobile)
Code for the Day:
Day 29 β
day29: Got a WGAN & WGAN-GP up and running thanks to the book βgenerative deep learningβ
Awesome to see how fast it started making faces. This was just over 300 epoch and a dataset of only 1700 faces. Even if they kind of look like nightmaresβ¦
Code for the Day:
Day 30 β
β³Worked over an hour this morning trying to figure out a problem on GAN.
βCanβt.
π»Go to work.
π Come back home.
β Fix the problem in 1 minuteβ¦
The brain is crazy!
Code for the Day:
Day 31 β
WGAN from before is now generating 224px higher quality images., making some really interesting art pieces!
Read about 1/3 of first book in Deep Learning for computer vision series.
Code for the Day:
Day 32 β
More reading on #DeepLearning for computer vision
a little more work on WGAN
Helped someone on django app at PuPPy programming night
I promise some more juicy code and projects are coming soon!
Code for the Day:
Day 33 β
Messing around with OpenCv (its been awhile)! Refactoring some previous projects.
If youβve made a portfolio of ML/Data projects I would love to see it! Looking for inspiration and new formats!
Code for the Day:
Day 34 β
Refactored more previous projects
Research for a web scraping project (To be used in future computer vision projects)
Code for the Day:
Day 35 β
Deep Learning for Computer Vision 1
Day 36 β
Deep Learning for Computer Vision 2
Day 37 β
Deep Learning for Computer Vision 2
Day 38 β
Deep Learning for Computer Vision 2
Day 39 β
Deep Learning for Computer Vision 2
Day 40 β
Deep Learning for Computer Vision 2
Day 41 β
Deep Learning for Computer Vision 2
Day 42 β
Deep Learning for Computer Vision 2
Day 41 β
Deep Learning for Computer Vision 2
Day 42 β
Deep Learning for Computer Vision 3
Day 43 β
Deep Learning for Computer Vision 3
Day 44 β
Deep Learning for Computer Vision 3
Day 45 β
Deep Learning for Computer Vision 3
Day 46 β
Deep Learning for Computer Vision 3
Day 47 β
Deep Learning for Computer Vision 3
Day 48 β
Deep Learning for Computer Vision 3
Day 49 β
Deep Learning for Computer Vision 3
Day 50 β
HALF WAY!
Round out on resources for application & theory
Start planning more serious projects
Day 51 β
Phase 3
Day 52 β
Day 53 β
Day 54 β
Day 55 β
Day 56 β
Day 57 β
Day 58 β
Day 59 β
Day 60 β
Day 61 β
Day 62 β
Day 63 β
Day 64 β
Day 65 β
Day 66 β
Day 67 β
Day 68 β
Day 69 β
Day 70 β
Day 71 β
Day 72 β
Day 73 β
Day 74 β
Day 75 β
Day 76 β
Day 77 β
Day 78 β
Day 79 β
Day 80 β
Day 81 β
Day 82 β
Day 83 β
Day 84 β
Day 85 β
CAPSTONE type Project(s)
Day 86 β
Day 87 β
Day 88 β
Day 89 β
Day 90 β
Day 91 β
Day 92 β
Day 93 β
Day 94 β
Day 95 β
Day 96 β
Day 97 β
Day 98 β
Day 99 β
Day 100 β
DONE!!
Completed Projects & Case Studies during 100 days:
Phase 1: Learn & Implement Basic Machine Learning & Deep Learning Models
- Iris Classification - kNN
- T-Shirt Classfication- kNN
- Chicago Crime Rate time series forecast - FBprophet
- Avocado Price forecast - FBprophet
- Alexa Amazon Review Classfication - Random Forest
- Kyphosis Prediction - Random Forest
- Email Spam Classifer - Naive Bayes
- Credit Card Fraud - Naive Bayes
- Icecream vs. Temp - Simple Linear Regression
- Fuel Consumption vs. horsepower - Simple Linear Regression
- Salary Prediction with Polynominal Regression
- Price vs Manufacturing - polynomial Regression
- stock employment - multiple regression
- Admissions - multiple regression
- Seattle House price prediction-ANN-Regression
- house predict - lasso & ridge-regrssion
- WGAN Testing
- Car Sales Prediction - ANN
- cifar imageclassifier - CNN
- Traffic sign classifier
- Yelp classification - NLTK
- Movie Recommender - collab filtering
- Fashion MNIST
If you have any questions about this post or want to stay connected find me at:
Email Github Twitter LinkedIn