Some people had problem downloading the CSV file. I added it to a GitHub repository you can access here: github.com/mosh-hamedani/python-supplementary-materials
for info: 1) At 32:52, to avoid UserWarning: X does not have valid feature names, we need to train the model with the values of input_dataset. i.e, use X.values instead of X in model.fit(X.values, y). 2) 42:04, joblib is now a seperate py package. we now need to import it as import joblib rather than from skilearn.externals. Anyway thanks Mosh for another great tutorial..
45:00 to visualize the decision tree right in the jupyter notebook. tree.plot_tree(model, feature_names = ['age', 'gender'], class_names = sorted(y.unique()), filled = True)
@@azariahazane4101 double check you copied it down correctly, tree.plot_tree(model, feature_names = ['age','gender'], class_names = sorted(y.unique()), filled = True) Copy and paste that because I know mine works
@@programmingwithmosh sir I have a query regarding machine learning recently I have done a smoke absorber machine project ,but I have a dialemma that whether I can apply Machine learning concept to that project and how to apply ??. Can you Please help me out sir.??
i thought to myself “i’ll watch a video in bed to fall asleep” - ended up watching the whole thing and realised how easy it is to get started with machine learning! thank you for the amazing video
What I find fascinating is how schools struggle to teach kids because the teachers hate their job and don't want to be there along with the students, but you go to RUclips and you find enthusiastic, detailed, videos along with people who legitamently want to help people learn. Then turn around and teach others how to do what they were taut and all that for the low low price of a like, comment and subscribe. I learn and use very very little of what I learned in school, but I know and learned so much more from RUclips. I know alot about Python, HTML, and Unity, SQL Database, Hacking, Pentation testing, building, home repair, car repair, and robotics ALL OF IT from RUclips not school. Thank You!
Modern teaching requires modeling, hands-on training and right to the point - step-by-step like you would do at a real the job. I believe Mosh is a natural born teacher who puts students first. He’s a true master of his craft. I want to enroll in you data science class. You are simply the best.
From about 43:30, You can also plot the decision tree in Jupyter without creating a dot file. Just replace the tree.export_graphviz method with tree.plot_tree and leave out the "out_file" kwarg.
Nope, tree.export_graphviz did not work for me. used graphviz preview by EFanZH after exiting VSCode, did the following: a) Installed GraphViz (for all users) either directly from the marketplace or via the VSCode extension install method - I prefer the direct install for this one… but…. powershell install is another way using ===>> winget install graphviz b) in powershell, verified it was up with dot -V c) edited the system PATHs (both of them) in environmental variables, using: C:\Program Files\Graphviz & C:\Program Files\Graphviz\bin for both PATH sections d) restarted the PC (just in case) e) opened VSCode There it is…
I am a university student. I was not good at programming in my first year, and always receive the less grade for programming. Then I followed your several courses. Now I am good at programming as well as other CS subjects. Thank you so much. Following your courses will make subject knowledge, how to learn programming, and how to think as a programmer. Highly recommend your all courses....❤
I am not going to lie, but that was one of the best video tutorials I have seen on ML. I kept on thinking that ML would be beyond me, but I ,amaged to grasp the fundamentals and understood further. Thank you so much for this. You have a subscriber.
Dude you are literally amazing, few months ago I bought your Python Mastery Course now you uploaded this for free, you are saving millions of people (by getting jobs) lol
i thought to myself “i’ll watch a video in bed to fall asleep” - ended up watching the whole thing and realised how easy it is to get started with machine learning! thank you for the amazing video
41:00 those who wondering why the joblib module is not working, please note that joblib is not included in scikit's new versions. if you have anaconda, just directly import joblib and use it else do "pip install joblib".
@@SaurabhSingh-kc8tm Nope. You have to learn more things gradually. This is the first step to make a strong base in ML using python. After that you can watch Videos from Coursera - Machine Learning (University of Stanford) - By Andrew NG
Your assumptions in the kind of music liked based on age prediction,It's quite true. Building a model of such truly shows that you are one of the best guys who totally know what he does for real. Mosh, I doff my hat. Just keep it rolling !
I watched it completely... In parallel, I have practised the code, and executed and understood every line of the CODE. Highly recommended ML with the PYTHON Tutorial video
Awesome video! Not only the video provided fast track intro into the world of machine learning, but also creates interest in us to learn it even if we weren't interested before. Great stuff Mosh!
You are the only one in RUclips who actually made ML for beginners so much understandable. It will be a sin if I do not acknowledge you. Thanks for your tutorial. Just awesome.
0:39:41 Persisting Models: I couldn't save my model because of this line: 'from sklearn.externals import joblib'. You may encounter this error: 'cannot import name 'joblib' from 'sklearn.externals''. I replaced that line with direct import 'import joblib', and it solved the issue.
Your was the best course I've taken in programming. It even solves my other problems that I had with python that even google couldn't answer me. Thanks.
I recently took some advanced ML courses partially but was unsure of how to handle real-world data even if I finish the course, but this basic course gave me a great foundation and the confidence to understand how machine learning works. Thank you so much for your help.
You're a gifted teacher Mosh. I lost your channel on my old RUclips account, I just found your channel again. Do you have a longer machine learning tutorial covering clustering, classification, neuro networks, and logical regression?
One of the best I have seen. The video has clear sound and it is easy to follow. You cut the unnecessary stuff out so we don’t get distracted or overwhelm by the small tiny detail that might not be important at the moment.
HELLO MOSH PLEASE CONSIDER MAKING MORE VIDEOS ON MACHINE LEARNING LIKE THIS,YOU'RE MY FAVOURITE AND BEST INSTRUCTOR,YOUR WAY OF INSTRUCTING IS TO ANOTHER LEVEL.THANKS VERY MUCH FOR THIS! HOPING MORE IS COMING FROM YOU ON THIS FIELD
Hey Mosh, your contents and teaching style are straightforward and easy to follow. It would be great help if you do some tutorials based on medical imaging (CT,MRI) data! I am having difficulties in dealing with those. Thank you!
That's one of the cool things about machine learning and why I want to get into it; it is applicable to virtually every subject matter and field. For Mosh to do specific use cases, I suppose they would have to become common or popular enough for him to do a video tutorial. He could also place it behind a pay wall as he does have lots of more in=depth content that costs money; check the description for links if you're interested.
MOSH HAMEDANI YOU GENIUS. PLEASE MAKE MORE DATA SCIENCE CONTENT. I'M VENTURING INTO THE FIELD AND MOST TUTORIALS THAT I WATCH ARE ALWAYS DIFFICULT TO UNDERSTAND. WITH YOU IT'S LIKE I UNDERSTAND EVERY WORD YOU SAY.
This was excellent material! Nice to see how well planned and put together this whole thing was. Very professional content! And it actually got me to open my laptop to download jupyter to try this out...and start learning python along the way lol! I come from programming background so not too worried about that, I just mention this as a testament to this video and as feedback to the appeal it had for this particular viewer. 👍
Python is so strong,with few lines of code you can build a predictive decision tree modal. I am not a programmer , I'm self learner about data analytics and science , but I use python for data analytics and forecasting in my marketing job and results are very accurate. This tutorial is amazing way to get away with data science and machine learning tasks.
At 41:06, where Mosh types 'from sklearn.externals import joblib', I (and many other people) get the error that the module could not be found. The fix is to import joblib directly like: 'import joblib as jb' and use it as 'jb.dump(.........)' later on.
Mister Mosh, thank you for all of the easy to follow tutorials that you make for us, please keep keep up the good work, i hope you post more courses (preferably in python) :)
I'm so glad I stumbled upon this. You are amazing! This was very pleasant and easy to follow. I learned a ton and I especially like that you took us through your thought process while examining the music data set, too. Thank you very much! Subscribed.
the 3 dots in VS Code at 46:47 no longer provide the "Open Preview to the Side" and the shortcut "command K V" also don't lead to the decision tree... if anyone has an idea how to fix this, please lmk. Thank you
Mosh, i don't know how to say thanks to you. I have really benefitted from your tutorials so much. They include sql, react and some others. I'm from Nairobi, Kenya
Thanks for doing this!!!! You mastered the art of content creation. I was asking you to do this for a quite long time. Looking forward to an end to end ML & DL COURSES.
I love the way you teach. Repeatedly just stretching the topic a bit more...a bit more...a bit more. So straight forward to follow (Though still working on some of my understanding) and your explanations along the way are so relatable and understandable. Awesome dude!
MOOOOOSH! I found you earlier this week and bought your Python course. You teach so simply and clearly, thank you! Will you be coming out with a Machine Learning full course on your site soon? I need it yesterday!
Thank you so much for the tutorial.❤ import pandas as pd from sklearn.tree import DecisionTreeClassifier from sklearn.model_selection import train_test_split from sklearn.metrics import accuracy_score music_data = pd.read_csv('music.csv') x = music_data.drop(columns=['genre']) y = music_data['genre'] x_train, x_test, y_train, y_test = train_test_split(x, y, test_size=0.2) model = DecisionTreeClassifier() model.fit(x_train, y_train) predictions = model.predict(x_test) accuracy = accuracy_score(y_test, predictions) accuracy
You seem to be genuinely joyful when teaching ML. I appreciate this. Also your clear voice and style makes it easy to follow for a person with my kind of hearing flaw. BL.
For all the windows users, the music_data file in the description of this video will not work when you will import it in jupyter notebook. So simply, open this zip file in your file explorer and delete an extra folder from the file named as ' __MACOSX '. Next re-run your program, and it will work :)
This is the type of thing I have to read, watch ask questions. Your video is a great presentation, repeating a lot of what I have already read/been taught. It is nice to see the same information presented multiple ways. Thank you
Mosh sir is amazing. Easy to understand what he saying and his explanations are great. Wish you a good life sir from Singapore. As i was a new developer i searched for bunch of tutorials courses etc. but i didn’t got any good source to learn. Finally i found Mosh sir. Now I’m a programmer work in a company. If some one asks me about a source to learn programming my first word is Programming with Mosh. Thank you very much sir.
Mosh, do you mind sharing your learning methods? I'm impressed on how you can learn so many different language/framework but still master them. Thank you.
When your flutter course is going release. Please mosh you are the greatest teacher I have ever in my life. Please tell us when your flutter course is going release. Can't wait for it... please
Thank you very much. been developing for a long time, mostly web. Wanted to learn machine learning for a while but didn't know how to start. Your tutorial was a great first step the learn the basics.
As Windows User I could only display the decision tree at the end of the video by the use of "Graphviz Interactive Preview" by "tintinweb". Then a very small "dot" icon brought up the visualization
Hi Mosh, Me and my friends have been watching most of your content of the python (the previous videos), we are currently leading C and C++, our professor is super fast and boring ,as it's his first class and he just completed his PhD, I request you to atleast upload C language, you explain really well and systematically, he is just jumping from loops to arrays, explaining basics for a few minutes and starts to write lengthy codes. Please upload C language related content, It will be really helpful.
Some people had problem downloading the CSV file. I added it to a GitHub repository you can access here: github.com/mosh-hamedani/python-supplementary-materials
Hi, I can't find the csv here either.
its a different file in there called music csv. The vgsales.csv file is not linked there
Cant find the data there
file
for info:
1) At 32:52, to avoid UserWarning: X does not have valid feature names, we need to train the model with the values of input_dataset. i.e, use X.values instead of X in model.fit(X.values, y).
2) 42:04, joblib is now a seperate py package. we now need to import it as import joblib rather than from skilearn.externals.
Anyway thanks Mosh for another great tutorial..
Thanks for the help!
Welcome
Thank you!
Thank you, kind person! God bless you!
thanks
45:00 to visualize the decision tree right in the jupyter notebook.
tree.plot_tree(model, feature_names = ['age', 'gender'],
class_names = sorted(y.unique()),
filled = True)
lifesaver
YOU ARE THE MAN
how did you figure that out? I was stumped until I saw your comment. Thank you so much.
doesn’t work for me. it says list object has no attribute
@@azariahazane4101 double check you copied it down correctly,
tree.plot_tree(model, feature_names = ['age','gender'],
class_names = sorted(y.unique()),
filled = True)
Copy and paste that because I know mine works
I haven't come across a tutorial that helps a complete beginner understand Machine Learning like this video. Its super simplified. Thanks a million.
Use Kaggle, it really helped me out a lot
share it with us plz
I'm so happy that you started giving courses on machine learning. I appreciate your clear teaching style.
@@programmingwithmosh, Do you have a full course in this subject please?
@@programmingwithmosh sir I have a query regarding machine learning recently I have done a smoke absorber machine project ,but I have a dialemma that whether I can apply Machine learning concept to that project and how to apply ??. Can you Please help me out sir.??
Yes I agree. Knowledge point to point. We love Moshs' teach style. Lots of Love from Nepal 🎉😘💐
@@programmingwithmosh I was wondering if you could make more Machine Learning project videos
hey, I can't find his machine learning course. can you please share the link.
i thought to myself “i’ll watch a video in bed to fall asleep” - ended up watching the whole thing and realised how easy it is to get started with machine learning! thank you for the amazing video
I’m literally doing the exact same thing lol. It’s 3:28 am
@@codyhaeysits 3:37 now here😅😂
is there any more video to get more advanced with this machine learning?
@@codyhaeys3:18 right now here
Dude, ive been working with python for 2 years and never really dove into machine learning. This was such a cool tutorial thank you!
What I find fascinating is how schools struggle to teach kids because the teachers hate their job and don't want to be there along with the students, but you go to RUclips and you find enthusiastic, detailed, videos along with people who legitamently want to help people learn.
Then turn around and teach others how to do what they were taut and all that for the low low price of a like, comment and subscribe. I learn and use very very little of what I learned in school, but I know and learned so much more from RUclips. I know alot about Python, HTML, and Unity, SQL Database, Hacking, Pentation testing, building, home repair, car repair, and robotics ALL OF IT from RUclips not school.
Thank You!
You are the reason why I started programming. I'll never forget the things you've done to help me.
Same bruhhhh !!!!!!!!!!
me3
Is this tutorial useful for someone who is beginning in data science?
@@Intellectual_House yes, for people like me who have been intro android for a while
@@codespear could you recommend me any data science with python channel?
Modern teaching requires modeling, hands-on training and right to the point - step-by-step like you would do at a real the job. I believe Mosh is a natural born teacher who puts students first. He’s a true master of his craft. I want to enroll in you data science class. You are simply the best.
Df _..... Plz how can find this in clavier (df _ pd.read_csv(vgsales.csv)
_ is not work with color pink
From about 43:30, You can also plot the decision tree in Jupyter without creating a dot file. Just replace the tree.export_graphviz method with tree.plot_tree and leave out the "out_file" kwarg.
excellent, 100% working Thanks
Thank you! This is useful, because somehow the option: "open preview to the side" didnt show up for me
@@yahalo4409 Same... Very annoying
It works. Thank you! I have the same problem that "Open review to the side" didn't show up.
Nope, tree.export_graphviz did not work for me.
used graphviz preview by EFanZH
after exiting VSCode, did the following:
a) Installed GraphViz (for all users)
either directly from the marketplace or via the
VSCode extension install method - I prefer the direct install for this one… but….
powershell install is another way using ===>> winget install graphviz
b) in powershell, verified it was up with dot -V
c) edited the system PATHs (both of them) in environmental variables, using: C:\Program Files\Graphviz & C:\Program Files\Graphviz\bin for both PATH sections
d) restarted the PC (just in case)
e) opened VSCode
There it is…
I finally got a video explaining only the topic of machine learning with python! Thank you very much Mosh! Really love this channel :)
I am a university student. I was not good at programming in my first year, and always receive the less grade for programming. Then I followed your several courses. Now I am good at programming as well as other CS subjects. Thank you so much. Following your courses will make subject knowledge, how to learn programming, and how to think as a programmer.
Highly recommend your all courses....❤
Words are not enough to appreciate what you present in your channel, I do believe you are number one in programming.
completely agree
Mosh You're really helping the students which cannot afford the costliest courses online. Thanx, a lot mosh, you're such an amazing person.
I've watching many videos about python, machine learn, sci-kit learn, computer languages and I think your videos are the best, highly didactical.
Finally, I found something practical rather than theoretical.
Thank you sir😇
Any other good videos ?
I am not going to lie, but that was one of the best video tutorials I have seen on ML. I kept on thinking that ML would be beyond me, but I ,amaged to grasp the fundamentals and understood further. Thank you so much for this. You have a subscriber.
Dude you are literally amazing, few months ago I bought your Python Mastery Course now you uploaded this for free, you are saving millions of people (by getting jobs) lol
i thought to myself “i’ll watch a video in bed to fall asleep” - ended up watching the whole thing and realised how easy it is to get started with machine learning! thank you for the amazing video
Why did you copy someone else's comment? Are you incapable of generating original thought?
@haydenshirley8152 i noticed it too. But honestly, save your energy on these things. Comments is just comments.
data analysts should be charged for animal trafficking,, as they import pandas and feed them to python.
Hahaha that's funny
good sense of humour :)
we are laughing; really
Funny guy I like it
@@Abdul1999- 🤪🤭
41:00 those who wondering why the joblib module is not working, please note that joblib is not included in scikit's new versions. if you have anaconda, just directly import joblib and use it else do "pip install joblib".
You are the best teacher please make a full course on machine learning and deep learning.
Yeah mosh please we need machine learnings full course
@@mohammedfawaaz693 agreed!!!!!
@@mohammedfawaaz693 Yes agree tensorflow, keras and scikit learn.
Have patience there are other tutorials out there if you really need it now
@@bijoyketonWe want moshs style of explanation of machine learning viz best
You're one of the best teachers ever!
Please make more Machine Learning videos.
Thank you for this!
Thank you man ❤️ after completing your 6 hours python course. I loved the way you teach 🤩 This is what I'm waiting for 😍 Thank you Mosh 😊
Same here.Thanku Mosh!
is this enough video for machiine learning with python?
@@SaurabhSingh-kc8tm Nope. You have to learn more things gradually. This is the first step to make a strong base in ML using python. After that you can watch Videos from Coursera - Machine Learning (University of Stanford) - By Andrew NG
@@ammaraltaf8332any other good video to suggest for more data science learning ?
I am a little bit lost and need some orientation 😢
Your assumptions in the kind of music liked based on age prediction,It's quite true. Building a model of such truly shows that you are one of the best guys who totally know what he does for real. Mosh, I doff my hat. Just keep it rolling !
I watched it completely... In parallel, I have practised the code, and executed and understood every line of the CODE.
Highly recommended ML with the PYTHON Tutorial video
Awesome video! Not only the video provided fast track intro into the world of machine learning, but also creates interest in us to learn it even if we weren't interested before. Great stuff Mosh!
You are the best teacher I've ever come across. You're better than our lecturers, lecturers teach us only to pass exams.
Great you are the best instructor and software engineer in the world you teach the best course in the world 😎😎😎👍👍👍👍👌👌👌👌✌✌🔥🔥🔥☄☄☄
You are the only one in RUclips who actually made ML for beginners so much understandable. It will be a sin if I do not acknowledge you. Thanks for your tutorial. Just awesome.
0:39:41 Persisting Models: I couldn't save my model because of this line: 'from sklearn.externals import joblib'. You may encounter this error: 'cannot import name 'joblib' from 'sklearn.externals''. I replaced that line with direct import 'import joblib', and it solved the issue.
very useful, thank you: i got stuck with that issue for a bit
This is the best tutorial I've ever seen. The best use of time .❤️
I have been looking for courses for a while, then I thought about looking on youtube and of course this is where all the best courses are.
loved the tutorial. I wish you cover more ML algorithms specially NLP.
Your was the best course I've taken in programming. It even solves my other problems that I had with python that even google couldn't answer me. Thanks.
Best tutorial to get started with machine learning
Thanks, now I got an overview of what Machine learning is all about, and how we go about solving problems using algorithms. THANKS.
I recently took some advanced ML courses partially but was unsure of how to handle real-world data even if I finish the course, but this basic course gave me a great foundation and the confidence to understand how machine learning works. Thank you so much for your help.
Is this tutorial useful for someone who is beginning in data science?
I'm flat out amazed how easy sklearn is to use. It basically does all the work for you.
This kind of topics I expect from you for a long time man....keep rocking mosh 😁
Siva bro yellame padustiya bro coding theriyuma bto
@@mumbaiindiansfan3087 python ah
@@Siva-lx9dw aama bro entha channel la easy a padikalam sollunga bro
@@mumbaiindiansfan3087 intha channellaye python 6hours video irukum bro atha paarunga ...easy ah understand aagum...
@@mumbaiindiansfan3087 ruclips.net/video/_uQrJ0TkZlc/видео.html
You're a gifted teacher Mosh. I lost your channel on my old RUclips account, I just found your channel again. Do you have a longer machine learning tutorial covering clustering, classification, neuro networks, and logical regression?
One of the best I have seen. The video has clear sound and it is easy to follow. You cut the unnecessary stuff out so we don’t get distracted or overwhelm by the small tiny detail that might not be important at the moment.
HELLO MOSH PLEASE CONSIDER MAKING MORE VIDEOS ON MACHINE LEARNING LIKE THIS,YOU'RE MY FAVOURITE AND BEST INSTRUCTOR,YOUR WAY OF INSTRUCTING IS TO ANOTHER LEVEL.THANKS VERY MUCH FOR THIS! HOPING MORE IS COMING FROM YOU ON THIS FIELD
Hello any good links for machine learning
NOW THAT'S THE DEFINITION OF A PERFECT FULL FLEDGED TUTORIAL IN LESS TIME.
THANK YOU
Hey Mosh, your contents and teaching style are straightforward and easy to follow. It would be great help if you do some tutorials based on medical imaging (CT,MRI) data! I am having difficulties in dealing with those. Thank you!
This would really be helpful
That's one of the cool things about machine learning and why I want to get into it; it is applicable to virtually every subject matter and field. For Mosh to do specific use cases, I suppose they would have to become common or popular enough for him to do a video tutorial. He could also place it behind a pay wall as he does have lots of more in=depth content that costs money; check the description for links if you're interested.
MOSH HAMEDANI YOU GENIUS. PLEASE MAKE MORE DATA SCIENCE CONTENT. I'M VENTURING INTO THE FIELD AND MOST TUTORIALS THAT I WATCH ARE ALWAYS DIFFICULT TO UNDERSTAND. WITH YOU IT'S LIKE I UNDERSTAND EVERY WORD YOU SAY.
This was excellent material! Nice to see how well planned and put together this whole thing was. Very professional content! And it actually got me to open my laptop to download jupyter to try this out...and start learning python along the way lol! I come from programming background so not too worried about that, I just mention this as a testament to this video and as feedback to the appeal it had for this particular viewer. 👍
Df _..... Plz how can find this in clavier (df _ pd.read_csv(vgsales.csv)
_ is not work with color pink
Python is so strong,with few lines of code you can build a predictive decision tree modal. I am not a programmer , I'm self learner about data analytics and science , but I use python for data analytics and forecasting in my marketing job and results are very accurate. This tutorial is amazing way to get away with data science and machine learning tasks.
At 41:06, where Mosh types 'from sklearn.externals import joblib', I (and many other people) get the error that the module could not be found. The fix is to import joblib directly like: 'import joblib as jb' and use it as 'jb.dump(.........)' later on.
Thank you very much sir, I've never seen a full tutorial like this
specifically for machine learning, data preparation until visualization
Mister Mosh, thank you for all of the easy to follow tutorials that you make for us, please keep keep up the good work, i hope you post more courses (preferably in python) :)
This is ML simplified- the a,b,c... of ML. Thank you Mosh
I'm so glad I stumbled upon this. You are amazing! This was very pleasant and easy to follow. I learned a ton and I especially like that you took us through your thought process while examining the music data set, too. Thank you very much! Subscribed.
The clearest tutorial I found on YT! Thanks a lot!
man this seems exciting as hell. I'm deep into javascript, react and all that stuff now but I'm gonna def come back to this sometime in the future.
Just wow! Im currently in a bootcamp on machine learning but this vid is 10000x way easier to understand
the 3 dots in VS Code at 46:47 no longer provide the "Open Preview to the Side" and the shortcut "command K V" also don't lead to the decision tree... if anyone has an idea how to fix this, please lmk. Thank you
Mosh, i don't know how to say thanks to you. I have really benefitted from your tutorials so much. They include sql, react and some others. I'm from Nairobi, Kenya
Thanks for doing this!!!!
You mastered the art of content creation. I was asking you to do this for a quite long time. Looking forward to an end to end ML & DL COURSES.
This a god send, the best python tutorials out there! very clear, simple, to the point!
Feels like a lecture in a prestigious european university. Thanks Mosh.
I love the way you teach. Repeatedly just stretching the topic a bit more...a bit more...a bit more. So straight forward to follow (Though still working on some of my understanding) and your explanations along the way are so relatable and understandable. Awesome dude!
MOOOOOSH! I found you earlier this week and bought your Python course. You teach so simply and clearly, thank you! Will you be coming out with a Machine Learning full course on your site soon? I need it yesterday!
??
Thank you so much for the tutorial.❤
import pandas as pd
from sklearn.tree import DecisionTreeClassifier
from sklearn.model_selection import train_test_split
from sklearn.metrics import accuracy_score
music_data = pd.read_csv('music.csv')
x = music_data.drop(columns=['genre'])
y = music_data['genre']
x_train, x_test, y_train, y_test = train_test_split(x, y, test_size=0.2)
model = DecisionTreeClassifier()
model.fit(x_train, y_train)
predictions = model.predict(x_test)
accuracy = accuracy_score(y_test, predictions)
accuracy
First time i understood from a youtuber who speak in English
Very good video
I'm really glad that I watched this video! now we are working on Machine Learning base project for our Thesis. Thank you for your amazing work!
You seem to be genuinely joyful when teaching ML. I appreciate this.
Also your clear voice and style makes it easy to follow for a person with my kind of hearing flaw. BL.
Sir you read my mind this was just the tutorial I was looking for. As before you are the best
I just searched about this tutorial today
He uploaded this a year ago under python tutorial , now he just bifurcated that and uploaded seperately
@@universal4334 Yes, but it's quite good for people who never searched for full python course.
This is probably the best tutorial on ML for
beginners
Seriously this tutorial is going amazing ☺️😊
Thank you so much mosh.
@@programmingwithmosh yes 😊🥰
@@programmingwithmosh can you help me with that graphiz part 😑
Great video. Took a machine learning course during undergrad but forgot most of it. After watching this video things came back. Thank you.
For all the windows users, the music_data file in the description of this video will not work when you will import it in jupyter notebook. So simply, open this zip file in your file explorer and delete an extra folder from the file named as ' __MACOSX '. Next re-run your program, and it will work :)
This is the type of thing I have to read, watch ask questions. Your video is a great presentation, repeating a lot of what I have already read/been taught. It is nice to see the same information presented multiple ways. Thank you
Please make a deep learning tutorial also please, This course helped me a lot. Please Thank you mosh you are the best guru.
Thank you for making this video and for free! Some of us want to learn but don’t have the resources! You are helping my future!
Rather than run button we can press shift+enter for output
This video really helped me. You covered everything my professor tried to in his lecture and did it clearer, better and faster.
The way you explain is amazing! Do you have a course completely on machine learning? Thanks
Sir, Your are best ML TEACHER ON RUclips.
Any recommendations for how to build on top of this? Add complexity, improve accuracy? Am applying this lesson to my own project
Mosh sir is amazing. Easy to understand what he saying and his explanations are great. Wish you a good life sir from Singapore. As i was a new developer i searched for bunch of tutorials courses etc. but i didn’t got any good source to learn. Finally i found Mosh sir. Now I’m a programmer work in a company. If some one asks me about a source to learn programming my first word is Programming with Mosh. Thank you very much sir.
At perfect time I have just finished pandas numpy matplotlob😍🤟
@Rahul Ranjan yup I have learned that it really helped me🤟
@Rahul Ranjan ok thanks
@Rahul Ranjan bro I am from Pakistan .
@Rahul Ranjan 😂ok
Maraming salamat sa tutorial video na ito, nagkaroon ako ng idea sa Machine Learning. Keep up the good work.
Mosh, do you mind sharing your learning methods? I'm impressed on how you can learn so many different language/framework but still master them. Thank you.
Dude he already told in his website...just go through it.
codewithmosh.com/p/fundamentals
Thanks for pointing it out dude. I didn't know it exist. 😁
I can't stop watching your videos. Very relevant. Remind me the cost of a full course
Great!!! Kindly keep going on with ML and DL...
13:16 import csv file / df=pd.read_csv('file.csv')
df.shape
15:30 df.discribe( ) some of statistics informations about data we have
When your flutter course is going release. Please mosh you are the greatest teacher I have ever in my life. Please tell us when your flutter course is going release. Can't wait for it... please
I aldo really want that course
@Tech With Tim has one you can follow that seies if you really gonna die if you dont learn it
@@bijoyketon I know but while tech with tim is awesome mosh explains this stuff lot more in detail and more deep
ruclips.net/channel/UCUEuQY2PwZDar70aly6ZNrQ
Thank you very much. been developing for a long time, mostly web. Wanted to learn machine learning for a while but didn't know how to start. Your tutorial was a great first step the learn the basics.
As Windows User I could only display the decision tree at the end of the video by the use of "Graphviz Interactive Preview" by "tintinweb". Then a very small "dot" icon brought up the visualization
Thanks! :)
You 're really good teacher ❤
I hope you create a playlist speciallised in AI like tensor flow , pytorch and keras
Any other good link for data science?
You are recalling trying to help some people from novice to professional, whoever take there time to watch and practice this will understand
cant't download the csv file
skill issue
make your own data set like this by watching
write this in google and it will appear for u brother
csv file of mosh
Thank you Mosh , i have been following your tutorials and I love the way to break down python programming to my understanding .
If someone still want to use vscode. Vscode just created an extension for Jupyter in 2021
You are amazing Mosh,
this was my first time with ML, and I loved it.
Hi Mosh, Me and my friends have been watching most of your content of the python (the previous videos), we are currently leading C and C++, our professor is super fast and boring ,as it's his first class and he just completed his PhD, I request you to atleast upload C language, you explain really well and systematically, he is just jumping from loops to arrays, explaining basics for a few minutes and starts to write lengthy codes. Please upload C language related content, It will be really helpful.
Today i started your Python for beginners course. So excited. You're great man
Finally, i found the video which I was searching before.
And could you explain me the difference between using python IDE and jupyter notebook?
this is not a course for beginners, go pick a beginner level course (Mosh has one), then come back :)