Neural network with k-fold cross validation for oil palm fruit ripeness prediction

Minarni Shiddiq, Feri Candra, Barri Anand, Mohammad Fisal Rabin


The combination of hyperspectral imaging and artificial neural network (ANN) can predict fruit ripeness. This work investigated the application of hyperspectral imaging and ANN models with the k-fold cross-validation method for ripeness prediction of oil palm fresh fruit bunches (FFB) for inline sorting and grading machine vision. Crude palm oil (CPO) is an exporting commodity for countries such as Indonesia and Malaysia. Oil palm FFB ripeness determines the quality of CPO. The unique shapes and colors of FFBs need innovative methods to substitute tedious and cumbersome manual sorting and grading. The oil palm FFB samples used in this study were categorized previously based on color and loosed fruits. We applied the Savitzky-Golay (SG) smoothing filter and 7-fold cross-validation for hyperspectral datasets before being used for the ANN models and a confusion matrix to find the ANN model accuracies. We obtained 72 data points after SG filter and data selection from 523 data points. The prediction results showed an average accuracy of 79.48%, in which three folds with k of 2, 5, and 7 gave the highest accuracy of 90%. The results confirmed the potential use of hyperspectral imaging, with k-fold cross-validation and ANN models for ripeness prediction of oil palm FFBs.


artificial neural network; hyperspectral images; k-fold cross validation; oil palm fresh fruit bunch; ripeness prediction;

Full Text:




  • There are currently no refbacks.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

TELKOMNIKA Telecommunication, Computing, Electronics and Control
ISSN: 1693-6930, e-ISSN: 2302-9293
Universitas Ahmad Dahlan, 4th Campus
Jl. Ringroad Selatan, Kragilan, Tamanan, Banguntapan, Bantul, Yogyakarta, Indonesia 55191
Phone: +62 (274) 563515, 511830, 379418, 371120
Fax: +62 274 564604