IDEAS home Printed from https://ideas.repec.org/a/hin/complx/6653508.html
   My bibliography  Save this article

Breast Cancer Identification from Patients’ Tweet Streaming Using Machine Learning Solution on Spark

Author

Listed:
  • Nahla F. Omran
  • Sara F. Abd-el Ghany
  • Hager Saleh
  • Ayman Nabil
  • Ahmed Mostafa Khalil

Abstract

Twitter integrates with streaming data technologies and machine learning to add new value to healthcare. This paper presented a real-time system to predict breast cancer based on streaming patient’s health data from Twitter. The proposed system consists of two major components: developing an offline building model and an online prediction pipeline. For the first component, we made a correlation between the features to determine the correlation between features and reduce the number of features from the Breast Cancer Wisconsin Diagnostic dataset. Two feature selection algorithms are recursive feature elimination and univariate feature selection algorithms which are applied to features after correlation to select the essential features. Four decision trees, logistic regression, support vector machine, and random forest classifier have been used on features after correlation and feature selection. Also, hyperparameter tuning and cross-validation have been applied with machine learning to optimize models and enhance accuracy. Apache Spark, Apache Kafka, and Twitter Streaming API are used to develop the second component. The best model with the highest accuracy obtained from the first component predicts breast cancer in real time from tweets’ streaming. The results showed that the best model is the random forest classifier which achieved the best accuracy.

Suggested Citation

  • Nahla F. Omran & Sara F. Abd-el Ghany & Hager Saleh & Ayman Nabil & Ahmed Mostafa Khalil, 2021. "Breast Cancer Identification from Patients’ Tweet Streaming Using Machine Learning Solution on Spark," Complexity, Hindawi, vol. 2021, pages 1-12, January.
  • Handle: RePEc:hin:complx:6653508
    DOI: 10.1155/2021/6653508
    as

    Download full text from publisher

    File URL: http://downloads.hindawi.com/journals/complexity/2021/6653508.pdf
    Download Restriction: no

    File URL: http://downloads.hindawi.com/journals/complexity/2021/6653508.xml
    Download Restriction: no

    File URL: https://libkey.io/10.1155/2021/6653508?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:hin:complx:6653508. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Mohamed Abdelhakeem (email available below). General contact details of provider: https://www.hindawi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.