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

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ม.ค. 2025

ความคิดเห็น •

  • @annazhu3340
    @annazhu3340 ปีที่แล้ว +8

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

  • @siyays1868
    @siyays1868 2 ปีที่แล้ว +5

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

  • @muradjanov
    @muradjanov 2 ปีที่แล้ว +4

    one of the most amazing and simplest courses ever!

  • @Sagar_Tachtode_777
    @Sagar_Tachtode_777 2 ปีที่แล้ว +1

    1.48k to 48.1k, many congratulations Siddharthan !

  • @riteshbiswal5879
    @riteshbiswal5879 ปีที่แล้ว

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

  • @oc2taranjeetsinghmahidwan548
    @oc2taranjeetsinghmahidwan548 ปีที่แล้ว

    very high quality content man you deserve a gold play button

  • @digigoliath
    @digigoliath 3 ปีที่แล้ว +2

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

    • @Siddhardhan
      @Siddhardhan  3 ปีที่แล้ว +2

      Glad you like them!😇

  • @TewoldeMarie-p2j
    @TewoldeMarie-p2j ปีที่แล้ว +2

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

    • @daniyalkaleem3752
      @daniyalkaleem3752 11 หลายเดือนก่อน +3

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

  • @vasanth2720
    @vasanth2720 9 หลายเดือนก่อน +2

    Send this code bro

  • @flosrv3194
    @flosrv3194 8 หลายเดือนก่อน +4

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

    • @jaiwanthtatuskar7144
      @jaiwanthtatuskar7144 5 หลายเดือนก่อน

      yeah

    • @thiagoalves4080
      @thiagoalves4080 5 หลายเดือนก่อน +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 5 หลายเดือนก่อน

      @@thiagoalves4080 you also try with drop the date column

    • @mohdishaq5869
      @mohdishaq5869 5 หลายเดือนก่อน +1

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

  • @shayakbiswas6118
    @shayakbiswas6118 11 หลายเดือนก่อน +1

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

  • @captaingaming9412
    @captaingaming9412 2 ปีที่แล้ว +1

    how to predict the present price

  • @mahlaAbdoli87
    @mahlaAbdoli87 ปีที่แล้ว +3

    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 ปีที่แล้ว +1

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

    • @arshdeep_2875
      @arshdeep_2875 ปีที่แล้ว +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

    • @AbubakrAhmed-n6g
      @AbubakrAhmed-n6g หลายเดือนก่อน

      @@arshdeep_2875 nice

  • @heyyy_jayant
    @heyyy_jayant 7 หลายเดือนก่อน +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 6 หลายเดือนก่อน +1

      I am also facing the same problem

    • @mohdishaq5869
      @mohdishaq5869 5 หลายเดือนก่อน +1

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

  • @madhumithan6653
    @madhumithan6653 ปีที่แล้ว +4

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

    • @tonic_tv2113
      @tonic_tv2113 ปีที่แล้ว

      ya excellent question, maybe we have to not sure though

  • @lmecobra3443
    @lmecobra3443 3 ปีที่แล้ว +2

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

    • @Siddhardhan
      @Siddhardhan  3 ปีที่แล้ว +1

      you can use forecasting models like LSTM

    • @lmecobra3443
      @lmecobra3443 3 ปีที่แล้ว +1

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

  • @AD_Mithra
    @AD_Mithra 2 ปีที่แล้ว +1

    need front end code for end to end model

  • @tonic_tv2113
    @tonic_tv2113 ปีที่แล้ว

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

  • @namansingh2807
    @namansingh2807 6 หลายเดือนก่อน

    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

  • @ChandanaKarumudi
    @ChandanaKarumudi 9 หลายเดือนก่อน

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

  • @romanrames4675
    @romanrames4675 2 ปีที่แล้ว +1

    Which algorithm u used in this project

  • @Manideep.
    @Manideep. 3 ปีที่แล้ว

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

    • @Siddhardhan
      @Siddhardhan  3 ปีที่แล้ว

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

  • @adithyavarma758
    @adithyavarma758 2 หลายเดือนก่อน

    thank you sir for wonderful explanation

  • @DCse-b9t
    @DCse-b9t 5 หลายเดือนก่อน

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

  • @mitanshubaranwal8878
    @mitanshubaranwal8878 ปีที่แล้ว

    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.

  • @rasmiyavs7546
    @rasmiyavs7546 2 ปีที่แล้ว

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

  • @tokunbohijadimini5693
    @tokunbohijadimini5693 3 ปีที่แล้ว

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

  • @slingshot7602
    @slingshot7602 2 ปีที่แล้ว

    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 9 หลายเดือนก่อน

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

  • @vinaynaik953
    @vinaynaik953 3 ปีที่แล้ว +2

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

    • @Siddhardhan
      @Siddhardhan  3 ปีที่แล้ว +1

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

  • @703_dsreetejmedari5
    @703_dsreetejmedari5 ปีที่แล้ว

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

  • @athiradass1074
    @athiradass1074 ปีที่แล้ว

    Sir how to check overfitting

  • @Mon_isha09
    @Mon_isha09 3 ปีที่แล้ว

    it is helpful for the begginers like me
    Thank u

  • @yashpatil4605
    @yashpatil4605 3 ปีที่แล้ว +2

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

    • @Siddhardhan
      @Siddhardhan  3 ปีที่แล้ว +3

      hi! deployment will be covered after deep learning course

  • @kajaharisatyaumamaheswarar4715
    @kajaharisatyaumamaheswarar4715 2 ปีที่แล้ว

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

  • @Revanth2344
    @Revanth2344 2 ปีที่แล้ว +1

    Please do videos on forecasting..😥

  • @Online_store_finds
    @Online_store_finds ปีที่แล้ว

    At 29:43 i am getting an error

  • @MrAmarSindol
    @MrAmarSindol 2 ปีที่แล้ว

    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 !!

  • @archanajprabhu5595
    @archanajprabhu5595 2 ปีที่แล้ว

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

  • @pavanigade637
    @pavanigade637 2 ปีที่แล้ว

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

  • @nishantkumar9466
    @nishantkumar9466 2 ปีที่แล้ว

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

  • @Quest_adventure
    @Quest_adventure ปีที่แล้ว

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

  • @synterr
    @synterr 2 ปีที่แล้ว

    So what is the prediction for the next 10 years?

  • @Sonofgod9663
    @Sonofgod9663 3 ปีที่แล้ว

    Can You please tell methodology of this project.

  • @sawantatharv
    @sawantatharv 3 ปีที่แล้ว

    How can I show output of this to web ?

  • @ashusingh8280
    @ashusingh8280 ปีที่แล้ว

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

    • @jeyptmanyt6599
      @jeyptmanyt6599 7 หลายเดือนก่อน

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

  • @pappukapgate762
    @pappukapgate762 3 ปีที่แล้ว +2

    From where I can get this data set.

    • @Siddhardhan
      @Siddhardhan  3 ปีที่แล้ว

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

    • @Siddhardhan
      @Siddhardhan  3 ปีที่แล้ว

      You can also search for it in Kaggle

  • @mineraalcira5342
    @mineraalcira5342 3 ปีที่แล้ว

    pronostic model?

  • @asjadzaki8499
    @asjadzaki8499 ปีที่แล้ว

    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

  • @Sana-tp6oi
    @Sana-tp6oi 2 ปีที่แล้ว

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

  • @amitbudhiraja7498
    @amitbudhiraja7498 3 ปีที่แล้ว

    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  3 ปีที่แล้ว +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 3 ปีที่แล้ว

      @@Siddhardhan Thanks a lot sir for your reply

  • @mokshith_nayak
    @mokshith_nayak 9 หลายเดือนก่อน

    correlation part not executing...

  • @AhmedSawy-bz5og
    @AhmedSawy-bz5og 2 หลายเดือนก่อน

    Great Video

  • @nikhilkshirsagar3995
    @nikhilkshirsagar3995 3 ปีที่แล้ว

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

  • @sandipansarkar9211
    @sandipansarkar9211 2 ปีที่แล้ว

    finished watching

  • @samrudhashinde3163
    @samrudhashinde3163 2 ปีที่แล้ว

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

  • @nagarajprabhavathi3668
    @nagarajprabhavathi3668 3 ปีที่แล้ว

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

    • @Siddhardhan
      @Siddhardhan  3 ปีที่แล้ว

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

  • @dpmharry
    @dpmharry 3 ปีที่แล้ว

    How can I know the accuracy value of this algorithm?

    • @Siddhardhan
      @Siddhardhan  3 ปีที่แล้ว

      you can calculate mean absolute error and other metrics.

    • @soul2197
      @soul2197 2 ปีที่แล้ว

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

  • @ΑργύριοςΤακλάκογλου
    @ΑργύριοςΤακλάκογλου 3 ปีที่แล้ว

    Can we use XGBRegressor?

  • @powerfullentertainer9250
    @powerfullentertainer9250 3 ปีที่แล้ว +1

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

    • @Siddhardhan
      @Siddhardhan  3 ปีที่แล้ว +7

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

  • @jshaaan
    @jshaaan 3 ปีที่แล้ว

    how to find new predicted gold price based on new row

    • @Siddhardhan
      @Siddhardhan  3 ปีที่แล้ว +1

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

    • @jshaaan
      @jshaaan 3 ปีที่แล้ว

      @@Siddhardhan thanks got it

  • @sujan4386
    @sujan4386 3 ปีที่แล้ว +1

    What does each feature signifies in the data set ?

    • @Siddhardhan
      @Siddhardhan  3 ปีที่แล้ว

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

    • @sujan4386
      @sujan4386 3 ปีที่แล้ว +1

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

    • @Siddhardhan
      @Siddhardhan  3 ปีที่แล้ว

      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

  • @sujan4386
    @sujan4386 3 ปีที่แล้ว +1

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

    • @Siddhardhan
      @Siddhardhan  3 ปีที่แล้ว

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

  • @sachinvithubone4278
    @sachinvithubone4278 3 ปีที่แล้ว

    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  3 ปีที่แล้ว +1

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

  • @wimdekker4333
    @wimdekker4333 3 ปีที่แล้ว

    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?

    • @Siddhardhan
      @Siddhardhan  3 ปีที่แล้ว +1

      thanks! may be in the future 😄

  • @binduanjani6871
    @binduanjani6871 3 ปีที่แล้ว

    Give me the abstract please

    • @Siddhardhan
      @Siddhardhan  3 ปีที่แล้ว

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

  • @phucl.nguyen5168
    @phucl.nguyen5168 3 ปีที่แล้ว

    Can I using Linear Regression to solve this task sir?

    • @Siddhardhan
      @Siddhardhan  3 ปีที่แล้ว +2

      hi! you can definitely try.

  • @sandipansarkar9211
    @sandipansarkar9211 2 ปีที่แล้ว

    finished coding

  • @khawajadanyialahmad45
    @khawajadanyialahmad45 3 ปีที่แล้ว

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

  • @khawajadanyialahmad45
    @khawajadanyialahmad45 3 ปีที่แล้ว

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

  • @khawajadanyialahmad45
    @khawajadanyialahmad45 3 ปีที่แล้ว

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

  • @khawajadanyialahmad45
    @khawajadanyialahmad45 3 ปีที่แล้ว

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

  • @khawajadanyialahmad45
    @khawajadanyialahmad45 3 ปีที่แล้ว

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

    • @Siddhardhan
      @Siddhardhan  3 ปีที่แล้ว

      hi! I am not that active in Kaggle recently