Close Menu
    Trending
    • Become a Better Data Scientist with These Prompt Engineering Tips and Tricks
    • Meanwhile in Europe: How We Learned to Stop Worrying and Love the AI Angst | by Andreas Maier | Jul, 2025
    • Transform Complexity into Opportunity with Digital Engineering
    • OpenAI Is Fighting Back Against Meta Poaching AI Talent
    • Lessons Learned After 6.5 Years Of Machine Learning
    • Handling Big Git Repos in AI Development | by Rajarshi Karmakar | Jul, 2025
    • National Lab’s Machine Learning Project to Advance Seismic Monitoring Across Energy Industries
    • HP’s PCFax: Sustainability Via Re-using Used PCs
    AIBS News
    • Home
    • Artificial Intelligence
    • Machine Learning
    • AI Technology
    • Data Science
    • More
      • Technology
      • Business
    AIBS News
    Home»Machine Learning»Boycotting Unilever: What Happens to Their Stock Prices? | by Muhammad Kamil Dipinto | Dec, 2024
    Machine Learning

    Boycotting Unilever: What Happens to Their Stock Prices? | by Muhammad Kamil Dipinto | Dec, 2024

    Team_AIBS NewsBy Team_AIBS NewsDecember 25, 2024No Comments8 Mins Read
    Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
    Share
    Facebook Twitter LinkedIn Pinterest Email


    PT. Unilever’s share worth actions 22 June 2017 to 22 June 2024

    Did you recognize the phrase “boycott” comes from a man named Captain Charles Boycott, who sparked outrage again in 1880 together with his harsh hire assortment strategies? Quick ahead to immediately, boycotts have grow to be a strong approach for individuals to face up in opposition to injustices — and the newest instance has grabbed international consideration.

    The world has been shaken by the continuing genocide in Palestine, with big-name firms like Unilever, McDonald’s, and Starbucks accused of not directly supporting the marketing campaign. This sparked an enormous boycott motion in Indonesia, particularly in opposition to Unilever. What’s fascinating is how this social motion has began to have an effect on Unilever Indonesia’s inventory costs.

    Unilever Indonesia (UNVR) is among the prime gamers on the LQ45 index, recognized for its excessive liquidity and market dominance. With a Return on Property (ROA) of 47.4%, it’s no shock buyers maintain an in depth eye on it. However when a boycott hits, it raises the massive query: How will this affect the corporate’s inventory?

    To dig deeper, this put up explores how Unilever’s inventory costs are transferring in the course of the boycott utilizing some cool forecasting strategies — LSTM, GRU, and XGBoost, utilizing shut worth dataset of Unilever Indonesia 22 June 2017 till 21 June 2024.

    Lengthy Quick Time period Reminiscence

    The Lengthy Quick-Time period Reminiscence (LSTM) methodology is among the hottest methods for processing and forecasting time-series information. What makes it stand out is its capacity to deal with long-term dependencies, a typical problem in time-series forecasting. Conventional RNNs (Recurrent Neural Networks) typically battle with one thing referred to as the “vanishing gradient drawback,” the place the mannequin loses essential data over time. LSTM solves this with a intelligent mechanism that retains data for longer durations.

    Right here’s the way it works: LSTM networks are made up of reminiscence blocks, that are like little controllers that resolve what data will get remembered, what will get forgotten, and what will get handed on to the following step. This makes LSTM a strong device for making correct predictions in time-series information, particularly when there’s a number of historic context concerned.

    First, the info was imported and ready utilizing common libraries like numpy, pandas, matplotlib, seaborn, and tensorflow. After loading the info, preprocessing steps have been carried out, together with normalization to verify the info is scaled persistently. To keep away from overfitting and enhance the mannequin’s generalization, a number of regularization methods have been utilized throughout coaching. The dataset is break up into three components to make sure correct and dependable mannequin analysis. About 80% of the info is used for coaching, the place the mannequin learns the patterns. The remaining 20% is split equally, with 10% for testing and 10% for validation. The testing information checks how nicely the mannequin performs on unseen information, whereas the validation information helps fine-tune the mannequin throughout coaching. This strategy ensures a balanced and efficient approach to assess the mannequin’s efficiency. After the info splitting course of, the LSTM mannequin was educated utilizing the normalized coaching information.

    Coaching, validation, and testing information on LSTM mannequin

    The mannequin was evaluated by evaluating precise and predicted information. Within the coaching stage, the predictions matched the actual information fairly nicely with low errors. Throughout validation, with new information the mannequin nonetheless did a very good job, although there have been some small variations. The plots confirmed that the LSTM mannequin did a strong job of capturing the patterns and tendencies within the information.

    Precise coaching information and predict coaching information for LSTM mannequin
    Precise validation information and predict validation information for LSTM mannequin

    The educated LSTM mannequin was used to foretell Unilever’s inventory costs from June 14 2024 to June 28 2024. The forecast outcomes have been proven in tables and plots to assist visualize the mannequin’s predictions.

    Inventory prediction outcomes 15 days forward with the LSTM mannequin
    Visualization of Precise Information and Forecast Information

    From the evaluation and forecasting outcomes, it’s clear that the LSTM mannequin does a very good job of predicting Unilever’s inventory worth within the brief time period. It intently follows the patterns and tendencies within the historic information, though there are just a few small variations within the predictions.

    Gated Recurrent Unit (GRU)

    The Gated Recurrent Unit (GRU) is one other kind of Recurrent Neural Community (RNN) designed to deal with long-term dependencies in information. Consider it as an easier model of LSTM. Whereas LSTM makes use of a number of gates to manage data movement, GRU simplifies issues with simply two gates: the replace gate and the reset gate.

    The information was first break up into 80% for coaching, 10% for validation, and 10% for testing. The GRU mannequin was then constructed by stacking layers, incorporating dropouts, and including a dense layer. The Adam optimizer was used alongside imply sq. error because the loss operate. The mannequin was educated over 200 epochs with a batch dimension of 32. To judge its efficiency, the unique information values have been in contrast with the anticipated values. From the plot, the distinction between the unique coaching values and the anticipated values is minimal, indicating that the mannequin performs nicely in making predictions with low error.

    Comparability between authentic worth and predicted worth on GRU mannequin

    The GRU mannequin predicts Unilever Indonesia’s inventory worth for June 22 to July 6, 2024. From the tables and graphs, it appears just like the inventory worth may maintain dropping over the following 15 days, exhibiting how nicely the mannequin can choose up on tendencies.

    Inventory prediction for 15 days forward with GRU mannequin

    A plot was then created to mix the precise and predicted information, making it simpler to visualise the mannequin’s efficiency and prediction accuracy. From the outcomes, it’s clear that the GRU mannequin is able to predicting inventory information within the brief time period, exhibiting that PT Unilever Indonesia’s inventory maintain could be dropping. The mannequin efficiently identifies patterns and tendencies within the information.

    Plot of precise information and predicted information on GRU mannequin

    XGBoost

    XGBoost, developed by Chen and Guestrin in 2016, is an algorithm constructed on the boosting mannequin launched by Friedman. It’s an ensemble mannequin that makes use of choice timber to create a stronger, mixed mannequin. This strategy normally ends in higher predictions in comparison with utilizing particular person fashions on their very own. XGBoost can be nice for characteristic choice, serving to to select the essential options for prediction in high-dimensional time-series information whereas eliminating the pointless ones. The concept behind XGBoost is so as to add weak timber with totally different weights one after one other to enhance the mannequin step-by-step.

    First, break up the info into coaching information and testing information, with an 80:20 break up. The time sequence options created embrace date, day of the week, quarter, month, 12 months, day of the 12 months, and day of the month. These options are used to forecast with the XGBoost mannequin. Determine beneath reveals the characteristic significance plot for the XGBoost mannequin.

    Plot Function Significance

    The following step is to construct the mannequin and make predictions on the testing information. The outcomes will be seen within the plot, with a MAPE worth of 26.54% primarily based on the testing information, which is taken into account fairly good.

    Plot Precise vs Predicted Information XGBoost

    After constructing the XGBoost mannequin utilizing the coaching and testing information, the educated mannequin was used to foretell Unilever’s inventory costs for the interval from June 22 2024 to July 6 2024.

    Inventory prediction outcomes 15 days forward with the XGBoost mannequin

    The inventory worth is predicted to drop considerably from round 4950 to beneath 4750 by July 1. After that, it reveals a restoration, rising to about 4900 by July 6, with some fluctuations alongside the best way. This highlights the anticipated volatility and total pattern of the inventory throughout this era.

    Graphic prediction outcomes 15 days forward with the XGBoost mannequin

    Evaluate the Mannequin

    Efficiency Comparability

    A comparability of the fashions (LSTM, XGBoost, and GRU) for PT Unilever Tbk inventory reveals that the GRU mannequin has the bottom MAPE, indicating probably the most correct predictions. LSTM follows with the second lowest MAPE, additionally offering correct predictions. Alternatively, XGBoost has the very best MAPE, which nonetheless suggests cheap accuracy however is barely much less correct than LSTM and GRU.

    Conclusion

    The evaluation reveals that PT Unilever Indonesia Tbk’s inventory worth dropped considerably, possible because of the boycott of its merchandise, which affected client and investor confidence. This example additionally connects to the Sustainable Improvement Objectives (SDGs), particularly objectives 12 (accountable consumption) and 16 (peace and justice). Firms caught in controversial points can face challenges that affect their inventory costs.

    Whereas these fashions might help predict inventory costs, they’ve limitations for the reason that inventory market is influenced by many elements like coverage modifications, shopping for/promoting energy, and firm information. These fashions are helpful for short-term buying and selling, however extra analysis is required to enhance their accuracy and ensure their effectiveness.



    Source link

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleTop Climate Tech Stories of 2024
    Next Article Mono to Stereo: How AI Is Breathing New Life into Music | by Max Hilsdorf | Dec, 2024
    Team_AIBS News
    • Website

    Related Posts

    Machine Learning

    Meanwhile in Europe: How We Learned to Stop Worrying and Love the AI Angst | by Andreas Maier | Jul, 2025

    July 1, 2025
    Machine Learning

    Handling Big Git Repos in AI Development | by Rajarshi Karmakar | Jul, 2025

    July 1, 2025
    Machine Learning

    A Technical Overview of the Attention Mechanism in Deep Learning | by Silva.f.francis | Jun, 2025

    June 30, 2025
    Add A Comment
    Leave A Reply Cancel Reply

    Top Posts

    Become a Better Data Scientist with These Prompt Engineering Tips and Tricks

    July 1, 2025

    I Tried Buying a Car Through Amazon: Here Are the Pros, Cons

    December 10, 2024

    Amazon and eBay to pay ‘fair share’ for e-waste recycling

    December 10, 2024

    Artificial Intelligence Concerns & Predictions For 2025

    December 10, 2024

    Barbara Corcoran: Entrepreneurs Must ‘Embrace Change’

    December 10, 2024
    Categories
    • AI Technology
    • Artificial Intelligence
    • Business
    • Data Science
    • Machine Learning
    • Technology
    Most Popular

    Disney, Fox and Warner Bros. Discontinue Venu Sports Streaming Service

    January 10, 2025

    Citigroup Lays Off Data Analysis Roles, Managing Directors

    January 18, 2025

    Unveiling The Drift Problem for Machine Learning — Detection | by Ravi Teja U | Feb, 2025

    February 15, 2025
    Our Picks

    Become a Better Data Scientist with These Prompt Engineering Tips and Tricks

    July 1, 2025

    Meanwhile in Europe: How We Learned to Stop Worrying and Love the AI Angst | by Andreas Maier | Jul, 2025

    July 1, 2025

    Transform Complexity into Opportunity with Digital Engineering

    July 1, 2025
    Categories
    • AI Technology
    • Artificial Intelligence
    • Business
    • Data Science
    • Machine Learning
    • Technology
    • Privacy Policy
    • Disclaimer
    • Terms and Conditions
    • About us
    • Contact us
    Copyright © 2024 Aibsnews.comAll Rights Reserved.

    Type above and press Enter to search. Press Esc to cancel.