I tried building a AUTO MACHINE LEARNING Web App 15 Minutes
VloĆŸit
- Äas pĆidĂĄn 7. 09. 2024
- So you need some AutoML...well now you got it using Python, Pandas Profiling, PyCaret and Streamlit...and close to 15ish minutes.
Thanks again to Bright Data, check them out here: brightdata.grs...
Hopefully you enjoyed this video.
đ€ Get the CODE: github.com/nic...
đŒ Find AWESOME ML Jobs: www.jobsfromnick.com
Oh, and don't forget to connect with me!
LinkedIn: bit.ly/324Epgo
Facebook: bit.ly/3mB1sZD
GitHub: bit.ly/3mDJllD
Patreon: bit.ly/2OCn3UW
Join the Discussion on Discord: bit.ly/3dQiZsV
Happy coding!
Nick
P.s. Let me know how you go and drop a comment if you need a hand!
#machinelearning #codingchallenge #tkintertutorial #python
For anyone trying this out from the future ;) make sure you use python 3.10 or less. 3.11 requires plotly-resampler to have numpy 1.24 which pycaret doesn't support, hence issues. Took me too long to figure out so hopefully you have less of an issue.
Edit: for the folks stuck on silent=True, change it to verbose = False
Thank youuu. You save me i was stuck on it
is there other solution for this?
i am encountering error on profiling report and silent = true, i have change it to verbrose = fasle but it didnt work for me, i am using python 3.9.0
ModuleNotFoundError: No module named 'distutils' i was found this error many times ?
this is so cool man, didnt even know streamlit, the way it allows you to build the app backend and front end and connect them together is cool af
Congrats Nick! Your content is always interesting, useful and well explained. We are lucky to learn from you!
đ thank you so much @Celine!
The timer actually makes it interesting to see if you make it and your challenges are always good projects
Congrats on the 100k Nick! Loving the 15min series - keep kicking ass! đ
HELL YEAHHH! Cheers Sean!
This is amazing!!!! I learn so much from your channel. I found machine learning a few months ago. I thought it was so cool, but I would never be able to learn how to do it. Because of you I am learning, and using what I learn. I hope to get a job in this field someday. Thank you so much for your content.
Congratulation for CZcams prize. You are doing a great job.
Thank you so much @Geraldo!!
About to start my machine learning journey! Happy I stumbled on your channel, keep the good energy, entertaining content, and all. Will be coming back when I learn a little bit more.
Hey Nicholas,
The issue people are having is that pycaret only works with python version 3.6-3.8. I wondered if you knew any other ml selector modules to use instead for this project.
Cheers for the knowledge
Hey nich, i just wanted to tell you, youre are probably one of my best motivations to learn ai field! Thanks always for posting these fun ai video!!! Keep it up!đ
The time used to test the program's steps doesn't need to be include on the overall time. I think you can stop the timer at these cases.
ik ik, i wanted to try to pack it all in today though!
Congrats Nick, well deserved and thank you for your ML content
Thank you so much Benedict!
Congrats Nick on 100k+ - well deserved
DATAPRO007!! Thank you so much, you've been here right from the start!!
Congratulations on 100k+ subscribers. I know I joined late and realised why I couldn't find your channel?... Because I love ML so much. Btw nice video.
Thanks a mil @Faizan, all good, you're here now!!
@@NicholasRenotte you're welcome!
And yet again falling in love with your videosđ. The way u make these projects look so easy and fun to do inspires me. đ„°
đđđ so glad you enjoyed it Tushar!
IÂŽve been following your youtube channel almost since you started, just wanted to say I really admire you and wold like to be a programmer as good as you someday. Thank you for inspiring me Nicholas. congrats on the 100k! Greetings from Colombia.
Thank you for this awesome Video. Can you please make a video to explain how to create ML API for mobile apps
You got it solomon!
Congrats Nick! Can u pls do end-to-end text summarization and sentance similarity model Using NLP lib without using and API model like Hugging face or GPT3
This video is PURE GOLD! Thanks Nick!
>>> Next thing is... How could you mount the app in the cloud?
Thanks a mil @Pitter, you got it!! Wanted to deploy in this vid as well but was running out of time...I might have got a little too confident even with what I did have đ
Congrats Nick love the way you explain the concept.
đ cheers Usman!
awesome video! thx
can u maybe do a video about "a good way to learn a package (like strreamlit) from scratch" type of video?
Thanks for the vid, very useful, and congrats on 100k subs that's insane! I'm having trouble installing dependencies in my virtual env in VS Code with pycaret and a bunch of others from the requirements.txt. When I install them individually they are installed except pycaret. Otherwise, when I pull up my pip list it lists only a fraction of the dependencies you have. What version of Python are you using here? Pycaret has issues with sklearn also, I'm not sure if that is causing the legacy install failure issues or not. I can't seem to find an answer to this problem, and I don't know any programmers or data scientists. My interpreter path is my .venv so I'm not sure how to get around the compiler issues. I'm more educated in the machine learning/statistical area and not so much on compiling code...
The profiling report library is crazy!!
Man you are the best youtuber in this Ai/ Ml fieldâ€
Thanks for the video Nick! First time using pycaret and it looks lighting fast.
đ đ đ congratulations @NicholasRenotte, that was such a cloo project! Time WELL SPENT watching the episode!
Thank you so much. I just knew about streamlit, this should help me a lot in setting up my ML pipeline
Thank you so much Nicholas ,Your machine learning tutorials make easy python and machine learning for us. i would like some help please
in setup(df, target=chosen_target, silent=True) TypeError: setup() got an unexpected keyword argument 'silent'
Thank you
i am having the same problem. Anyone got the solution yet? pls
Congrats Nick!! Could you make a video on how to deploy the app on cloud please, it would be awesome!
Thanks for sharing amazing video Nick. Really, I will make use of this Auto ML app in my work.
It's so cool ,but I don't know how to use,can you make a video for explaining
This is absolutely helpful for me , thank u for sharing every lesson
Thanks Thanks Thanks a lot. I will use your framework to build a classifier to predict cell type based on single-cell RNA-seq data.
I am learning the latest ML trends from you @nicholas, Much more motivated by your content!
thank you very much for this video. I have a question about how we can add a list of preprocessing methods and how we can select only certain columns in the data frame for the train.
Hi there Nick, lately I have been learning a lot from your channel as I am thinking of switching over in my career. I built this app and it is working on the localhost setting but the moment I put it up on cloud to host it, the model creating section is giving errors. Could you please shed some light on it? I was doing an extensive search for it, it seems it is a problem with the streamlit versions.
Hey Nicholas, Ive been following your work and its all so fascinating. I've been trying to get into AI, but I dont know where to start. I know python but the topic of AI is so broad, there is so many libraries and AI models, and all tutorials are outdated or they are not meant for absolute beginners. What did you do to learn?
thank you very much for the great efforts to teach us , such intersting knowloge !
Nice stuff here! Keep this kind of challenges coming!
Congrats Nick ! Well deserved đ amazing videos as always !
Thank you so much for making ML fun and interesting. I hope your channel can reach more and more young minds out there so we can all learn about the usefulness of ML and data science in general.
Hey @nhikieu6348! Why only "young minds"? I am a senior citizen who is learning too!
Great content sir..
It would be awesome if you can create a full tutorial for streamlit with deep learning model
mad amazing content nick!!! one issue tho its showing "unidentified argument : silent" to me
Can you make a Traffic Sign Recognition App? it would be awesome to watch and learn from you.
oooooh, I like this idea. Done!
Really like how you perform time, was like in cinema ))
Great video Nick, that's very edutaining :)
YESSS, that was the gameplan all along Prof!!
thnks Nicholas, very interesting ! Is it the same library used by IBM watson auotAI tool ?
I'm not able to import streamlit_pandas_profilings package and function st_profile_report into my work environment. It is showing some pydantic error, can anyone suggest me a quick solution for this?
hey nick! please make a video about evaluation matric how to evaluate matrix of multiple algorithms
setup(df, target =target, silent = True)
this line of code gives me error,
TypeError: setup() got an unexpected keyword argument 'silent'
I guess this is version issue, can I change the parameter to make it work?
you can use this even after removing this parameter it will work properly as it is only required you to show some warnings
Hello Nick! Can you please make a video on tensorflow-agents? I struggle to find content on it..
Hello Nick, getting the following error why trying to run the ML portion: ValueError: Cannot cast object dtype to float64. Could you shed some light on this?
I am also getting the same error, apperently it has something to do with the "silent" argument in setup
Using the same dataset?
@@NicholasRenotte yup!
Yes, this error occurs on Python 3.10 + pycaret package
cool video learned a lot! congrats on 100k.
Ammmmaziiing ...so what about trying some kagle competitions
Gotta mentally prep myself for some of those but I defs want to get back into them!
Well done!! Thank you for sharing this!!!!!
How to count objects in images that are detected by yolo8?
Hi nick i was able to install the latest version of pycaret but it does not support the "Silent" argument,and because of this my target column cannot be transformed
Try html= false
@@mohammedessack4453 I tried it as an argument still giving the same error
@@drunkmilitia1402 Try installing pycaret version 2.3.5
@@mohammedessack4453 I an Unable to, pip install pycaret==2.3.5 gives me an error
Just added a requirements.txt file to the repo @Drunk Militia, should help with installation. I was using 2.3.10. I had a bit of a nightmare time running PyCaret on Mac this week but I'll be doing a vid showing how I set it up in the next couple of days (if you're running on MacOS)
Hey Nick, wonderful explanation. I have a small problem, I'm using vs code on windows,
StreamlitAPIException: ("Could not convert 'Transported' with type str: tried to convert to int64", 'Conversion failed for column Value with type object')
File "E:\AutoML\AutoStream\app.py", line 37, in
st.dataframe(setup_df)
Any help would be appreciated
Downgrade to streamlit 0.84.2 worked for me :)
Still a W in my book. Awesome!
đđđ thanks Trevor!
the best and nice and content in youtube
Can I please know what tensorflow version is compatible with your depndencies, as when i tried implementing transormers and tensorflow im having the error of incompatible dependencies can anyone please help me with that!
Insanely fast, most impressive.
What do I use this for sir? Tell me things related to stocks. I want to make money.
Hello, I'm on Mac Silicon and I get an encoding error at 8:10. UTF-8 Encoding doesn't seem to work with mac, is there a way to specify the encoding or do you know something else that might help? Help would be very much appreciated. :)
Hey Nick, I need your assistance with installing the necessary packagees/libraries in VSCode. Unlike you, I use an older Macbook air. I especially have troubles with installing pycaret
if someone found this error "ModuleNotFoundError: No module named 'distutils' please help
when we run file for upload code, nothing is displayed on browser..help me out to solve this issue
Why does it fail when I use numbers as Target column?
Why the Giftcards are invalid?
Someone got it befor you... next time maybe
Who cares anyway, the price itâs the video itself
@@iustin1174 How can someone be that quick
He/ She must have opened the video for the code only then. This destroys the whole purpose of the video
@@Marcgopla yes
so what is the python version, to install requirements.txt, switched to 10 different versions
Thank you, It was brilliant.
can we use streamlit for production level app
Hi @NicholasRenotte Thanks for your content to help us learn! New subscriber here! I have a suggestion that would help me and others who need "accessibility" help online: use a background color on screen that is not white. It is extremely uncomfortable for my older eyes. TIA!
you earned the prize dude congrats
Awesome !!!!!!
Is it possible to make a object detection model using pycaret
I have no knowledge about ML or etc.. But I can understand that my brain activity is hacked by something and that is convoluted my originated brain activities. I have no idea what kind of BCI they are applied for this! but this multi head attention is trying to killing me.. May I get help about this topic??
#Thanks in advanced. đ
ValueError: Cannot cast object dtype to float64. Is there solution here?
Im getting the same error :(
hi, I followed every step but getting ValueError: Cannot cast object dtype to float64, during modelling. I had to install pycaret --pre version to work with python 3.10 environment, may be is it because of that?
Downgrade to streamlit 0.84.2 worked for me :)
isn't this support for python 3.9.9, I'm getting errors while installing PyCaret
You are absolutely the best!
Cheers sspmetal!!
I got stuck by this line of code for 2 days and no solutions found so far
setup(df, target=chosen_target, silent=True)
apprently ptcaret remved silent argument, so it raise a error. and then I was segguest by chatgpt to switch it to
setup(data = df, target = chosen_target, session_id = 123)
still errors.... Anyone got a solution?
It would be great to know your python version in your video. THX
Congratulationssss Nick!!
Ayyyy thanks a mil Muhammad!!
Why did you save sourcedata.csv and not directly use the variable df and make it global????????????????????????
Hello Nicholas Renotte, How to install pycaret in MacBook pro, please guide me, if there are any video link, please leave here
Hold tight, going to be doing a vid on how to do it this week!
@@NicholasRenotte thank you for your response
wow !!!
Thanks a mil @Was geht!
how to run your code? i'm newbie, thanks
16:42 if you are allowed to pause the timer then you can build the Skynet in 15 minutes, just pause it until you finish it đđđ€Šââđ€Šââ
thanks
I am facing issue installing pycaret can anyone help?
congrats on your plate :D
Thanks a mil @AsdrĂșbal!
how to build something like this for computer vision application >
bro i have one error , No module named 'pycaret'
but i have added pycaret
How you added?
Hi Nick! I love your works. But, I always get an error like this : StreamlitAPIException: ("Could not convert 'Embarked' with type str: tried to convert to int64", 'Conversion failed for column Value with type object')
I already tried any datasets that I have. Can you help me with this? :(
Got the same error
đ„ș @nicholas help me out plz
any luck?
Downgrade to streamlit 0.84.2 worked for me :)
Really Awesome
Thanks a mil @Sachin!
Pycaret is a boon to machine learning
you are best man!
Congratulations đ
Thanks a mil @So So!
Pure legend â€
đđđ