Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Sentient Driven Stock Prediction: Modeling News Articles' Impact with Logistic Regression and Neural Networks
KTH, School of Engineering Sciences (SCI).
KTH, School of Engineering Sciences (SCI).
2025 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

The objective of this thesis is to investigate the relationship between newssentiment and stock market performance by predicting daily stock pricemovement for Tesla (TSLA). Sentiment data from news articles for a longer period(3.1) is used to construct features based on average sentiment and trend (3.2).These features are then used to train two different models: logistic regression (2.2)and a feedforward neural network (2.3), both aiming to predict whether the stockwill go up or down on a given trading day.Two different periods are tested spanning from 2022 until 2025. Across all tests,the neural network is the only model beating random, with an average accuracy of0,58 and and average ROC-AUC score of 0,59 (4.2). The logistic regression modelhas successful classification for the first period, while overall performing no betterthan average (4.1).This study does give insight into the relationship between expressed opinions innews articles and the resulting stock movement, but the analysis is only executedon a chosen stock for a chosen period, thus no generalized conclusions can bedrawn from this study alone.

Place, publisher, year, edition, pages
2025.
Series
TRITA-SCI-GRU ; 2025:200
Keywords [en]
Sentiment analysis; Logistic regression; Neural network; Machine learning; Stock; Prediction
National Category
Mathematical sciences
Identifiers
URN: urn:nbn:se:kth:diva-365930OAI: oai:DiVA.org:kth-365930DiVA, id: diva2:1980471
Subject / course
Mathematics
Educational program
Master of Science in Engineering - Vehicle Engineering
Supervisors
Examiners
Available from: 2025-07-02 Created: 2025-07-02 Last updated: 2025-07-02Bibliographically approved

Open Access in DiVA

fulltext(2082 kB)645 downloads
File information
File name FULLTEXT01.pdfFile size 2082 kBChecksum SHA-512
ff6ad6c69cd6ece829e4e450f9cde2a9845260991d83c679d967bf3767fd6db63e092819cd5c9e9f1c6707816385df30c374fbd4a66b7d11ac235204a4e8048f
Type fulltextMimetype application/pdf

By organisation
School of Engineering Sciences (SCI)
Mathematical sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 649 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 576 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf