[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-123275-en":3,"doc-seo-123275-105":30,"detail-sidebar-cat-0-en-105":91},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":4,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":27,"seo_description":14,"update_tm":28,"read_time":29},123275,687197207057,"Sage","https://ap-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0",6,"Technology","Real-Time Visualization in Machine Learning - Evaluating LightningChart Python and Competitor Libraries - Bachelor’s Thesis","The thesis evaluates the performance of LightningChart Python (LC PY), Bokeh, and Plotly for real-time machine learning visualization across data scales from 1,000 to 1,000,000 points. Libraries are benchmarked using frames per second (FPS), FPS stability, CPU and memory usage, and render time to emulate real-time streams produced by an LSTM model predicting stock prices. The study finds LC PY best overall scalability, with ~55 average FPS and very stable results (std FPS \u003C1) across large scales. Bokeh performs strongly for up to 10,000 points but degrades beyond 100,000, while Plotly becomes unsuitable above 10,000 points.","Real-Time Visualization in Machine Learning  \nEvaluating LightningChart Python and Competitor Libraries  \nBachelor’s Thesis  \nDegree Programme in Computer Applications  \nSpring 2025  \nAhmad Omid  \nDP Degree Programme in Computer Applications Abstract  \nAuthor Ahmad Omid Year 2025  \nSubject Real-Time Visualization in Machine Learning: Evaluating LightningChart Python and Competitor Libraries  \nSupervisors Mazhar Mohsin  \nThe thesis evaluates the performance of LightningChart Python (LC PY), Bokeh, and Plotly for realtime machine learning (ML) visualization across data scales from 1,000 to 1,000,000 points, which meets a need for scalable and effective visualization tools in machine learning applications. The study benchmarks these libraries using metrics such as frames per second (FPS), stability (standard deviation of FPS), CPU and memory usage, and render time, to simulate real-time data streams from an LSTM model predicting stock prices into the charts to get the metrics’ results.  \nResults show that LC PY was the best among all scales, supporting an average FPS of ~55 with excellent stability (std FPS \u003C1), despite higher resource usage (CPU 35–56%, memory up to 2.63% at 1,000,000 points), because of its outstanding scalability. Bokeh delivers very good performance for small to medium datasets (up to 10,000 points, FPS ~105, CPU \u003C3 .5%), but its suitability declines above 100,000 points (FPS drops to 5) . Plotly performs adequately for smaller datasets (FPS 46–49, CPU \u003C5 . 13%) but becomes unsuitable for real-time visualization after 10,000 points (FPS 1.23 at 1,000,000) . Based on these findings, the thesis recommends LC PY for large-scale and very largescale ML tasks (100,000+ points), Bokeh or Plotly for small to medium scales (up to 10,000 points), and LC PY or Bokeh for intermediate scales (10,000–100,000 points) .  \nKeywords Machine Learning, LSTM, LightningChart Python, Bokeh, Plotly, Data Visualizations, RealTime Data  \nPages 45 pages and appendices 1 page  \nGlossary  \nML  \nLC PY  \nRNN  \nFNN  \nLSTM  \nFPS  \nJSON  \nWebGL  \nAPI  \nHTML  \nGPU  \nCPU  \nCSV  \nMachine Learning LightningChart Python  \nRecurrent Neural Networks Feed-Forward Neural Networks Long Short-Term Memory Frames Per Second  \nJavaScript Object Notation Web Graphics Library Application Programming Interface Hypertext Markup Language Graphics Processing Unit Central Processing Unit  \nComma-Separated Values  \nTable of Contents  \n1 Introduction ..................................................................................................................................... 1  \n2 Real-Time Visualization in Machine Learning .................................................................................. 2  \n2.1 Overview and Importance of Data Visualization ..................................................................... 2  \n2.1.1 Types of Data Visualization Libraries .......................................................................... 3  \n2.1.2 Libraries Used in the Study ......................................................................................... 4  \n2.1.2.1 LightningChart Python ................................................................................................ 4  \n2.1.2.2 Bokeh ......................................................................................................................... 5  \n2.1.2.3 Plotly .......................................................................................................................... 5  \n2.2 Overview of Machine Learning ............................................................................................... 6  \n2.2.1 Deep Learning ............................................................................................................ 8  \n2.2.2 Long Short-Term Memory (LSTM) .............................................................................. 9  \n2.2.3 Importance of Real-Time Data in ML ...........................................................","cbCaioyFC2hEnu5J","https://ap.wps.com/l/cbCaioyFC2hEnu5J","pdf",4246096,1,53,"English","en",105,"# Introduction\n## Overview and Importance of Data Visualization\n## Types of Data Visualization Libraries\n## Libraries Used in the Study\n## Overview of Machine Learning\n## Performance in Data Visualization\n# Methodology and Research Design\n## Tools and Technologies\n## Data Collection and Machine Learning Model Development\n## Performance Metrics and Benchmarking Procedure\n## Data Analysis\n# Implementation and Analytical Comparison of Models\n## Stock Price Prediction with LSTM Model\n## Data Visualization Benchmarking Framework\n## Tests’ Consistency between Libraries","[{\"question\":\"Which visualization libraries are benchmarked, and for what task?\",\"answer\":\"The thesis benchmarks LightningChart Python (LC PY), Bokeh, and Plotly for real-time machine learning visualization using an LSTM-based stock price prediction stream.\"},{\"question\":\"What metrics are used to evaluate real-time visualization performance?\",\"answer\":\"Performance is evaluated using frames per second (FPS), FPS stability (standard deviation), CPU usage, memory usage, and render time.\"},{\"question\":\"How do the libraries compare across different data scales?\",\"answer\":\"LC PY performs best across all tested scales, Bokeh is best for small to medium datasets (up to about 10,000 points) but declines after 100,000, and Plotly is adequate for smaller datasets but unsuitable for real-time visualization after 10,000 points.\"}]","Real-Time Visualization in Machine Learning - Evaluating LightningChart Python and Competitor Libraries - Bachelor’s Thesis | PDF",1785815669,134,{"code":4,"msg":31,"data":32},"ok",{"site_id":24,"language":23,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":86,"head_meta":88,"extra_data":90,"updated_unix":28},"real-time-visualization-in-machine-learning-evaluating-lightningchart-python-and-competitor-libraries-bachelors-thesis","",{"@graph":36,"@context":85},[37,54,68],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,48,51],{"item":41,"name":42,"@type":43,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":47},"https://docshare.wps.com/document/","Document",2,{"item":49,"name":12,"@type":43,"position":50},"https://docshare.wps.com/document/technology/",3,{"item":52,"name":13,"@type":43,"position":53},"https://docshare.wps.com/document/real-time-visualization-in-machine-learning-evaluating-lightningchart-python-and-competitor-libraries-bachelors-thesis/123275/",4,{"url":52,"name":13,"@type":55,"author":56,"headline":13,"publisher":58,"fileFormat":61,"inLanguage":23,"description":14,"dateModified":62,"datePublished":62,"encodingFormat":61,"isAccessibleForFree":63,"interactionStatistic":64},"DigitalDocument",{"name":9,"@type":57},"Person",{"url":41,"name":59,"@type":60},"DocShare","Organization","application/pdf","2026-08-04",true,{"@type":65,"interactionType":66,"userInteractionCount":4},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"Which visualization libraries are benchmarked, and for what task?","Question",{"text":75,"@type":76},"The thesis benchmarks LightningChart Python (LC PY), Bokeh, and Plotly for real-time machine learning visualization using an LSTM-based stock price prediction stream.","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"What metrics are used to evaluate real-time visualization performance?",{"text":80,"@type":76},"Performance is evaluated using frames per second (FPS), FPS stability (standard deviation), CPU usage, memory usage, and render time.",{"name":82,"@type":73,"acceptedAnswer":83},"How do the libraries compare across different data scales?",{"text":84,"@type":76},"LC PY performs best across all tested scales, Bokeh is best for small to medium datasets (up to about 10,000 points) but declines after 100,000, and Plotly is adequate for smaller datasets but unsuitable for real-time visualization after 10,000 points.","https://schema.org",{"og:url":52,"og:type":87,"og:title":13,"og:site_name":59,"og:description":14},"article",{"robots":89,"canonical":52},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":92},[93,97,101,105,110,113,118,123,128,131,135],{"id":20,"doc_module":4,"doc_module_name":46,"category_name":94,"show_sort_weight":95,"slug":96},"Story & Novel",90,"story-novel",{"id":47,"doc_module":4,"doc_module_name":46,"category_name":98,"show_sort_weight":99,"slug":100},"Literature",80,"literature",{"id":53,"doc_module":4,"doc_module_name":46,"category_name":102,"show_sort_weight":103,"slug":104},"Exam",70,"exam",{"id":106,"doc_module":4,"doc_module_name":46,"category_name":107,"show_sort_weight":108,"slug":109},5,"Comic",60,"comic",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":111,"slug":112},50,"technology",{"id":114,"doc_module":4,"doc_module_name":46,"category_name":115,"show_sort_weight":116,"slug":117},7,"Healthcare",40,"healthcare",{"id":119,"doc_module":4,"doc_module_name":46,"category_name":120,"show_sort_weight":121,"slug":122},8,"Research & Report",30,"research-report",{"id":124,"doc_module":4,"doc_module_name":46,"category_name":125,"show_sort_weight":126,"slug":127},9,"Religion & Spirituality",20,"religion-spirituality",{"id":126,"doc_module":4,"doc_module_name":46,"category_name":129,"show_sort_weight":126,"slug":130},"World Cup","world-cup",{"id":132,"doc_module":4,"doc_module_name":46,"category_name":133,"show_sort_weight":132,"slug":134},10,"Lifestyle","lifestyle",{"id":136,"doc_module":4,"doc_module_name":46,"category_name":137,"show_sort_weight":106,"slug":138},19,"General","general"]