IDEAS home Printed from https://ideas.repec.org/a/jbh/ijsrcs/v12y2026i2id1946.html

Milk Quality Prediction using Machine Learning and Deep Learning Techniques

Author

Listed:
  • Kuppili Nikhita
  • Dondapati Sasi Prasanna
  • Suneel Kumar Duvvuri

Abstract

Milk quality assessment is a critical concern in the dairy industry due to its impact on public health, food safety, and economic stability. Traditional laboratory-based methods for evaluating milk quality are time-consuming, costly, and unsuitable for real-time monitoring. With the advancement of data-driven technologies, there is a growing need for intelligent systems that can automatically predict milk quality using computational techniques. This research focuses on developing a machine learning and deep learning-based framework for accurate milk quality prediction. The study utilizes a dataset of 1,059 samples with key features such as pH, temperature, taste, odour, fat, turbidity, Grade, thick ness and colour. These attributes serve as important indicators of milk freshness and quality. Multiple machine learning models, including Logistic Regression, Support Vector Machine (SVM), K-Nearest Neighbours’ (KNN), and Random Forest, are implemented and compared. In addition, deep learning models such as Artificial Neural Network (ANN) and a 1D Convolutional Neural Network (1D CNN) are used to capture complex relationships in the data. Advanced preprocessing techniques such as normalization and feature scaling are applied to improve model performance. The models are evaluated using performance metrics including accuracy, precision, recall, and F1-score. Experimental results show that Random Forest and ANN achieve the highest accuracy of 99.53%, while the CNN model achieves 99.06%, demonstrating strong predictive capability and scalability for real-time applications. Furthermore, Explainable Artificial Intelligence (XAI) is integrated using SHAP to improve model interpretability. The analysis highlights that feature such as pH, temperature, and fat content play a significant role in prediction. This enhances transparency and reliability of the system. Overall, the proposed approach provides an efficient and scalable solution for automated milk quality prediction. It has strong potential for real-world applications such as smart dairy monitoring, IoT-based systems, and early detection of milk spoilage.

Suggested Citation

  • Kuppili Nikhita & Dondapati Sasi Prasanna & Suneel Kumar Duvvuri, 2026. "Milk Quality Prediction using Machine Learning and Deep Learning Techniques," International Journal of Scientific Research in Computer Science, Engineering and Information Technology, International Journal of Scientific Research in Computer Science, Engineering and Information Technology, vol. 12(2), pages 434-446, April.
  • Handle: RePEc:jbh:ijsrcs:v12:y2026:i2:id:1946
    DOI: 10.32628/CSEIT26121370
    Note: Article URL: https://ijsrcseit.com/home/article/view/CSEIT26121370
    as

    Download full text from publisher

    File URL: https://ijsrcseit.com/home/article/view/CSEIT26121370
    File Function: Article URL
    Download Restriction: no

    File URL: https://ijsrcseit.com/home/article/download/CSEIT26121370/CSEIT26121370
    File Function: Full text
    Download Restriction: no

    File URL: https://libkey.io/10.32628/CSEIT26121370?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

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;
    ;

    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:jbh:ijsrcs:v12:y2026:i2:id:1946. 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: Pankaj Sharma (USA) (email available below). General contact details of provider: https://ijsrcseit.com/home .

    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.