Learn How to PREDICT TRENDS with Python and Machine Learning

Поделиться
HTML-код
  • Опубликовано: 18 ноя 2023
  • 🌟 Unlock the power of predicting future trends with NeuralProphet! 🚀 Join us on a journey into time series forecasting using Python, where we demystify the complexities of predicting what lies ahead. 📊 Learn step-by-step how to harness the capabilities of NeuralProphet, a specialized algorithm designed for accurate and intuitive time series predictions. 💡
    Get the Code file here:-
    github.com/SMDS-Studio/Predic...
    Credits:
    www.python.org, GPL www.gnu.org/licenses/gpl.html, via Wikimedia Commons
    Tags:
    #NeuralProphet #TimeSeriesForecasting #MachineLearning #DataScience #PredictiveAnalytics #TechExplorers #LearnWithData #CodeSmart 🌟📊🚀

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

  • @justinnacu
    @justinnacu 5 месяцев назад +1

    Great video bro! Subscribed!

  • @amblessedcoding
    @amblessedcoding 7 месяцев назад +2

    More videos on this thank you i love your teaching , you are very good in teaching

    • @SMDS_Studio
      @SMDS_Studio  7 месяцев назад +2

      Definitely! Infact, we just released a video on actually performing background removal of images using python's scikit learn....This is very similar and you might like it very well! I am SO GLAD you like my teaching style!
      here's is the link:- ruclips.net/video/KeIP7tz-33U/видео.html

  • @alisher.m
    @alisher.m 7 месяцев назад +3

    Thank you, good tutorial

    • @SMDS_Studio
      @SMDS_Studio  7 месяцев назад +1

      Thank you! I'm glad I could confuse you just enough to make it seem like you learned something. 😉
      anyways, you might like our image processing video which is kind of similar to this video when you see
      here's the link:- ruclips.net/video/KeIP7tz-33U/видео.html

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

    Great topic, thanks 👍

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

      My pleasure!
      In fact, we are working on similar type videos that are easier to replicate as well
      Hope you stay tuned!

  • @nicowalsen
    @nicowalsen 5 месяцев назад +1

    Very consice, thank you a lot!

  • @TienTran-dn3jl
    @TienTran-dn3jl 6 месяцев назад +1

    This is so exciting mate. Thanks!

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

      You bet! 😂
      Anyways, don't consider this a promotion but I am so sure you are going to like the video talking about building a language translator. Do check it out
      ruclips.net/video/OwA8mszL38w/видео.html

  • @79_e665
    @79_e665 7 месяцев назад +2

    excellent. Thank you!

    • @SMDS_Studio
      @SMDS_Studio  7 месяцев назад +2

      SO happy that you liked this video! well continue to post such type of videos upto your expectations

  • @MinerH2O
    @MinerH2O 8 месяцев назад +6

    HI, I enjoyed the code. I tried running your script but I'm getting a compatibility error between Python latest version and NeuralProphet. What version of Python are you using?

    • @SMDS_Studio
      @SMDS_Studio  8 месяцев назад +5

      Hi! I am glad you enjoyed the code. Python 3.9 was used in this video. I am not sure if your python version is updated to the latest and I recommend trying to upgrade it to 3.9 or higher, as NeuralProphet may have updates that align better with newer Python releases. Let me know if that helps!

  • @dhanushranga1
    @dhanushranga1 5 месяцев назад +1

    Interesting question here, can u analyse volume patterns to predict pump and dump schemes.

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

      Ig you could try to use FBPROPHET for that but I am not really sure
      Although, it might work..

  • @TradeNvesteasy
    @TradeNvesteasy 5 месяцев назад +1

    That's awesome 🎉

    • @SMDS_Studio
      @SMDS_Studio  5 месяцев назад +1

      I value your acknowledgement ;)
      In fact, I believe you would like our latest video as well
      Here's the link:- ruclips.net/video/FP10wx_yP3A/видео.html

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

    Best video ❤

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

      So nice to get the acknowledgement!
      We would be much much delighted if you decide to spend more time watching our videos 😉

  • @nicholasfriedrich4549
    @nicholasfriedrich4549 5 месяцев назад +1

    Two questions:
    1. You trained the model on the training data, then used it to predict the training data, so naturally it will look accurate. What was the idea or purpose behind this? I am genuinely just curious to see if I am missing something
    2. The model forecasts for weekends too and Saturday and Sunday are included in time series. Naturally, stock's do not trade on weekends. Can this be adapted in the model? Perhaps the model can only identify existing trends?

    • @SMDS_Studio
      @SMDS_Studio  5 месяцев назад +1

      Let's answer this 1 by 1
      1.) So I took the first 80 percent of the data and gave it to the model for training.
      Now it doesn't know anything about the rest 20 percent. Then I made predictions with the model for the duration of which we know the actual values but then the model doesn't
      Then I plotted both actual and predicted values to compare
      2.) Here, I just use the forecast function which will give predictions continuously for the mentioned days
      So this goes to say, that the project itself is just a demonstration of how the prophet model
      Where as when it comes to real world stocks project, there are many other factors we have to consider for modeling
      We have planned a sequel video on that....soon

    • @joelknapp9112
      @joelknapp9112 Месяц назад

      @@SMDS_Studio this helped me a lot with time series forecasting. I'm curious when you split the model 80/20 though? I don't see that step in the video. Thanks for helping me out!

  • @fluxstandard8364
    @fluxstandard8364 7 месяцев назад +1

    what is the programme he is writing in - i am using cmd

  • @ikkeik6075
    @ikkeik6075 5 месяцев назад +1

    Great.

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

      Appreciate your response 😃. Thanks!!

  • @DalazG
    @DalazG 6 месяцев назад +2

    I'm trying to make a machine learning model for creating an automated forex trading strategy.
    Curious if this transferable?

    • @SMDS_Studio
      @SMDS_Studio  6 месяцев назад +3

      Well, actually this is just a pretrained model
      We just get the weights on to our local machine and then use .predict function
      This way of using a pretrained model mostly works in any project
      Again, code file in the description
      Cheers

  • @mohammedsaleh-ck8jf
    @mohammedsaleh-ck8jf 5 месяцев назад +1

    thanks bro 👋

  • @noahlam5415
    @noahlam5415 4 месяца назад +1

    I’m confused on what data the model is using to predict the “actual prediction”. If it is predicting the only dataset that you gave it, what is it using to make those predictions

    • @SMDS_Studio
      @SMDS_Studio  4 месяца назад

      I have split the dataset such that I am only providing 80 percent of the actual data and the rest 20 is what the machine hasn't seen yet and we make it predict on these dates and compare with the actual values

    • @noahlam5415
      @noahlam5415 4 месяца назад

      @@SMDS_Studiowhere exactly are you splitting it into 80 and 20 because i dont see that in the code. Is that what the model.fit() does for you?

    • @SMDS_Studio
      @SMDS_Studio  4 месяца назад

      If you have a look closely, I have removed the recent 20 percent dates and provided only the first 80 percent
      Using slicing

    • @noahlam5415
      @noahlam5415 4 месяца назад

      @@SMDS_Studiowhere do you do that at? I’m not seeing it in the code. Unless that is what model.fit(Stocks) does?

  • @user-kf7sj9qt1z
    @user-kf7sj9qt1z 7 месяцев назад +1

    I ran your code in Pycharm and it failed to run at the line:
    stocks = pd.read_csv('stock_data_Samsung.csv')
    unless I change it to
    stocks: DataFrame = pd.read_csv('stock_data_Samsung.csv')

    • @SMDS_Studio
      @SMDS_Studio  7 месяцев назад +2

      This I am not really sure, I mean it should be working in the first case itself but then I recommend you to have a look at your python version

  • @udhayaranijeeva3568
    @udhayaranijeeva3568 12 дней назад

    Could you please assist me in resolving this issue below?
    I'm attempting to load the neuralprophet trained model from a different device.encountering a"Error": "[WinError 5] Access is denied:'model trained directory name ' " on model.predict(df) line.
    How do I figure this out...?

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

      Are you enccountering this in google collab?

  • @deniszhuravlev9874
    @deniszhuravlev9874 7 месяцев назад +1

    How did you make it to work?
    It doesn't install in anaconda for jupyter notebook.
    It installs in google colab, but when I tries to train it, it reset colab processes.

    • @SMDS_Studio
      @SMDS_Studio  7 месяцев назад +1

      I recommend you taking a look at the python version you are using..
      NeuralProphet works best on python versions 3.9 or above
      Let me know if it helps

    • @manwong9852
      @manwong9852 7 месяцев назад +1

      yes ,i cant run python 3.6 & python 3.10 but can run python 3.9

  • @MrHarsha8
    @MrHarsha8 5 месяцев назад +1

    subscribed..

  • @user-kf7sj9qt1z
    @user-kf7sj9qt1z 7 месяцев назад +5

    By the way, please provide code listing if you can!

    • @SMDS_Studio
      @SMDS_Studio  7 месяцев назад +3

      My Bad, Here you go:-
      github.com/SMDS-Studio/Predict-Trends-Code-File/blob/main/NeuralProphet.ipynb

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

    can you try this for bitcoin please

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

      As I mentioned in the video, the model itself is very unreliable and by no means this would be a financial advice
      Ofc you can use the bitcoin data to see predictions but again I wanna say that this is just a representation of how a prophet model works

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

    lol and here is where you lose all your money.
    *video ends*
    🤣

    • @SMDS_Studio
      @SMDS_Studio  6 месяцев назад +2

      😂Think of a Machine giving a reply to this