Preparing Pandas Dataframes for Machine Learning || Python Machine Learning PT.2

preview_player
Показать описание
So before you jump right into the deep end with machine learning you need to work out what to do with your data. This is where data preparation comes in. It's where you'll probably spend 80% of your time when working on Data Science projects but it's often also where you're able to contribute the most value.

Data preparation is often where you fix data types, perform scaling, create new features and prepare your data for modelling.

In part two of the Python Machine Learning Regression series you'll learn how to:
- Cast columns to new data stypes using df[col].astype()

Other Resources

Oh, and don't forget to connect with me!

Happy coding!
Nick

P.s. Let me know how you go and drop a comment if you need a hand!

Music by Lakey Inspired
Рекомендации по теме
Комментарии
Автор

Awesome video, thanks a lot! Just couldn't move on without figuring out what the tweak was. For those like me who just found this great channel and are wondering what the tweak is:
comment out this line to add the account data back to the dataset:
#df =
That's the Account that had the weird line plot ;)

jessicahaire
Автор

Bro i love your videos, i hope you become a big viral youtuber, Greetings from Mexico City

NothingThanMusicRecords
Автор

One of the best videos I have seen that actually goes from the beginning, now there were some areas that I was lost, but that is okay as I am beginning to learn about ml less than a couple of week. I like these type of multiple variable regression modeling where we predict a price. I am going to be watching your video again to do with my data as you did to try to get more accurate responses. My first ml model was using Google's AutoML but no control

aiautoglasscrm
Автор

It´s great video so, do you have next videos or next step about modeling in your channel ?? .... thanks a lot

didimoescobar
Автор

Thx for the awesome tutorial. One question: any preference to use the IneHotEncoding function over getDummies? Also can all the 0 values after the transformation potentially cause problems for some models?

harryfeng
Автор

Hi! Thank you so much for this video. I was able to clean and make a dataframe like yours at the end. My question is, what kind of model should I run this dataframe on? Thank you in advance.

choichoi
Автор

Hi. Thank you for the amazing video. I've got a slight question, what happens if the "estimator" argument is not specified in the sns.lineplot function?

lanxiangwen
Автор

hello sir very insightful video. can you create one for creating data and labeling?

developercontact
Автор

Pls why did you form accountval and then drop it with account description

art----godsown
Автор

Goodday bro i can't find the dataset you used for the project, please can you send me a link to the dataset?

chigoziejacob