<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//TaxonX//DTD Taxonomic Treatment Publishing DTD v0 20100105//EN" "../../nlm/tax-treatment-NS0.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:tp="http://www.plazi.org/taxpub" article-type="research-article" dtd-version="3.0" xml:lang="en">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">109</journal-id>
      <journal-id journal-id-type="index">urn:lsid:arphahub.com:pub:3dc5f44e-8666-58db-bc76-a455210e8891</journal-id>
      <journal-title-group>
        <journal-title xml:lang="en">JUCS - Journal of Universal Computer Science</journal-title>
        <abbrev-journal-title xml:lang="en">jucs</abbrev-journal-title>
      </journal-title-group>
      <issn pub-type="ppub">0948-695X</issn>
      <issn pub-type="epub">0948-6968</issn>
      <publisher>
        <publisher-name>Journal of Universal Computer Science</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.3897/jucs.2020.059</article-id>
      <article-id pub-id-type="publisher-id">24109</article-id>
      <article-categories>
        <subj-group subj-group-type="heading">
          <subject>Research Article</subject>
        </subj-group>
        <subj-group subj-group-type="scientific_subject">
          <subject>H.1.0 - General</subject>
          <subject>H.1.1 - Systems and Information Theory</subject>
          <subject>H.1.2 - User/Machine Systems</subject>
          <subject>H.3.2 - Information Storage</subject>
          <subject>H.3.4 - Systems and Software</subject>
          <subject>H.3.5 - Online Information Services</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>Comparative Study of Real Time Machine Learning Models for Stock Prediction through Streaming Data</article-title>
      </title-group>
      <contrib-group content-type="authors">
        <contrib contrib-type="author" corresp="yes">
          <name name-style="western">
            <surname>Behera</surname>
            <given-names>Ranjan Kumar</given-names>
          </name>
          <email xlink:type="simple">jranjanb.19@gmail.com</email>
          <xref ref-type="aff" rid="A1">1</xref>
        </contrib>
        <contrib contrib-type="author" corresp="no">
          <name name-style="western">
            <surname>Das</surname>
            <given-names>Sushree</given-names>
          </name>
          <xref ref-type="aff" rid="A1">1</xref>
        </contrib>
        <contrib contrib-type="author" corresp="no">
          <name name-style="western">
            <surname>Rath</surname>
            <given-names>Santanu Kumar</given-names>
          </name>
          <xref ref-type="aff" rid="A1">1</xref>
        </contrib>
        <contrib contrib-type="author" corresp="no">
          <name name-style="western">
            <surname>Misra</surname>
            <given-names>Sanjay</given-names>
          </name>
          <xref ref-type="aff" rid="A2">2</xref>
        </contrib>
        <contrib contrib-type="author" corresp="no">
          <name name-style="western">
            <surname>Damasevicius</surname>
            <given-names>Robertas</given-names>
          </name>
          <xref ref-type="aff" rid="A3">3</xref>
        </contrib>
      </contrib-group>
      <aff id="A1">
        <label>1</label>
        <addr-line content-type="verbatim">National Institute of Technology Rourkela, Rourkela, India</addr-line>
        <institution>National Institute of Technology Rourkela</institution>
        <addr-line content-type="city">Rourkela</addr-line>
        <country>India</country>
      </aff>
      <aff id="A2">
        <label>2</label>
        <addr-line content-type="verbatim">Covenant University, Ota, Nigeria</addr-line>
        <institution>Covenant University</institution>
        <addr-line content-type="city">Ota</addr-line>
        <country>Nigeria</country>
      </aff>
      <aff id="A3">
        <label>3</label>
        <addr-line content-type="verbatim">Vytautas Magnus University, Kaunas, Lithuania</addr-line>
        <institution>Vytautas Magnus University</institution>
        <addr-line content-type="city">Kaunas</addr-line>
        <country>Lithuania</country>
      </aff>
      <author-notes>
        <fn fn-type="corresp">
          <p>Corresponding author: Ranjan Kumar Behera (<email xlink:type="simple">jranjanb.19@gmail.com</email>).</p>
        </fn>
        <fn fn-type="edited-by">
          <p>Academic editor: </p>
        </fn>
      </author-notes>
      <pub-date pub-type="collection">
        <year>2020</year>
      </pub-date>
      <pub-date pub-type="epub">
        <day>28</day>
        <month>09</month>
        <year>2020</year>
      </pub-date>
      <volume>26</volume>
      <issue>9</issue>
      <fpage>1128</fpage>
      <lpage>1147</lpage>
      <uri content-type="arpha" xlink:href="http://openbiodiv.net/CD2DAC62-E6DA-50C0-B346-B488167217CB">CD2DAC62-E6DA-50C0-B346-B488167217CB</uri>
      <uri content-type="zenodo_dep_id" xlink:href="https://zenodo.org/record/5508587">5508587</uri>
      <history>
        <date date-type="received">
          <day>02</day>
          <month>12</month>
          <year>2018</year>
        </date>
        <date date-type="accepted">
          <day>27</day>
          <month>09</month>
          <year>2020</year>
        </date>
      </history>
      <permissions>
        <copyright-statement>Ranjan Kumar Behera, Sushree Das, Santanu Kumar Rath, Sanjay Misra, Robertas Damasevicius</copyright-statement>
        <license license-type="creative-commons-attribution" xlink:href="https://creativecommons.org/licenses/by-nd/4.0/" xlink:type="simple">
          <license-p>This is an open access article distributed under the terms of the Creative Commons Attribution License (CC BY-ND 4.0). This license allows reusers to copy and distribute the material in any medium or format in unadapted form only, and only so long as attribution is given to the creator. The license allows for commercial use.</license-p>
        </license>
      </permissions>
      <abstract>
        <label>Abstract</label>
        <p>Stock prediction is one of the emerging applications in the field of data science which help the companies to make better decision strategy. Machine learning models play a vital role in the field of prediction. In this paper, we have proposed various machine learning models which predicts the stock price from the real-time streaming data. Streaming data has been a potential source for real-time prediction which deals with continuous ow of data having information from various sources like social networking websites, server logs, mobile phone applications, trading oors etc. We have adopted the distributed platform, Spark to analyze the streaming data collected from two different sources as represented in two case studies in this paper. The first case study is based on stock prediction from the historical data collected from Google finance websites through NodeJs and the second one is based on the sentiment analysis of Twitter collected through Twitter API available in Stanford NLP package. Several researches have been made in developing models for stock prediction based on static data. In this work, an effort has been made to develop scalable, fault tolerant models for stock prediction from the real-time streaming data. The Proposed model is based on a distributed architecture known as Lambda architecture. The extensive comparison is made between actual and predicted output for different machine learning models. Support vector regression is found to have better accuracy as compared to other models. The historical data is considered as a ground truth data for validation.</p>
      </abstract>
    </article-meta>
  </front>
</article>
