{"id":{"repo_id":"nanyang","oai_identifier":"oai:dr.ntu.edu.sg:10356/214323"},"canonical_url":"https://search.ndltd.org/etd/nanyang/oai:dr.ntu.edu.sg:10356/214323","repository":{"repo_id":"nanyang","name":"Nanyang Technological University","base_url":"https://dr.ntu.edu.sg/oai/request"},"display":{"title":"AI and ML algorithms for stock market prediction","abstract":"The growing complexity and volatility observed in global financial markets pose significant challenges for traditional statistical models and human-driven analysis, which frequently fail to account for the nonlinear and evolving patterns embedded in stock price behavior. Recent progress in AI and machine learning has paved the way for the development of more accurate and dependable prediction methodologies. This dissertation presents a comprehensive comparative study on the application of AI and ML algorithms for stock price and stock trend prediction, addressing both regression tasks and classification tasks. Five representative models are systematically evaluated: Decision Tree, Support Vector Machine, Long Short-Term Memory network, Random Forest, and XGBoost. The experimental data is sourced from the AKShare interface, comprising daily trading records of 10 major U.S. stocks across key sectors, including technology, finance, consumer goods, and pharmaceuticals, spanning a six-year period from January 2020 to December 2025. The models are evaluated under multiple configurations: sequence lengths of 1, 7, and 30 days, and prediction periods of 1, 7, and 30 days. Performance is assessed using regression metrics and classification metrics . The results demonstrate that ensemble methods achieve the highest accuracy in regression tasks, with R2 consistently above 0.91 and RMSE significantly lower than other models. In classification tasks, LSTM and XGBoost outperform their counterparts, achieving accuracy improvements of up to 5 percentage points over random guessing, i particularly in medium-term predictions (7 days). The inclusion of technical indicators yields modest gains in classification accuracy (0.4–1.2 percentage points) but degrades regression performance for most models. Sequence length impacts model performance in a model-dependent manner: ensemble models exhibit monotonic decline with longer sequences, LSTM follows an inverted U-shaped pattern, SVM shows sharp degradation, and Decision Tree performance remains near-random. Notably, long-term prediction proves inherently challenging, with all models struggling to exceed an accuracy of 0.53. This dissertation concludes that no single model is universally optimal. Model selection should be guided by task type, prediction period, and feature set. At the end of this dissertation are the limitations and recommendation in future work.","abstract_html":"The growing complexity and volatility observed in global financial markets pose significant challenges for traditional statistical models and human-driven analysis, which frequently fail to account for the nonlinear and evolving patterns embedded in stock price behavior. Recent progress in AI and machine learning has paved the way for the development of more accurate and dependable prediction methodologies. This dissertation presents a comprehensive comparative study on the application of AI and ML algorithms for stock price and stock trend prediction, addressing both regression tasks and classification tasks. Five representative models are systematically evaluated: Decision Tree, Support Vector Machine, Long Short-Term Memory network, Random Forest, and XGBoost. The experimental data is sourced from the AKShare interface, comprising daily trading records of 10 major U.S. stocks across key sectors, including technology, finance, consumer goods, and pharmaceuticals, spanning a six-year period from January 2020 to December 2025. The models are evaluated under multiple configurations: sequence lengths of 1, 7, and 30 days, and prediction periods of 1, 7, and 30 days. Performance is assessed using regression metrics and classification metrics . The results demonstrate that ensemble methods achieve the highest accuracy in regression tasks, with R2 consistently above 0.91 and RMSE significantly lower than other models. In classification tasks, LSTM and XGBoost outperform their counterparts, achieving accuracy improvements of up to 5 percentage points over random guessing, i particularly in medium-term predictions (7 days). The inclusion of technical indicators yields modest gains in classification accuracy (0.4–1.2 percentage points) but degrades regression performance for most models. Sequence length impacts model performance in a model-dependent manner: ensemble models exhibit monotonic decline with longer sequences, LSTM follows an inverted U-shaped pattern, SVM shows sharp degradation, and Decision Tree performance remains near-random. Notably, long-term prediction proves inherently challenging, with all models struggling to exceed an accuracy of 0.53. This dissertation concludes that no single model is universally optimal. Model selection should be guided by task type, prediction period, and feature set. At the end of this dissertation are the limitations and recommendation in future work.","abstract_has_math":false,"creators":["An, Feng"],"institution":"Nanyang Technological University","degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":null,"school":"School of Electrical and Electronic Engineering","contributors":[],"advisors":["Mohammed Yakoob Siyal"],"committee_chairs":[],"committee_members":[],"year":2026,"date_issued":"2026","date_published":"2026","updated_at":"2026-11-27T08:09:14Z","subjects":["Computer and Information Science"],"languages":["en"],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10356/214323","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10356/214323","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Ananyang%3Aoai%3Adr.ntu.edu.sg%3A10356%2F214323","prefix":"oai_dc"},"source_record":{"url":"https://dr.ntu.edu.sg/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Adr.ntu.edu.sg%3A10356%2F214323","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.school","label":"School","values":["School of Electrical and Electronic Engineering"]},{"key":"dc:contributor.supervisor","label":"Supervisor","values":["Mohammed Yakoob Siyal"]},{"key":"dc:creator","label":"Author","values":["An, Feng"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-04-23T08:33:47Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2026-04-23T08:33:47Z"]},{"key":"dc:date.issued","label":"Date","values":["2026"]},{"key":"dc:publisher","label":"Institution","values":["Nanyang Technological University"]},{"key":"dc:relation","label":"Dc Relation","values":["ISM-DISS-05571"]},{"key":"dc:type","label":"Dc Type","values":["Thesis-Master by Coursework"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Computer and Information Science"]},{"key":"dc:subject.keyword","label":"Dc Subject Keyword","values":["Stock market prediction","Artificial intelligence","Machine learning","Decision tree","Support vector machine","Neural network"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10356/214323"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"cerif:openaire","label":"Cerif Openaire","values":["<Publication xmlns=\"https://www.openaire.eu/cerif-profile/1.1/\" id=\"f18909a8-9dff-484c-b53a-18006055c26c\"> <Type xmlns=\"https://www.openaire.eu/cerif-profile/vocab/COAR_Publication_Types\">http://purl.org/coar/resource_type/c_1843</Type> <Language>en</Language> <Title>AI and ML algorithms for stock market prediction</Title> <PublishedIn> <Publication> </Publication> </PublishedIn> <PublicationDate>2026</PublicationDate> <Authors> <Author> <DisplayName>An, Feng</DisplayName> <Affiliation> <OrgUnit> </OrgUnit> </Affiliation> </Author> </Authors> <Editors> </Editors> <Publishers> <Publisher> <DisplayName>Nanyang Technological University</DisplayName> <OrgUnit /> </Publisher> </Publishers> <Keyword>Computer and Information Science</Keyword> <Abstract>The growing complexity and volatility observed in global financial markets pose significant challenges for traditional statistical models and human-driven analysis, which frequently fail to account for the nonlinear and evolving patterns embedded in stock price behavior. Recent progress in AI and machine learning has paved the way for the development of more accurate and dependable prediction methodologies. This dissertation presents a comprehensive comparative study on the application of AI and ML algorithms for stock price and stock trend prediction, addressing both regression tasks and classification tasks. Five representative models are systematically evaluated: Decision Tree, Support Vector Machine, Long Short-Term Memory network, Random Forest, and XGBoost. The experimental data is sourced from the AKShare interface, comprising daily trading records of 10 major U.S. stocks across key sectors, including technology, finance, consumer goods, and pharmaceuticals, spanning a six-year period from January 2020 to December 2025. The models are evaluated under multiple configurations: sequence lengths of 1, 7, and 30 days, and prediction periods of 1, 7, and 30 days. Performance is assessed using regression metrics and classification metrics . The results demonstrate that ensemble methods achieve the highest accuracy in regression tasks, with R2 consistently above 0.91 and RMSE significantly lower than other models. In classification tasks, LSTM and XGBoost outperform their counterparts, achieving accuracy improvements of up to 5 percentage points over random guessing, i particularly in medium-term predictions (7 days). The inclusion of technical indicators yields modest gains in classification accuracy (0.4–1.2 percentage points) but degrades regression performance for most models. Sequence length impacts model performance in a model-dependent manner: ensemble models exhibit monotonic decline with longer sequences, LSTM follows an inverted U-shaped pattern, SVM shows sharp degradation, and Decision Tree performance remains near-random. Notably, long-term prediction proves inherently challenging, with all models struggling to exceed an accuracy of 0.53. This dissertation concludes that no single model is universally optimal. Model selection should be guided by task type, prediction period, and feature set. At the end of this dissertation are the limitations and recommendation in future work.</Abstract> <Access xmlns=\"http://purl.org/coar/access_right\" > </Access> </Publication>"]},{"key":"dc:description.abstract","label":"Abstract","values":["The growing complexity and volatility observed in global financial markets pose significant challenges for traditional statistical models and human-driven analysis, which frequently fail to account for the nonlinear and evolving patterns embedded in stock price behavior. Recent progress in AI and machine learning has paved the way for the development of more accurate and dependable prediction methodologies. This dissertation presents a comprehensive comparative study on the application of AI and ML algorithms for stock price and stock trend prediction, addressing both regression tasks and classification tasks. Five representative models are systematically evaluated: Decision Tree, Support Vector Machine, Long Short-Term Memory network, Random Forest, and XGBoost. The experimental data is sourced from the AKShare interface, comprising daily trading records of 10 major U.S. stocks across key sectors, including technology, finance, consumer goods, and pharmaceuticals, spanning a six-year period from January 2020 to December 2025. The models are evaluated under multiple configurations: sequence lengths of 1, 7, and 30 days, and prediction periods of 1, 7, and 30 days. Performance is assessed using regression metrics and classification metrics . The results demonstrate that ensemble methods achieve the highest accuracy in regression tasks, with R2 consistently above 0.91 and RMSE significantly lower than other models. In classification tasks, LSTM and XGBoost outperform their counterparts, achieving accuracy improvements of up to 5 percentage points over random guessing, i particularly in medium-term predictions (7 days). The inclusion of technical indicators yields modest gains in classification accuracy (0.4–1.2 percentage points) but degrades regression performance for most models. Sequence length impacts model performance in a model-dependent manner: ensemble models exhibit monotonic decline with longer sequences, LSTM follows an inverted U-shaped pattern, SVM shows sharp degradation, and Decision Tree performance remains near-random. Notably, long-term prediction proves inherently challenging, with all models struggling to exceed an accuracy of 0.53. This dissertation concludes that no single model is universally optimal. Model selection should be guided by task type, prediction period, and feature set. At the end of this dissertation are the limitations and recommendation in future work."]},{"key":"dc:description.degree","label":"Dc Description Degree","values":["Master's degree"]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["AI and ML algorithms for stock market prediction"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]}]}],"canonical_facts":{"cerif:openaire":["<Publication xmlns=\"https://www.openaire.eu/cerif-profile/1.1/\" id=\"f18909a8-9dff-484c-b53a-18006055c26c\"> <Type xmlns=\"https://www.openaire.eu/cerif-profile/vocab/COAR_Publication_Types\">http://purl.org/coar/resource_type/c_1843</Type> <Language>en</Language> <Title>AI and ML algorithms for stock market prediction</Title> <PublishedIn> <Publication> </Publication> </PublishedIn> <PublicationDate>2026</PublicationDate> <Authors> <Author> <DisplayName>An, Feng</DisplayName> <Affiliation> <OrgUnit> </OrgUnit> </Affiliation> </Author> </Authors> <Editors> </Editors> <Publishers> <Publisher> <DisplayName>Nanyang Technological University</DisplayName> <OrgUnit /> </Publisher> </Publishers> <Keyword>Computer and Information Science</Keyword> <Abstract>The growing complexity and volatility observed in global financial markets pose significant challenges for traditional statistical models and human-driven analysis, which frequently fail to account for the nonlinear and evolving patterns embedded in stock price behavior. Recent progress in AI and machine learning has paved the way for the development of more accurate and dependable prediction methodologies. This dissertation presents a comprehensive comparative study on the application of AI and ML algorithms for stock price and stock trend prediction, addressing both regression tasks and classification tasks. Five representative models are systematically evaluated: Decision Tree, Support Vector Machine, Long Short-Term Memory network, Random Forest, and XGBoost. The experimental data is sourced from the AKShare interface, comprising daily trading records of 10 major U.S. stocks across key sectors, including technology, finance, consumer goods, and pharmaceuticals, spanning a six-year period from January 2020 to December 2025. The models are evaluated under multiple configurations: sequence lengths of 1, 7, and 30 days, and prediction periods of 1, 7, and 30 days. Performance is assessed using regression metrics and classification metrics . The results demonstrate that ensemble methods achieve the highest accuracy in regression tasks, with R2 consistently above 0.91 and RMSE significantly lower than other models. In classification tasks, LSTM and XGBoost outperform their counterparts, achieving accuracy improvements of up to 5 percentage points over random guessing, i particularly in medium-term predictions (7 days). The inclusion of technical indicators yields modest gains in classification accuracy (0.4–1.2 percentage points) but degrades regression performance for most models. Sequence length impacts model performance in a model-dependent manner: ensemble models exhibit monotonic decline with longer sequences, LSTM follows an inverted U-shaped pattern, SVM shows sharp degradation, and Decision Tree performance remains near-random. Notably, long-term prediction proves inherently challenging, with all models struggling to exceed an accuracy of 0.53. This dissertation concludes that no single model is universally optimal. Model selection should be guided by task type, prediction period, and feature set. At the end of this dissertation are the limitations and recommendation in future work.</Abstract> <Access xmlns=\"http://purl.org/coar/access_right\" > </Access> </Publication>"],"dc:contributor.school":["School of Electrical and Electronic Engineering"],"dc:contributor.supervisor":["Mohammed Yakoob Siyal"],"dc:creator":["An, Feng"],"dc:date.accessioned":["2026-04-23T08:33:47Z"],"dc:date.available":["2026-04-23T08:33:47Z"],"dc:date.issued":["2026"],"dc:description.abstract":["The growing complexity and volatility observed in global financial markets pose significant challenges for traditional statistical models and human-driven analysis, which frequently fail to account for the nonlinear and evolving patterns embedded in stock price behavior. Recent progress in AI and machine learning has paved the way for the development of more accurate and dependable prediction methodologies. This dissertation presents a comprehensive comparative study on the application of AI and ML algorithms for stock price and stock trend prediction, addressing both regression tasks and classification tasks. Five representative models are systematically evaluated: Decision Tree, Support Vector Machine, Long Short-Term Memory network, Random Forest, and XGBoost. The experimental data is sourced from the AKShare interface, comprising daily trading records of 10 major U.S. stocks across key sectors, including technology, finance, consumer goods, and pharmaceuticals, spanning a six-year period from January 2020 to December 2025. The models are evaluated under multiple configurations: sequence lengths of 1, 7, and 30 days, and prediction periods of 1, 7, and 30 days. Performance is assessed using regression metrics and classification metrics . The results demonstrate that ensemble methods achieve the highest accuracy in regression tasks, with R2 consistently above 0.91 and RMSE significantly lower than other models. In classification tasks, LSTM and XGBoost outperform their counterparts, achieving accuracy improvements of up to 5 percentage points over random guessing, i particularly in medium-term predictions (7 days). The inclusion of technical indicators yields modest gains in classification accuracy (0.4–1.2 percentage points) but degrades regression performance for most models. Sequence length impacts model performance in a model-dependent manner: ensemble models exhibit monotonic decline with longer sequences, LSTM follows an inverted U-shaped pattern, SVM shows sharp degradation, and Decision Tree performance remains near-random. Notably, long-term prediction proves inherently challenging, with all models struggling to exceed an accuracy of 0.53. This dissertation concludes that no single model is universally optimal. Model selection should be guided by task type, prediction period, and feature set. At the end of this dissertation are the limitations and recommendation in future work."],"dc:description.degree":["Master's degree"],"dc:format.mimetype":["application/pdf"],"dc:identifier.uri":["https://hdl.handle.net/10356/214323"],"dc:language.iso":["en"],"dc:publisher":["Nanyang Technological University"],"dc:relation":["ISM-DISS-05571"],"dc:subject":["Computer and Information Science"],"dc:subject.keyword":["Stock market prediction","Artificial intelligence","Machine learning","Decision tree","Support vector machine","Neural network"],"dc:title":["AI and ML algorithms for stock market prediction"],"dc:type":["Thesis-Master by Coursework"],"dspace:entity.type":["Publication"]},"updated_at":"2026-11-27T08:09:14Z"}