Project 8. Gold Price Prediction using Machine Learning with Python | Machine Learning Projects

Sdílet
Vložit
  • čas přidán 7. 09. 2024

Komentáře • 114

  • @siyays1868
    @siyays1868 Před 2 lety +5

    U explains everything in simple way. Amazing n simplest videos for beginners.

  • @annazhu3340
    @annazhu3340 Před rokem +6

    Hmmm... this is a time series prediction. When doing train test split, we can't do random split. It is not right.

  • @muradjanov
    @muradjanov Před rokem +4

    one of the most amazing and simplest courses ever!

  • @flosrv3194
    @flosrv3194 Před 4 měsíci +3

    Correlation is impossible
    ValueError: could not convert string to float: '1/2/2008'

    • @jaiwanthtatuskar7144
      @jaiwanthtatuskar7144 Před 2 měsíci

      yeah

    • @thiagoalves4080
      @thiagoalves4080 Před měsícem +1

      This problem will happen because the function corr() cannot calculate the correlation for the columns that are declared as non-numerical data, in this example the Date column has type object. I've solved the problem by following the below step-by-step:
      # checking which columns contain numerical data
      print(gold_data.dtypes)
      # select only the columns with numerical values
      numerical_data = gold_data.select_dtypes(include=['float64', 'int64'])
      # calculate the correlation
      correlation = numerical_data.corr()
      print(correlation)
      # constructing a heatmap to understand the correlation
      plt.figure(figsize=(8,8))
      sns.heatmap(correlation, cbar=True, square=True, fmt='.1f', annot=True, annot_kws={'size':8}, cmap='Blues')

    • @iconicmoments5258
      @iconicmoments5258 Před měsícem

      @@thiagoalves4080 you also try with drop the date column

    • @mohdishaq5869
      @mohdishaq5869 Před měsícem +1

      correlation = gold_data.corr(numeric_only=True) # just copy paste this...

  • @Sagar_Tachtode_777
    @Sagar_Tachtode_777 Před 2 lety +1

    1.48k to 48.1k, many congratulations Siddharthan !

  • @digigoliath
    @digigoliath Před 3 lety +2

    I am enjoying your ML projects series very much. TQ!

  • @riteshbiswal5879
    @riteshbiswal5879 Před rokem

    Excellent. Conceptually an Awesome drive to perfection. Hats Off Mr. Siddhardhan.

  • @heyyy_jayant
    @heyyy_jayant Před 3 měsíci +1

    Maybe this problem is specific to me but the correlation method is returning an error which mentions that date is a string. I worked around it by dropping the date column and then finding the correlation.
    Not sure if it's the right way to go about it though...!

    • @1462evan
      @1462evan Před 2 měsíci +1

      I am also facing the same problem

    • @mohdishaq5869
      @mohdishaq5869 Před měsícem

      correlation = gold_data.corr(numeric_only=True) # just copy paste this...

  • @oc2taranjeetsinghmahidwan548
    @oc2taranjeetsinghmahidwan548 Před 11 měsíci

    very high quality content man you deserve a gold play button

  • @user-dv7yd3sr3y
    @user-dv7yd3sr3y Před 8 měsíci +2

    AT the correlation part i have got value error '' string can not be chnaged to float '' how to fix it

    • @daniyalkaleem3752
      @daniyalkaleem3752 Před 7 měsíci +3

      Just drop the date column and then run correlation. correlation = df.drop(['Date'],axis=1).corr()

  • @shayakbiswas6118
    @shayakbiswas6118 Před 8 měsíci +1

    its a great video.. Can you please make one more detailed video on the correlation matrix

  • @mahlaAbdoli87
    @mahlaAbdoli87 Před rokem +2

    Hi thanks for your wonderful content I just have a problem, in 16:12 i get an error : ValueError : could not convert string to float : '1/2/2008', Could you please help me to solve it?

    • @29vivekjain59
      @29vivekjain59 Před rokem +1

      import datetime
      gold_data['Date'] = pd.to_datetime(gold_data['Date']) use this code

    • @arshdeep_2875
      @arshdeep_2875 Před 9 měsíci +4

      Yeah. This is because the corr() function while calculating correlation does not accept Strings(dates are strings in the dataset). So, u can solve this issue by dropping the Date column from the dataset before running that line. Add this cell before that line: gold_data = gold_data.drop('Date',axis=1) and execute again. Now the error will go away

  • @namansingh2807
    @namansingh2807 Před 2 měsíci

    Bro you removed date as one of the features - can you explain why you did so ?
    Cause date of when gold prices are predicted is also one of the factors

  • @tonic_tv2113
    @tonic_tv2113 Před rokem

    this doesnt make sense in order to predict gold we need future value of other stocks? how will that be feasible in actual life?

  • @madhumithan6653
    @madhumithan6653 Před rokem +4

    Hi Sir,Nice explanation.Don't we have to Scale these values using standard scaler??

    • @tonic_tv2113
      @tonic_tv2113 Před rokem

      ya excellent question, maybe we have to not sure though

  • @ChandanaKarumudi
    @ChandanaKarumudi Před 5 měsíci

    Bro how to know which type of regression is used for a particular data set

  • @slingshot7602
    @slingshot7602 Před rokem

    Thanks really helped me. Can you suggest how anyone will go to the job field with machine learning? what other things to learn?

  • @harshadasutar1441
    @harshadasutar1441 Před 5 měsíci

    sir should we drop the date column before plotiing heatmap ?beacuse i have an error related to date data type while plottin ?

  • @yashpatil4605
    @yashpatil4605 Před 3 lety +2

    Great man 👍🏻. Can you please make a video on end to end project deployment on herouku or AWS ?

    • @Siddhardhan
      @Siddhardhan  Před 3 lety +3

      hi! deployment will be covered after deep learning course

  • @lmecobra3443
    @lmecobra3443 Před 3 lety +2

    it's great but how can i predict for future , 5 weekd a head or 1 week ahead

    • @Siddhardhan
      @Siddhardhan  Před 3 lety +1

      you can use forecasting models like LSTM

    • @lmecobra3443
      @lmecobra3443 Před 3 lety +1

      @@Siddhardhan i tried that but i only get graph i want actual values

  • @DCse-b9t
    @DCse-b9t Před měsícem

    Hi. What is the accuracy level of the project? Please tell me

  • @captaingaming9412
    @captaingaming9412 Před rokem +1

    how to predict the present price

  • @Mon_isha09
    @Mon_isha09 Před 3 lety

    it is helpful for the begginers like me
    Thank u

  • @mitanshubaranwal8878
    @mitanshubaranwal8878 Před 10 měsíci

    Hi Sir can you please tell why we did Y_test = list(Y_test) at last while when we did scatter plot in Car prediction code we didn't do it.

  • @MrAmarSindol
    @MrAmarSindol Před 2 lety

    Why are the project not in serial order and few are missing !! also i feel few projects are taken from other youtube channels, sorry if offended but have strong step to step copy paste !!

  • @Quest_adventure
    @Quest_adventure Před rokem

    Sir can you make a video of github regarding how to upload this project we have just finished kindly... Thanks

  • @rasmiyavs7546
    @rasmiyavs7546 Před rokem

    Can I get the dataset and code for future goldprice prediction?Using LSTM like methods

  • @Revanth2344
    @Revanth2344 Před 2 lety +1

    Please do videos on forecasting..😥

  • @asjadzaki8499
    @asjadzaki8499 Před rokem

    Can I use this project as a mini project for college coz iam a beginner and doing this project in 2 year of studying
    Can u help me
    How to do the project

  • @AD_Mithra
    @AD_Mithra Před 2 lety +1

    need front end code for end to end model

  • @nishantkumar9466
    @nishantkumar9466 Před 2 lety

    this model is predicting the future value of gold or what ?

  • @pavanigade637
    @pavanigade637 Před 2 lety

    Sir could you please make video on driver drowsiness detection using dlib

  • @703_dsreetejmedari5
    @703_dsreetejmedari5 Před 11 měsíci

    sir, this project can done in AI too ?
    if yes i need your guide lines, please sir.

  • @romanrames4675
    @romanrames4675 Před 2 lety +1

    Which algorithm u used in this project

  • @vinaynaik953
    @vinaynaik953 Před 3 lety +2

    Can you please make tutorial on how to deploy ML model in Heroku, AWS, GCP

    • @Siddhardhan
      @Siddhardhan  Před 3 lety +1

      I'll work on that after completing this machine learning course.

  • @archanajprabhu5595
    @archanajprabhu5595 Před 2 lety

    could you please predict the gold price using decision tree with the closing price and all?

  • @kajaharisatyaumamaheswarar4715

    Sir, How to Connect Front End to this Project.
    Do you have any Front End to this Project

  • @vasanth2720
    @vasanth2720 Před 5 měsíci +2

    Send this code bro

  • @tokunbohijadimini5693
    @tokunbohijadimini5693 Před 3 lety

    Your video was very helpful in my assessment. Keep up the good work. Cheers

  • @sandipansarkar9211
    @sandipansarkar9211 Před 2 lety

    finished watching

  • @synterr
    @synterr Před 2 lety

    So what is the prediction for the next 10 years?

  • @athiradass1074
    @athiradass1074 Před rokem

    Sir how to check overfitting

  • @rahulbishnoi9663
    @rahulbishnoi9663 Před 2 lety

    Can You please tell methodology of this project.

  • @ashusingh8280
    @ashusingh8280 Před rokem

    Why did we use random forest only and not any other algorithms? Can we use any other algorithms?

    • @jeyptmanyt6599
      @jeyptmanyt6599 Před 3 měsíci

      yes, also random forest is used as classifier i think regression is more suitable here. Yes?

  • @Manideep.
    @Manideep. Před 3 lety

    20:46 even spx is positively correlated right why we are not considering spx?

    • @Siddhardhan
      @Siddhardhan  Před 3 lety

      yeah, but the value is very low... that means there is not a significant correlation...

  • @amitbudhiraja7498
    @amitbudhiraja7498 Před 2 lety

    Sir I have a doubt like the dates are also important during the prediction of the gold price how should we make our model to take the date variable too.
    And sir similar in the case of the car price prediction we have dropped the car brand and the name of the car there also . And these things also important in the prediction of the prices of the car
    Regards

    • @Siddhardhan
      @Siddhardhan  Před 2 lety +1

      hi! you can try a time series prediction kind of an approach for gold price prediction.
      for car price prediction, you can definitely add the brands as feature for training. my goal while making the videos will be to clearly explain the implementation and the process in it. I may miss a thing or two. so you can definitely improvise a lot.

    • @amitbudhiraja7498
      @amitbudhiraja7498 Před 2 lety

      @@Siddhardhan Thanks a lot sir for your reply

  • @Sana-tp6oi
    @Sana-tp6oi Před rokem

    Bro ...ipd naane sonthama project pannanumna enna panrathu...enga irunthu start panrathu learning ku

  • @nagarajprabhavathi3668

    After correlation, I am getting value error ...!like pass 2-d input wt to do sir??

    • @Siddhardhan
      @Siddhardhan  Před 3 lety

      hi! mail your error with screenshot and your Google colab link to datascience2323@gmail.com

  • @mokshith_nayak
    @mokshith_nayak Před 5 měsíci

    correlation part not executing...

  • @sawantatharv
    @sawantatharv Před 2 lety

    How can I show output of this to web ?

  • @nikhilkshirsagar3995
    @nikhilkshirsagar3995 Před 3 lety

    Sir in what basis you have predicted the price of gold ?

  • @samrudhashinde3163
    @samrudhashinde3163 Před rokem

    I want report of GOLD PRICE PREDICTION PROJECT...
    How can I get?

  • @pappukapgate762
    @pappukapgate762 Před 3 lety +2

    From where I can get this data set.

    • @Siddhardhan
      @Siddhardhan  Před 3 lety

      I have given the link for the dataset in the description of this video.

    • @Siddhardhan
      @Siddhardhan  Před 3 lety

      You can also search for it in Kaggle

  • @wimdekker4333
    @wimdekker4333 Před 3 lety

    Monet12
    Thank you for a wonderful and thorough explanation. When are you gonna make a project in forecasting stock prices so i can become a billionaire?

  • @powerfullentertainer9250
    @powerfullentertainer9250 Před 3 lety +1

    Sir I am a fresher can I add this project to my resume for campus placement ?

    • @Siddhardhan
      @Siddhardhan  Před 3 lety +7

      if you completely understand the Project, if you practice the code by yourself, then you can add.

  • @dpmharry
    @dpmharry Před 3 lety

    How can I know the accuracy value of this algorithm?

    • @Siddhardhan
      @Siddhardhan  Před 3 lety

      you can calculate mean absolute error and other metrics.

    • @soul2197
      @soul2197 Před 2 lety

      @@Siddhardhan can you make a video on stock price prediction with rnn lstm and other complex algorithms

  • @mineraalcira5342
    @mineraalcira5342 Před 3 lety

    pronostic model?

  • @jshaaan
    @jshaaan Před 3 lety

    how to find new predicted gold price based on new row

    • @Siddhardhan
      @Siddhardhan  Před 3 lety +1

      hi! refer my other project videos to learn how to make a predictive system.

    • @jshaaan
      @jshaaan Před 3 lety

      @@Siddhardhan thanks got it

  • @Online_store_finds
    @Online_store_finds Před rokem

    At 29:43 i am getting an error

  • @sandipansarkar9211
    @sandipansarkar9211 Před 2 lety

    finished coding

  • @sachinvithubone4278
    @sachinvithubone4278 Před 3 lety

    It's very easy to understand. thanks
    What is the reason behind in R square error to use is there any other functions we can use?.. can you explain more on this please.

    • @Siddhardhan
      @Siddhardhan  Před 3 lety +1

      you can use mean Absolute error as well. these are metrics for Regression problems

  • @user-xm4cr3wq2h
    @user-xm4cr3wq2h Před 3 lety

    Can we use XGBRegressor?

  • @sujan4386
    @sujan4386 Před 3 lety +1

    What does each feature signifies in the data set ?

    • @Siddhardhan
      @Siddhardhan  Před 3 lety

      Hi! I have explained it in the video. Kindly check. They are silver price, currency pair value, etc.

    • @sujan4386
      @sujan4386 Před 3 lety +1

      @@Siddhardhan Does the data mean that gold price is around 120 in 2018?

    • @Siddhardhan
      @Siddhardhan  Před 3 lety

      Might be. It is in us dollars. I am not sure what is the specific metric. You can refer this for details about the dataset: www.kaggle.com/altruistdelhite04/gold-price-data

  • @binduanjani6871
    @binduanjani6871 Před 3 lety

    Give me the abstract please

    • @Siddhardhan
      @Siddhardhan  Před 3 lety

      hi! I have given the Kaggle link for this project in the description of this video... you can get more information there... kindly check.

  • @sujan4386
    @sujan4386 Před 3 lety +1

    Can we use same data set for prediction using RNN as dates mentioned in data set are not continuous ?

    • @Siddhardhan
      @Siddhardhan  Před 3 lety

      Hi! this dataset is very small.. it won't be suitable to do with RNN. but yes. u can definitely try.

  • @phucl.nguyen5168
    @phucl.nguyen5168 Před 3 lety

    Can I using Linear Regression to solve this task sir?

  • @khawajadanyialahmad45
    @khawajadanyialahmad45 Před 3 lety

    sir i want to follow you in kaggle
    pls give your link

  • @khawajadanyialahmad45
    @khawajadanyialahmad45 Před 3 lety

    sir i want to follow you on kaggle
    ls give your link

  • @khawajadanyialahmad45
    @khawajadanyialahmad45 Před 3 lety

    sir i want to follow you in kaggle
    pls give your link

  • @khawajadanyialahmad45
    @khawajadanyialahmad45 Před 3 lety

    sir i want to follow you in kaggle
    pls give your link

  • @khawajadanyialahmad45
    @khawajadanyialahmad45 Před 3 lety

    sir i want to follow you in kaggle
    pls give your link

    • @Siddhardhan
      @Siddhardhan  Před 3 lety

      hi! I am not that active in Kaggle recently