Building a Machine Learning API in 15 Minutes | Coding Challenge

Поделиться
HTML-код
  • Опубликовано: 23 дек 2024

Комментарии • 229

  • @masteronepiece6559
    @masteronepiece6559 2 года назад +88

    Without explaining and talking, and with zen mode on, you can finish it in 5 minutes. Great work as always.

    • @NicholasRenotte
      @NicholasRenotte  2 года назад +17

      Thanks a million @MasterOne Piece! Didn’t want to subtract from passing on some knowledge though 😅

    • @classicemmaeasy2292
      @classicemmaeasy2292 7 месяцев назад

      😂 awesome

  • @joely2k83
    @joely2k83 Год назад +10

    really enjoy your series, among all other AI and ML channels. Yours is direct to the point, hands on, transparent, and humble. Try it on spot and even there is errors or challenges, you face it together with your audiences. Huge fan here!

  • @anthonylwalker
    @anthonylwalker 2 года назад +10

    Was literally just putting writing APIs next on my learning list! Always right there when I need you!

  • @FC-BS
    @FC-BS Год назад +1

    What a bummer, you were so close. The space through you off. Great work my man

  • @NicholasRenotte
    @NicholasRenotte  2 года назад

    Sup team, code and model from the video can be found here: github.com/nicknochnack/CodeThat-FastML

  • @gianmarcoguarnier2525
    @gianmarcoguarnier2525 2 года назад +1

    The hype was so up I expected a firewall to be hacked at some point. This fast format is gold

    • @RichardBronosky
      @RichardBronosky 2 года назад +1

      He hacked the Gibson!

    • @NicholasRenotte
      @NicholasRenotte  2 года назад +1

      LOL *matrix text appears on screen*
      **deep trance music starts playing**
      ***i start typing faster***

  • @JonCookeBridge
    @JonCookeBridge 2 года назад +27

    Fun to watch. Could you do a session on what dev tools you use. Postman? Visual Code? Basic nuts and bolts on how everything hangs together.

    • @NicholasRenotte
      @NicholasRenotte  2 года назад +11

      You got it!!

    • @richprice3748
      @richprice3748 6 месяцев назад

      @@NicholasRenotte Hi, Yes, when you switched over to VS Code, I was still stuck back on the older setup you had shown us and which I got running during the image classification of happy and sad -- that was amazing when I got it working and I can still install everything like that from scratch. I now am trying to do same with VS Code and it would be helpful to know your setup now with the various extensions and how you use it with environments now more easily. I am assuming most pros now using the VS Code and made similar transitions.

  • @ling6701
    @ling6701 Год назад

    haha (6:44 left), nice idea, love to see live coding, with bug happening live, just like in real life. Thank you, subscribed. Just a space makes a difference, haha, made my day.

  • @pagla2222
    @pagla2222 2 года назад +1

    It was a wonderful thing that I didn't know for a long time I was posting such videos

  • @Darklord-uk6yi
    @Darklord-uk6yi Год назад +1

    pickle is not a module that has to be imported using pip, it comes with python's standard library, no need to pip install it, that's why it worked when you directly imported it, great video, full support, kindly so share the model, thanks a lot bro!

  • @maxime5882
    @maxime5882 2 года назад +1

    I prefer short video like this one. I'm a french student in IA, and it's very good to see how you work and what do you use. This is one of my most profitable subscription. Thanks !

    • @NicholasRenotte
      @NicholasRenotte  2 года назад +1

      Yeah I'm with you on this @Maxime, I think i'll still do long videos occasionally but I'm focusing on shorter, punchier content in the interim

  • @nawfalourimech8974
    @nawfalourimech8974 2 года назад +5

    Discovered your channel last week and about to finish my first DL project ! Thank you so much, I have been trying to find good tutorials for roughly a year 😅

    • @NicholasRenotte
      @NicholasRenotte  2 года назад +1

      Awesome work @Nawfal, congrats on your first DL project!!

  • @nickhill6036
    @nickhill6036 2 года назад +4

    Phew..this was awesome. At the pickle step I was yelling "don't worry it's part of standard library!!"... Great job!
    Edit: we moved over from flask to fast API last year...it is so much better wrt documenting ones api and browser based testing of the API by anyone. Thanks for sharing the knowledge.

    • @NicholasRenotte
      @NicholasRenotte  2 года назад +1

      Hahahaha there’s always something, coding under pressure is no joke. Yeah I was always a flask used but I love the simplicity and ease with fastapi

    • @elbeemastro
      @elbeemastro Год назад

      🤣🤣🤣

  • @brunomiranda1988
    @brunomiranda1988 2 года назад +2

    Amazing content as always!

  • @fizipcfx
    @fizipcfx 2 года назад +4

    TIL pickle is a built-in module. This was intense. I hope you can make a lot of these.

    • @NicholasRenotte
      @NicholasRenotte  2 года назад +4

      Yep me too apparently 😅 I definitely want to, had a ton of fun making it.

  • @MichaBurdzy-vb4cg
    @MichaBurdzy-vb4cg Год назад

    Thank you Nicholas, this is the best ML content I've seen, including paid courses on various platforms. What you do is really amazing, thank you!

  • @sushantgautam2264
    @sushantgautam2264 2 года назад +6

    Love this master piece ❤️. Please make more.

  • @MMaquite
    @MMaquite 2 года назад +2

    i've always learn a lot thanks to your content

  • @abhisai594
    @abhisai594 2 года назад +2

    love your content bro. thanks for sharing as ive been learning a lot from your videos.

  • @ishangala7964
    @ishangala7964 2 года назад +1

    Definitely a fun to watch challenge!!

  • @leonardmutambanengwe7104
    @leonardmutambanengwe7104 2 года назад +1

    fun to watch, looking forward to more of the videos

  • @philm.pappas326
    @philm.pappas326 2 года назад +1

    I am new to your channel Nicholas and very happy that I found you! Keep up the good work!

  • @sneakywill8902
    @sneakywill8902 2 года назад

    I just started watching and the quality of the whole channel is crazy; amazing information but also great editing and video performance! Fun and interesting to watch

  • @yawninglion
    @yawninglion 2 года назад

    FYI, the pd.DataFrame constructor takes dictionary as the argument. pd.DataFrame(item.dict()) would work just fine. No need to treat values and keys separately.

  • @muhammadshahzaib9122
    @muhammadshahzaib9122 2 года назад +1

    IDK what you are doing, but I like the effort you put into it :)

    • @NicholasRenotte
      @NicholasRenotte  2 года назад

      😊 thanks a mil for checking it out @Muhammad!

  • @priyanshu4016
    @priyanshu4016 2 года назад +1

    great 😀,pretty excited in last comple of minutes .

  • @juliansteden2980
    @juliansteden2980 2 года назад +24

    Awesome video!
    Personally, I prefer slightly longer and more in-depth videos with more explanations. This speed-coding stresses me rather^^
    Nevertheless, great what you get implemented in the short time!
    Have a look at the VS-Code extension REST Client. I find it great for simple queries and you can stay completely in VS code which I find more comfortable as a viewer. Also, you have your queries right next to the source code which I sometimes find very attractive.

    • @NicholasRenotte
      @NicholasRenotte  2 года назад +8

      Thanks a million Julian! Will take a look at the extension, agree, would prefer to stay in vs code over jumping back and forth

  • @russelldicken9930
    @russelldicken9930 2 года назад +1

    Brilliant work Nick. I still think 30 mins is right for this task!

    • @NicholasRenotte
      @NicholasRenotte  2 года назад

      Could've definitely done a little more in 30 minutes, handling multiple scoring requests, auth etc!

  • @harshmirdhwal
    @harshmirdhwal 2 года назад +2

    This is a coding adventure 4 sure

    • @NicholasRenotte
      @NicholasRenotte  2 года назад

      It was defs interesting lol

    • @harshmirdhwal
      @harshmirdhwal 2 года назад

      @@NicholasRenotte bro can you provide the deadlifting video code??please

  • @FDasdana
    @FDasdana 11 месяцев назад

    Great content. I found the tension that occurs when the pickle is not loaded to be very similar to what I experience during project deadlines 😅😅. It is a video that perfectly summarizes not only the fastapi application but also the development process 😄

  • @Jay-lo6kz
    @Jay-lo6kz 2 года назад +2

    That's hell of a rush, you did great 😃 (well badluck that you missed it by seconds)
    So much of learning in one video Thanks nick

  • @sanjaydubey8036
    @sanjaydubey8036 2 года назад +1

    That was a superb run!!!

  • @kushagrgoyal9614
    @kushagrgoyal9614 2 года назад +1

    Love the video as always! Could you do a video on Fastapi and how to use it please??

  • @datawithrajadwr1597
    @datawithrajadwr1597 2 года назад +1

    love this video, great effort Nic, love from India❤

  • @davidvaldez6132
    @davidvaldez6132 2 года назад

    Excellent video !!!, that was amazing

  • @elcrackent13
    @elcrackent13 2 года назад +1

    with uvicorn you can run in local and deploy, gunicorn not is necessary. Excellent video!!!!!

    • @NicholasRenotte
      @NicholasRenotte  2 года назад

      Weird, was getting issues in the past when running the uvicorn command in the Procfile without the preceeding gunicorn call. Thoughts?

  • @galodoublier3069
    @galodoublier3069 2 года назад +1

    very cool and interesting way of teaching this!

  • @soumanabettoboubacar6995
    @soumanabettoboubacar6995 2 года назад +1

    Congrats. Let us try to see if we could. Thanks

  • @City__Walker
    @City__Walker Год назад

    02:34 Just have more simple variant "pip install fastapi[all]"(full pocket include uvicorn, pydantic)

  • @zxbliz10
    @zxbliz10 2 года назад +4

    I think the next challenge you should use replt, it would save time on deployment.

  • @DhanunjayaSrisailamTTT
    @DhanunjayaSrisailamTTT 2 года назад

    Wow. That's a pretty intence video. I have a request, can you please solve CV and NLP problems like this. Without documentation and StackOverflow. We really need it.

  • @wgb-10
    @wgb-10 2 года назад +1

    Good job Nick 👏

  • @dataha__sh
    @dataha__sh 2 года назад

    Thalaiva!!! God Mode 👌🏻💯

  • @TimothyGraupmann
    @TimothyGraupmann 2 года назад

    %20 space so close! Next model try the `whisper` model and you'll need to add a little JS to read the microphone wave data to pass to the model.

  • @Arya-pt1nf
    @Arya-pt1nf Год назад

    I'm not sure if I missed it but would love to see a video on how you created the ML model through scikit-learn that you used in this video, awesome stuff!

  • @rabatmaroc-w1k
    @rabatmaroc-w1k 8 месяцев назад

    Thank You for sharing this knowledge with us, when i found your model pickle I need to test it in my machine

  • @soumayagabsi5582
    @soumayagabsi5582 Год назад

    Fun to watch, I like short videos like this👍

  • @guruteja7151
    @guruteja7151 2 года назад +1

    Cool.. we need more of these

  • @reniyunita9820
    @reniyunita9820 2 года назад

    i really very veryyy love your content😍😭😭

  • @AlexandreSokolow
    @AlexandreSokolow 2 года назад +1

    I was right, I said 20 min in the poll -> video 20min long. :') well done bro

    • @NicholasRenotte
      @NicholasRenotte  2 года назад

      Ik ik I had to try to push myself! Thanks a mil @Alexandre!

  • @n_128
    @n_128 2 года назад +1

    This is really good content, specially because is fast 😁

  • @n_128
    @n_128 2 года назад +1

    It would be good a deeper explanation about things like Heroku

  • @mehdismaeili3743
    @mehdismaeili3743 2 года назад +1

    Excellent, thanks.

  • @ankit.chaurasiya
    @ankit.chaurasiya 2 года назад

    I don't think for simple regression, you have to do all this. Just get the intercept and equation of line or curve and calculate it programmatically

  • @manyes7577
    @manyes7577 2 года назад +1

    wow really like this type of real time trouble shooting vedio

  • @janhvirajyaguru7054
    @janhvirajyaguru7054 2 года назад

    I made everything until 5:00, but what shall I do if my postman shows:
    {
    "detail": "Not Found"
    }

  • @vinayakdumbre2828
    @vinayakdumbre2828 2 года назад +2

    hey nick,one api tutorial for image classification and object detection please.

  • @ashiqueraju1330
    @ashiqueraju1330 Год назад

    Love ypur work. Could you please do a video on how to segment hair in deep learning

  • @afterwork260
    @afterwork260 2 года назад +2

    Hi Nicholas, just curious, what monitor do you use? I

    • @NicholasRenotte
      @NicholasRenotte  2 года назад

      Samsung CT550, but I don’t recommend them…not vesa mountable!

    • @afterwork260
      @afterwork260 2 года назад

      @@NicholasRenotte Thanks for the reply. So what monitor do u recommend now?

    • @NicholasRenotte
      @NicholasRenotte  2 года назад

      @@afterwork260 honestly haven't had a look at them in a while but the last one I was interested in was the Samsung CRG90

  • @amuigayle2231
    @amuigayle2231 Год назад

    This video is as posted a year ago and so might not be monitored but when saving the model, are you saving the preprocessing steps as well for this to be successful? And was that facilitated by using a single pipeline for preprocessing and fitting?

  • @Rohitsharma-yu3fz
    @Rohitsharma-yu3fz 2 года назад

    Really it was super insightful thank you so much for helping us out.

  • @muhammaddanishalam4558
    @muhammaddanishalam4558 2 года назад +1

    Please make a online test proctoring module with AI.

  • @chrisjarvis509
    @chrisjarvis509 2 года назад

    Great video!

  • @rohitchan007
    @rohitchan007 2 года назад +1

    You're the best!!!

  • @gaurav_0369
    @gaurav_0369 10 месяцев назад

    This time limit thing creates a thrill

  • @Viisarion
    @Viisarion 2 года назад +2

    Can you go and do a video on how to pass Google’s Tensorflow Developers Certificate Exam or even pass it for real and make a guide on what to focus, tips and tricks. Love the content you are putting 👊🏻👊🏻👊🏻

    • @NicholasRenotte
      @NicholasRenotte  2 года назад +2

      I haven’t done it but will look into it!!

    • @randomdude79404
      @randomdude79404 2 года назад

      Daniel Bourke already has a video on it as well as a Udemt course specially designed for it.
      Here is the link
      ruclips.net/video/ya5NwvKafDk/видео.html

  • @ishammansoor5602
    @ishammansoor5602 Год назад

    When I use Tensorflow Js. cameraWithTensors with expo to create an object detection app, my camera keeps getting stuck everytime it makes a prediction, could you please explain why this is happening.

  • @tharindudilshan9015
    @tharindudilshan9015 2 года назад

    Could you please tell me why I'm getting this issue ('OneHotEncoder' object has no attribute '_infrequent_enabled') after save the changes in Visual Studio. Also in the same time API displays "Internal Server Error" error message.

  • @AnsumanSingh1
    @AnsumanSingh1 10 месяцев назад

    Great Video. I learned a-lot. Thanks. I had a question , Can the .pkl file be large. (in GBs) How do you manage in this case ? What will be the API performance. I am thinking it might take a lot of time to load .pkl file. Looking forward to hearing more. Thanks again.

  • @fajarbc
    @fajarbc 2 года назад +1

    I wonder if You could make videos like this but in object detection model.
    So instead of send json params, we would send image file and then have the object detection result.
    even it would be nicer if it's give us back url of new image with rectangle boxes and labels on it.

    • @NicholasRenotte
      @NicholasRenotte  2 года назад +1

      Oooh like an OD API, 15 minutes might be a little too short for that!

    • @fajarbc
      @fajarbc 2 года назад

      Yup, love to see 3-4 hours of your videos 👍👍

  • @abhiavasthi624
    @abhiavasthi624 2 года назад +2

    You're really innocent man, you could've just made that change and not given out the gift card, great stuff either way.

    • @NicholasRenotte
      @NicholasRenotte  2 года назад +1

      Nah gotta stay legit for the subscribers on the channel, no cheating!! Thanks so much for checking it out @Abhi!

  • @calvinlucian387
    @calvinlucian387 2 года назад +1

    Pickle put you in a real pickle there for a sec...

  • @luis96xd
    @luis96xd 2 года назад +1

    In the future, could you make a video of an API NLP Project? Especially with hugging face LLM models?

    • @NicholasRenotte
      @NicholasRenotte  2 года назад +1

      You got it!

    • @luis96xd
      @luis96xd 2 года назад

      @@NicholasRenotte Omg, thanks!
      This will be so cool!

  • @JirongYi
    @JirongYi Год назад

    Hi, Nico. Really nice video. Can you also give tutorial videos on deployment on mobile device such as andriod or ios? It would also be great if you create another video on deployment on windows machine? Basically, deployment on non-cloud platforms

  • @theV01dx
    @theV01dx Год назад

    Pickle exists in Python 3.9+. No need to add it as a dependency.

  • @AmanSharma-cq3rb
    @AmanSharma-cq3rb 8 месяцев назад

    hey, i tried to deploy a deep learning API to heroku but my model size is too large 2.5gb so it doesnt build source. How can i do the same can you tell me some workaround.

  • @shreyasnair994
    @shreyasnair994 2 года назад

    Hey Nicholas can you please post a video about using aws recognition for real time object detection and triggering a raspberry pi when certain objects are detected using aws lambda, I really would like to know if its even possible and if yes how it can be done.

  • @lostparadise7028
    @lostparadise7028 2 года назад +1

    You are awesome bro ..

  • @paulkarkarin466
    @paulkarkarin466 Год назад

    Красавчик! Жму руку! - )

  • @walidflux
    @walidflux 2 года назад

    can you do automatic number plate recognition with dashboard analytics, alerts, etc.

  • @thomashead-rapson811
    @thomashead-rapson811 Год назад

    Pickle is part of standard libraries?

  • @gnavarrolema
    @gnavarrolema 2 года назад

    Hi Nicholas, great videos and content. Thank you. How can I see all the courses you will be launching?

  • @HyperDogeGaming
    @HyperDogeGaming 2 года назад +1

    Really awesome content. Now I feel like I wanna do each of those challenges myself! Dunno where I’ll find the time though, might need to put in some of my vacation time into it 😅

    • @NicholasRenotte
      @NicholasRenotte  2 года назад +1

      YESSS! Go getem, I'm trying to do a new one each week atm.

  •  2 года назад +1

    Do u allow freela?

  • @chrisogonas
    @chrisogonas 2 года назад

    Nice one! Thanks

  • @vulamnguyen9453
    @vulamnguyen9453 2 года назад +1

    Could you make a video about deploying ML/DL model on AWS? Currently I'm using ngrok and fastapi on Colab but it ain't good for long. :D Does Heroku provide gpu instances?

  • @muhammadbadar6089
    @muhammadbadar6089 2 года назад +1

    Pleaaaseee drop a fastapi tutorial

  • @bichhubiswa13
    @bichhubiswa13 2 года назад

    Hi Nicholas, Really appreciated your efforts ... Do you have any planning to make a series on deep learning & computer vision from Zero to Hero live coding sessions ...

  • @CppExpedition
    @CppExpedition 10 месяцев назад

    liked and subscribed!

  • @luis96xd
    @luis96xd 2 года назад +1

    Congratulations for this video! It motivated me to make my own API, we all feel like you when make a ML project💯👏
    I'm really glad you finished with all these constraints and I learned a lot, FastAPI it's super easy, the code is understandable
    Yes, I was worried when the pickle error showed, but it worked!!! Cool!
    Great video and thanks for sharing the knowledge
    Great job! 😄👍

  • @prashantsai9726
    @prashantsai9726 2 года назад +1

    Great work❤ Waiting for next episode of CodeThat. What would be the topic of next episode🤔😝

    • @NicholasRenotte
      @NicholasRenotte  2 года назад

      Hmmm, will just have to wait and see 😉 already working on it this morning!

  • @mutaherkhan2161
    @mutaherkhan2161 2 года назад

    sir can we used same method to deploy deep learning model?

  • @NeuralHackswithVasanth
    @NeuralHackswithVasanth 2 года назад +2

    code not working😅. Awesome video sir. Would love to see you code transformer architecture from scratch using pytorch under 1 hour sir. Loving this Code That series sir

    • @NicholasRenotte
      @NicholasRenotte  2 года назад +1

      Pickle? 😅

    • @NeuralHackswithVasanth
      @NeuralHackswithVasanth 2 года назад +2

      @@NicholasRenotte Coupon code sir🤣😂 But this video is more worth than the gift card. One small space cost you 50$😅. Big fan sir want to see more videos of this kind. You are doing content in unique way sir

    • @NicholasRenotte
      @NicholasRenotte  2 года назад +3

      Oh whattt? Try it on Amazon Australia? I bought it and then realised I think it just works for Oz. That challenge idea sounds sick!!

  • @PhondettaX
    @PhondettaX 2 года назад +1

    Nicholas, could you make a video on how to convert the LSTM sign language detection from jupyter into an EXE.?
    i have many questions regarding this process, will the data remain trained even if i converted from jupyter to EXE? and what if i want to update the signs in the data set after deploying the app it self, do i need to re-train the model again?
    and finally, could u do a video on how to check if your laptop/pc do have gpu and supports tensorflow-gpu and how to train the model using the gpu rather than CPU.. i truly apricate your kind help, and your contribution to the AI/ML/ and computer students in general.

    • @NicholasRenotte
      @NicholasRenotte  2 года назад

      Ooooh yeah might take a look at this!

    • @PhondettaX
      @PhondettaX 2 года назад

      @@NicholasRenotte wohooo!! appreciate it

  • @tammyk29
    @tammyk29 2 года назад +1

    Hey Nicholas, I have been doing data science for a while, but I never really learned the deployment and API part. Do you have some useful courses/videos that will help me learn? Great video btw, just a bit fast for a beginner :D

    • @NicholasRenotte
      @NicholasRenotte  2 года назад

      Ooooh, I don't really know of anything out there that is really on point. I've been toying with the idea of getting this book I've heard good things but I haven't read it myself so don't have any personal opinions about it yet: www.amazon.com/Designing-Machine-Learning-Systems-Production-Ready/dp/1098107969

  • @TheBigOTech
    @TheBigOTech Год назад

    great video !

  • @n_128
    @n_128 2 года назад +1

    I think the problem is because pickle is installed by default in Python 3.9, but I'm not sure.

  • @Muhammad_Adams
    @Muhammad_Adams 2 года назад

    Please, what files are required from my checkpoint (saved_model) to deploy an object detection model (Tensorflow), and how can I deploy it using FastAPI? Thank you

  • @walahm1685
    @walahm1685 2 года назад

    I been looking forward to your videos and wondering if there exists a 'Code That' equivalent for JavaScript if so, recommend some > Thanks

  • @mustafakemalpasha983
    @mustafakemalpasha983 2 года назад

    hey man! should i start with scikit-learn or tensorflow?