Tutorial 8-End To End ML Project-Create Prediction Pipeline Using Flask Web APP

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

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

  • @krishnaik06
    @krishnaik06  Год назад +6

    Join this channel membership to get access to materials:
    ruclips.net/channel/UCNU_lfiiWBdtULKOw6X0Digjoin
    check out the complete end to end project playlist
    ruclips.net/p/PLZoTAELRMXVPS-dOaVbAux22vzqdgoGhG

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

      krish sb, i just saw microsoft 365 ai, it was able to do simple data analysis tasks eg:when user typed an english sentence "find subset of data w/highest company revenue."
      I hope a time doesnt come when programmers have to stage a mass gilet jaune styled protest against ai engineers for taking away jobs. My nightmare is, imagine one only needs to type in english that "I need a program that can calculate the best tax rate" and an AI just creates it for you. Meaning programmers become worthless just like google translate has meant human translators arent needed. 😭
      Seems like creativity,human emotions are the only things that even if an AI manages to show humans wont care. Like who wud care to watch movies chruned out by an AI.

  • @whatsuppk6466
    @whatsuppk6466 Год назад +9

    Thanks Krish! As always, very helpful videos. I just have one request - can you please upload a flow diagram which shows all these various python files, classes and function are calling each other when train or predict gets triggered? This will be very helpful to understand how all these things actually working.

  • @sumitdhakad1133
    @sumitdhakad1133 Год назад +4

    This whole playlist was wonderful. Sir please create one end to end project on deep learning also.

  • @ashishsharma214
    @ashishsharma214 Год назад +2

    Thank you for the amazing efforts you put in to teach us Krish. I've gained confidence with respect to end-to-end projects just because of your videos.
    Also would like to highlight a small error in the HTML file: name="writing_score" is assigned to Reading score label and vice versa. This can result a slightly inaccurate predictions based on user inputs.

  • @Alsoltt
    @Alsoltt Год назад +1

    @Krishnaik06 Thank you for sharing such a detailed series of videos, it have taught me a lot. I have only one comment on the last video about the prediction pipeline. I think it would be better to read the model and the preprocessor from the pickle file in the predict_pipeline class as a class variable instead of reading those each time you make a prediction.
    Greatly appreciate you sharing all the good stuff

  • @nileshnaik3111
    @nileshnaik3111 Год назад +1

    amazing playlist,going to add this project in resume as it will be easier for me to explain it in detail

  • @Advaitt1
    @Advaitt1 Год назад +1

    Very very practical and to the point tutorials ... Thanks

  • @utkarshgaikwad2476
    @utkarshgaikwad2476 Год назад +1

    One of the best projects I have ever seen. Thank you for this content 😇

  • @jagannathdas8807
    @jagannathdas8807 8 месяцев назад

    Thank You sir for your contents. wonderful contents l have learnt so many things from this playlist.

  • @ShahbazKhan-ph3vd
    @ShahbazKhan-ph3vd Год назад +5

    Please make the next project on deep learning

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

    I have also learned web dev using nextjs and express js. So, I have used postman alot of time

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

    I have two questions Krish sir:
    1. Where do we add the code if there are feature engineering steps involved like merging data from multiple sources, defining a new variable etc.?
    2. This feature engineering functionality is also required in the Prediction pipeline. How do we implement the same?
    Would be grateful to your suggestions.

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

    Love it! Thanks for this type of content. 🙏

  • @PadmaDS-z5p
    @PadmaDS-z5p Год назад

    Its very amazing Krish sir

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

    Thank you so much sir . Was eagerly waiting for it to drop

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

    Thankyou krish sir for this series

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

    Great content. Why go through the trouble of making a separate method in the CustomData class? Couldn't it be designed such that on initialization the variables are assigned AND they are placed in a dataframe that is returned. I don't use OOP much, but several times in the series I have had a similar question, which is, why not place more into each method, or all of it into the initialization function? Debugging? Reuse?

  • @AgeOfAI98
    @AgeOfAI98 Год назад +2

    i got error when press predict button ColumnTransformer' object has no attribute '_name_to_fitted_passthrough' what wrong with it ?

  • @TORMENTUMM
    @TORMENTUMM 9 месяцев назад

    Cool! Thank you

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

    @krishnaik06 sir, for the train_pipeline, can you give an overview on what to do? it's a little confusing. I'd like to work on this.

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

    Thanks a lot for this amazing content

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

    Hi Krish sir,
    I am getting error like IndexError: Replacement index 0 out of range for positional args tuple for
    data_scaled=preprocessor.transform(features) this line , please let me know where I am going wrong?

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

    Thanks

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

    amazing mind blowing hundred millions dollar

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

    Well Done Sir!!

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

    Next project on deep learning.. plzz sir...

  • @ShahbazKhan-ph3vd
    @ShahbazKhan-ph3vd Год назад

    Thank you sir❤

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

    Thank you!

  • @raishabanu
    @raishabanu 5 месяцев назад

    we can use gradio for this

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

    Hi Thank you for your amazing series, I have tried the samething but getting the error "[X has 7 features, but ColumnTransformer is expecting 8 features as input.]" how i can encounter, anyone can help?

  • @Laizin
    @Laizin Год назад +1

    sir,
    when we give 100 for both reading score and writing score, sometime the prediction of math score goes above 100 (I got 100.64). so somewhere we need to set the maximum prediction should be 100. right?
    results[0]=min(results[0],100)
    return render_template('home.html',results=results[0]) , hope this will work?

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

      @@debojitmandal8670 not yet . Im still trying to make it work in deployed stage . I have tried in both elasticbean and heroku . But the prediction part doesn’t work in both. And works absolutely fine in local system . Im still trying to figure out whats the problem

  • @KokkeOP
    @KokkeOP Год назад +4

    "When I press Predict", im getting this error: Internal Server Error
    The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

  • @nedaebrahimi6735
    @nedaebrahimi6735 Год назад +1

    Thanks Krish! Your tutorials are amazing, very simple to understand and straightforward. Keep doing a good job! Thanks
    I keep getting this error "Traceback (most recent call last):
    File "C:\projects\MLproject_end2end\app.py", line 6, in
    from src.pipeline.predic_pipeline import CustomData, PredictPipeline
    File "C:\projects\MLproject_end2end\src\pipeline\predic_pipeline.py", line 4, in
    from src.utils import load_object
    ImportError: cannot import name 'load_object' from 'src.utils' (C:\projects\MLproject_end2end\src\utils.py)"
    Do you have any idea?

    • @ransinghray3688
      @ransinghray3688 9 месяцев назад

      @@sahilansari1045 did you get the solution?

    • @ransinghray3688
      @ransinghray3688 9 месяцев назад

      @@sahilansari1045 try to go to control panel/ programs/ programs and features there you will get Turn Windows feature on or off , check mark on Internet infromation services and internet information services hostable web core. using this your local machine can be a web server for any local development by you.

  • @anketkaradkar7713
    @anketkaradkar7713 16 дней назад

    hi krish i am getting an error after putting the data on webpage.
    Internal Server Error
    The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

  • @mohsinkhan-bw3cd
    @mohsinkhan-bw3cd Год назад

    Will u be showing mlops?

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

    In function initiate_data_ingestion is where there is training pipeline or, kindly explain

  • @ShahbazKhan-ph3vd
    @ShahbazKhan-ph3vd Год назад

    When are you going to start next project?

  • @gypsygirlkigypsylife
    @gypsygirlkigypsylife 8 месяцев назад

    sir i am making a multiple fruit detection app website , i have trained the model using yolov8 and labelled it using labelimg ,i am having problem in getting the detected image on front end of website (with bounding box ,name of fruit and accuracy),while i am getting the predicted image on visual studio code ,where i have the whole code in runs folder and each time we click on predict,it saves it in vs code as pred1,pred2 ... and so on and same for txt file of bounding box class to get the class of fruit,please help

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

    Sir, what if the no. Of columns are too large???

  • @ashitashetty8277
    @ashitashetty8277 Год назад +2

    Hello Krish Sir,
    I'm facing an error which I'm unable to resolve. My preprocessor pickle file has been loaded but it does not transform the data. Because of which it throws an internal server error. Can you help me resolve this please?

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

      Hi, I'm also facing the same issue. Were you able to find any solution ?

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

      Same Error

    • @sanyamjain4378
      @sanyamjain4378 Год назад +1

      @@muhammadfaheem4024 Recheck how the column transformer was build and better approach would be to just open a new jupyter file and load the pickle file there and use it to see the results you are gettingn

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

      @@sanyamjain4378 Okay, I'll give it a go!

  • @PreetiSri
    @PreetiSri 6 месяцев назад +1

    when i am running python app.py nothing is happening. There is just total silence no error nothing. Don't know what's wrong.

    • @Somansaroj
      @Somansaroj 2 месяца назад

      Did you get the solution for this bro...Please let me know
      I'm also facing the same issue

  • @hamzajamalshahidkhan1675
    @hamzajamalshahidkhan1675 Год назад +2

    src.exception.CustomException: Error in python script name [C:\Users\HP\Documents\GitHub\mlops-01\src\pipeline\predict_pipeline.py] line number [21] error message[Found unknown categories [None] in column 1 during transform]
    any solutions

    • @umerfarooq-ck3qn
      @umerfarooq-ck3qn Год назад

      get your solution or not?? same error here from my side. kindly share you get the solution.

    • @medounelearning2025
      @medounelearning2025 Год назад +6

      The problem comes from the fact that the mapping beetween variables name need to be perfect. In the home.html file you need to replace = "ethnicity" by "race_ethnicity" otherwise you will always get None for the race_ethnicity features. You can check it out by printing the pred_df

    • @DhanushRaj-z7n
      @DhanushRaj-z7n 9 месяцев назад

      Hello sir, thankyou for the help but I have replaced "enthnicity" with "race_enthnicity" in home.html file but still getting the same error. It seems like the error is occuring in column 1 which is "gender". Thankyou again for the help sir!
      @@medounelearning2025

    • @jaiminjariwala5
      @jaiminjariwala5 8 месяцев назад

      @@medounelearning2025 thank you very very much, I was debugging from past 20 mins.

    • @Kparkhade
      @Kparkhade 11 дней назад

      @@medounelearning2025 Thank you so much. I thought I will not get the the solution and leave this project in the middle.

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

    Krish sir, pls upload new content on tech neuron. Its almost 5 months now..

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

    'CustomData' object has no attribute 'get_data_as_data_frame'
    i keep getting this error .
    how do i solve it

  • @Nikhil-5615
    @Nikhil-5615 5 месяцев назад

    Sir please me give replay of This message. Sir when I am put gender : male , parental education: master, food: standard , read score :100, writing score : 100 . So why its's give me math score 103.25. the exam marks in between 0-100 so why it gives me 103.25 . Please reply this message. Because of this one error I am trying to found ....please give me reply as soon as possible..

  • @mohsinkhan-bw3cd
    @mohsinkhan-bw3cd Год назад

    Will u show data monitoring and data versioning

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

    'GradientBoostingRegressor' object has no attribute 'transform'. Getting this error, does anyone have solution?

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

    @krishnaik06, i am getting error like "Internal Server Error
    The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application."

    • @HimanshuKumar-xz9yy
      @HimanshuKumar-xz9yy 5 месяцев назад

      Is your error solved?

    • @sanikommuramalakshmi7143
      @sanikommuramalakshmi7143 5 месяцев назад

      The name of the preprocessor pickle file that you saved is different from the path name that we given in prediction ,in my case due to spelling of the file name different ,after correction of file name ,the error resolved

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

    Can anyone help?
    I am getting this error message "Internal Server Error
    The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application." Each time I click on predict math score. Every other things seems okay

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

    @krishnaik06 , i am getting below error after enter values - "Internal Server Error
    The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application."

    • @mahaprasadm9770
      @mahaprasadm9770 5 месяцев назад

      Were you able to figure it out?

    • @shankaranyum2897
      @shankaranyum2897 3 месяца назад

      i'm getting this error also..it u trying to figure it out...

  • @lionsinescanor405
    @lionsinescanor405 Год назад +2

    Got this error when trying to predict data : Internal Server Error
    The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application. Anybody know the solution for this error please le t me know

    • @siddharthtyagi1254
      @siddharthtyagi1254 Год назад +1

      i am also getting the same error

    • @lionsinescanor405
      @lionsinescanor405 Год назад +2

      @@siddharthtyagi1254 I got the solution bcoz i forgot to import os in predict_pipeline

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

      @@lionsinescanor405 ok i will try to do the same

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

      @@lionsinescanor405 it is running but when i am predictig the score after passing the values , getting an error ['OneHotEncoder' object has no attribute '_drop_idx_after_grouping']
      Traceback (most recent call last)

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

      @@siddharthtyagi1254 There must be some kind of syntax error like spelling mistake in the code

  • @ABHISHEKSHARMA-tw3lk
    @ABHISHEKSHARMA-tw3lk Год назад

    src.exception.CustomException: Error occured in python script name [E:\AI project\mlproject\src\pipeline\predict_pipeline.py] line number [16] error message[Error occured in python script name [E:\AI project\mlproject\src\utils.py] line number [59] error message[CustomException.__init__() missing 1 required positional argument: 'error_detail']]
    how to fix this error

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

    🙏💯

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

    Need DL project

  • @TishaGupta-f5d
    @TishaGupta-f5d Год назад +2

    Hi Sir,
    sorry to say but aap bohot bura samjhate ho
    aapka content achcha h
    pr skill as a teacher 'fail' sir

  • @S.K.IntelliCy
    @S.K.IntelliCy 3 месяца назад

    i get this error when i load pickel file [ is not a known BitGenerator module.] any body knows how to resolve it

  • @VishalSingh-wt9yj
    @VishalSingh-wt9yj Год назад

    Thank you soo much sir

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

    Thankyou very much sir 😊