A Machine Learning Approach for Coconut Sugar Quality Assessment and Prediction

This study presents a machine learning approach to accurately assess the quality of coconut sugar using RGB values. Python and scikit-learn were used to run the following machine learning algorithms: artificial neural network (ANN), stochastic gradient descent (SGD), k-nearest neighbors (k-NN) algorithm, support vector machine (SVM), decision tree (DT) and random forest (RF). Comparisons were made between the aforementioned machine learning algorithms by evaluating the accuracy and the average running time of each training model. Results of the study show that the SGD is superior in terms of accuracy but falls short to k-NN and SVC in terms of running time. In this fashion, a plot between the accuracy and the running time was made and it was observed that algorithms with higher accuracies correspondingly have also higher running times. By this very nature, experimental results show that the SGD holds merit in accurately assessing the coconut sugar quality, despite its expense in running time.

[1]  Yoram Singer,et al.  Train faster, generalize better: Stability of stochastic gradient descent , 2015, ICML.

[2]  Mario Chica-Olmo,et al.  An assessment of the effectiveness of a random forest classifier for land-cover classification , 2012 .

[3]  Leo Breiman,et al.  Random Forests , 2001, Machine Learning.

[4]  Donglin Zeng,et al.  Constructing support vector machines with missing data , 2018 .

[5]  T. Trinidad,et al.  Glycemic index of commonly consumed carbohydrate foods in the Philippines , 2010 .

[6]  Elmer Dadios,et al.  Color quality assessment of coconut sugar using Artificial Neural Network (ANN) , 2015, 2015 International Conference on Humanoid, Nanotechnology, Information Technology,Communication and Control, Environment and Management (HNICEM).

[7]  Sankar K. Pal,et al.  Fuzzy multi-layer perceptron, inferencing and rule generation , 1995, IEEE Trans. Neural Networks.

[8]  Ying LU,et al.  Decision tree methods: applications for classification and prediction , 2015, Shanghai archives of psychiatry.