Next Article in Journal
Sensitivity of Winter-Active Lucerne (Medicago sativa L.) to Different Grazing Regimes
Previous Article in Journal
Insights into the Positive Effect of Pyraclostrobin on Sugarcane Productivity
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Classification of Varieties of Grain Species by Artificial Neural Networks

Department of Agricultural Machinery, Faculty of Agriculture, University of Ondokuz Mayıs, 55139 Samsun, Turkey
*
Author to whom correspondence should be addressed.
Agronomy 2018, 8(7), 123; https://doi.org/10.3390/agronomy8070123
Submission received: 8 May 2018 / Revised: 6 July 2018 / Accepted: 13 July 2018 / Published: 18 July 2018

Abstract

:
In this study, an Artificial Neural Network (ANN) model was developed in order to classify varieties belonging to grain species. Varieties of bread wheat, durum wheat, barley, oat and triticale were utilized. 11 physical properties of grains were determined for these varieties as follows: thousand kernel weight, geometric mean diameter, sphericity, kernel volume, surface area, bulk density, true density, porosity and colour parameters. It was found that these properties had been statistically significant for the varieties. An Artificial Neural Network was developed for classifying varieties. The structure of the ANN model developed was designed to have 11 inputs, 2 hidden and 2 output layers. Thousand kernel weight, geometric mean diameter, sphericity, kernel volume, surface area, bulk density, true density, porosity and colour were used as input parameters; and species and varieties as output parameters. While classifying the varieties by the ANN model developed, R2, RMSE and mean error were found to be 0.99, 0.000624 and 0.009%, respectively. In classifying the species, these values were found to be 0.99, 0.000184 and 0.001%, respectively. It has shown that all the results obtained from the ANN model had been in accordance with the real data.

1. Introduction

While marketing agricultural products, it is quite important for producers, industrialists and consumers to know the varieties of the concerned products. To do farming right, producers want to know the variety of the product they sow. At the same time, marketers also want to make sure of the product variety they sell in order to establish standards for target markets. For these reasons, reliable methods are necessary for identification of varieties. Use of traditional classification methods are slow and complex. Moreover, identification of varieties of grain species are carried out by subject matter experts and thus results are not objective and sound. Nevertheless, properties such as shape, size, colour and tissue belonging to grain products are not subject to a single mathematical function. It is extremely difficult to identify and classify these products because of their natural variability. To overcome these difficulties, fast, reliable and computer-based methods are preferred [1,2,3,4]. It is crucially important to determine the physical properties of agricultural materials in terms of accurately estimating the parameters and characteristics recognized in engineering for designing [5,6].
Computer technology is an interdisciplinary research area. Different techniques such as Artificial Neural Network (ANN), fuzzy logic and genetic algorithm from Artificial Intelligence methods are used by researchers for data analysis. In recent years, artificial intelligence methods are also quite commonly seen in agricultural applications [7,8].
ANN are used at the phase of model building in most of the works in the field of engineering. ANN are very effective methods in terms of modelling uncertain, nonlinear and complicated structures. Most of classical software used in predicting similar structures fail to give a result. ANN models constructed can give faster results. Also, ANN are capable of solving complicated problems [7].
ANN are the systems designed to model the methods used by the human brain. They are realizable with electronic circuits as equipment and with computers as software. In accordance with the data processing method of the brain, ANN can be considered as a parallel processor capable of collecting data after a learning period, keeping these data with connection weights between cells and generalizing. ANN are formed by the reunion of artificial neuron cells. Generally, cells are composed of 3 layers, where they come together in these layers to constitute the network [7].
In biological applications, ANN is frequently used for classification and product identification. ANN is quite effective and successful while working with non-linear and indefinite data. Therefore, it has a significant potential for classification and identification of agricultural products [9,10].
There are three layers in an ANN, consisting of input, hidden and output layers (Figure 1). Every layer comprises of neurons. These layers are connected to each other with weights. There are many learning algorithms to determine weights. The most popular of them is the back-propagation learning algorithm. This back-propagation algorithm is used to minimize the total error by changing the weights. Inputs coming from the previous layer are multiplied by the weights of connections corresponding to these inputs. To produce its output, every neuron processes the weighted inputs by a transfer function. The transfer function could be a linear or non-linear function. Data are randomly split into two as training and test sets. The objective is to find the weight values minimizing the difference between the real output and estimated output values in the output layer. The trained net is tested later by the data in the test set. Training of the net is finished when the test error has reached the determined tolerance value [11].
ANN is widely used in the classification of grain products. Paliwal et al. [12], using the physical properties of grains, studied the classification successes of various ANN structures. Visen et al. [9] classified 5 grain species using image processing and ANN techniques. They found the classification successes as follows: in barley 98.7%, in spring wheat 99.3%, in durum wheat 96.7%, in oat 98.4% and in rye 96.9%. Wang et al. [13] aimed at determining vitreous and non-vitreous kernels in durum wheat, having used image processing techniques and ANN. In their studies, they achieved the classification success rate of 90.1%. Using image processing and ANN techniques, Visen et al. [14] classified barley, durum wheat, spring wheat, oat and rye. They found the classification successes as follows: in barley 96.4%, in durum wheat 90.8%, in spring wheat 98%, in oat 95.5% and in rye 96.4%. Baykan et al. [15] used image processing and ANN techniques to classify wheat kernels according to their species. They obtained 9 physical properties and grey level average of the kernel. They classified the descriptive properties of the kernel by means of multi-layer sensors. They reported the classification success rate to be 72.62% for 5 wheat species. Dubey et al. [10] classified three species of bread wheat grown in three different centres. Using ANN, they conducted classification by 45 formal property data. They found the classification success rate to be 88%. Babalık et al. [16] used 9 physical properties and colour information of kernels in order to determine wheat species. They developed the ANN model, using this descriptive information belonging to kernels and obtained the classification success rate of 90.66%. Pazoki and Pazoki [17] used the ANN techniques in their wheat classification study in which they obtained the mean success rate of 86.48%. Taner et al. [18] used the ANN techniques in their study to classify oats and obtained a classification success rate of 99.99%.
Many researchers studied different agricultural products beside grain species, using ANN techniques [3,19,20,21,22,23,24].
In purchasing grain species, operations for setting price and classification are conducted by experts by means of visual inspection method; thus, results are subjective and they may differ. Furthermore, grain species have a non-linear structure with respect to properties such as form, size and colour. This also causes difficulties in identification and classification of products. Computer-aided and intelligent systems are needed to eliminate these negations and contribute to the design parameters required in agricultural machinery sector. In this study, it is aimed at developing an ANN for determining the physical properties of varieties of grain species and classifying these varieties.

2. Materials and Methods

In the study, 28 bread wheat varieties, 11 durum wheat varieties, 8 barley varieties, 6 oat varieties and 4 triticale varieties were used as material (Table 1). The varieties used were obtained from the Bahri Dagdas International Agricultural Research Institute (Konya, Turkey, 2015). The physical properties belonging to the varieties were determined in the study. Thousand kernel weight, geometric mean diameter, sphericity, kernel volume, surface area, bulk density, true density, porosity and colour were the parameters used. Kernels belonging to the varieties used in the study were cleaned from all sorts of foreign materials such as dust, stones, hays, immature and damaged kernels. Measurements were made at the moisture content of 8.9%.

2.1. Physical Properties

In order to determine the physical sizes of kernels, 100 kernels were randomly divided into groups of 10 each. Lengths, widths and thicknesses of the 10 kernels from each group defined were measured and their averages were taken. In the measurements, a digital Vernier calliper with a sensitivity of 0.1 mm was used [25,26].
Geometric mean diameters, sphericities, kernel volumes and kernel surface areas were calculated by the following formulas [23,25].
D g = ( L W T ) 1 / 3
= ( L W T ) 1 / 3 L
V = ( π B 2 L 2 6 ( 2 L B ) )
S = ( π B L 2 2 L B )
B = ( W T ) 1 / 2
Thousand kernel weight was determined by weighing 400 kernels counted with 4 replications and taking their average [27,28].
Bulk density was measured according to the method of Association of Official Analytical Chemists. In this method, kernels were filled into a cylinder of 500 mL from the height of 15 cm. The kernels in the cylinder were weighed by flattening and sweeping them without any pressure applied. Bulk density was calculated by proportioning the weight of the kernels to the cylinder volume [25,29,30].
True density was measured by using the water displacement method. In this method, first, 500 mL water was filled into a cylinder of 1000 mL. Then, 30 g of kernels were put into the water in this cylinder. The rise in the water level was immediately measured. True density was calculated by proportioning the weight of the kernels to the displaced liquid volume [29,31].
To calculate the porosity, the following equation was used [23].
P t = ( 1 ρ b ρ t ) · 100
Colour parameters (L, a, b) were measured by using the Hunter Lab Mini Scan XEplus Colourimeter (Hunter Associates Laboratory Inc., Reston, VA, USA). In the Hunter scale, L value of 100 means white while zero means black; when the value of a is positive, it means redness; when negative, greenness; and the value of b is positive, it means yellowness; when negative, blueness [32,33].

2.2. Artificial Neural Networks

The ANN model was developed by using the Matlab NN Toolbox (The Mathworks Inc., Natick, MA, USA). In the model, 539 data in total were used. In the ANN model, thousand kernel weight, geometric mean diameter, sphericity, kernel volume, surface area, bulk density, true density, porosity and colour parameters (L, a, b) were used as input parameters; and species and varieties as output parameters.
While establishing the ANN model, all the data were normalized between 0 and 1 [34].
For normalization, the following equation was used:
y n o r = y y m i n y m a x y m i n
To obtain real values from the normalized values, “y” value was calculated using the same formula.
To develop the ANN model, normalized data were divided into two data sets of training and test. In the training set, 502 data were used, whereas 37 data in the test set. The numbers of the most fit neurons in the hidden layers were found to be in the range of 2–25 by the trial and error method. In the ANN model, to obtain the most fit epoch number, epoch numbers from 1 to 10,000 were tried. As a result of trials, the most fit epoch number for the model was determined.
In the ANN model, Feed Forward Back Propagation, Multilayer Perceptron network structure was used. The back-propagation algorithm in this network is the most popular and commonly used algorithm. It minimizes the total error by varying the weights in order to enhance the network performance [35,36]. The training algorithm used is the Levenberg-Marquart algorithm [37,38].
Training of the network was continued until the test error reaches the determined tolerance value. After training of the network ended successfully, the network was tested by test data [9].
In order to determine the performances of the results, RMSE and R2 values that are considered to be principal accuracy measures and that are based on the concept of mean error and commonly used were calculated using the following formulas [39].
R M S E = 1 m ( x 1 x ) 2 m
R 2 = 1 [ 1 m ( x 1 x ) 2 1 m ( x 1 ) 2 ]
Here RMSE, Root Mean Square Error, R2, coefficient of determination, m, number of data, x, real value and x1, estimated value.
The error between real values and estimated ones was calculated by means of the following equation [40].
ε = 100 m 1 m | x x 1 x |
Here ε, relative error, m, data number, x, real value and x1, estimated value.
Data concerning the physical parameters obtained were evaluated by conducting a factorial experiment in a randomized complete block design, using the JMP statistical program (SAS Institute Inc., Cary, NC, USA) [41].

3. Results and Discussion

3.1. Physical Properties

The mean and standard deviation values of the physical properties of the varieties of species of bread wheat, durum wheat, barley, oat and triticale used in the study are given in Table 2. All of the physical properties are found to be statistically significant (p < 0.05).

3.2. Thousand Kernel Weight

The highest thousand kernel weight values were 48.47 g for durum wheat and 48.49 for barley, the lowest was 33.83 g for oat being placed at the last group. The highest thousand kernel weight was obtained by 56.80 g for durum wheat variety of Meram-2002. The lowest value obtained was 28.18 g for the oat variety of Faikbey. Babi´c et al. [42], in their study on bread wheat, obtained a mean thousand kernel weight of 44.01 g. Topal et al. [43], in their study on 16 lines and varieties of durum wheat, obtained a mean thousand kernel weight of 41.73 g. Güner [44] reported the mean thousand kernel weight to be 47.38 g for durum wheat. Dursun and Güner [45], in their study on barley, obtained a thousand kernel weight of 43 g; and Güner [44] obtained 38.18 g in another study. Molenda and Horabik [46], in their study on oat, found a mean thousand kernel weight of 35.6 g; and Nelson [47] found it to be 34.8 g.

3.3. Geometric Mean Diameter

Geometric mean diameter values varied from 3.93 mm to 4.44 mm. The highest value was obtained in barley, the lowest value was obtained in bread wheat. While the barley variety of Larende (4.60 mm) had the highest geometric mean diameter, the bread variety of Yakar-99 (3.71 mm) had the lowest value. Babi´c et al. [42], in their study on bread wheat, obtained the geometric mean diameter to be 3.13 mm; Markowski et al. [48] obtained it to be 4.13 mm. Güner [44] obtained the geometric mean diameter as 4.35 mm for durum wheat. In studies on barley, geometric mean diameters were reported to be 4.43 mm by Tavakoli et al. [49]; 4.38 mm by Güner [44] and 4.54 mm by Song and Litchfield [50].

3.4. Sphericity

Sphericity values ranged from 34.76% to 60.85%. The highest value was obtained in the bread wheat variety of Kınacı-97 (65.46%), the lowest value in the oat variety of Faikbey (32.44%). Markowski et al. [48], in their study on bread wheat, determined the sphericity value to be 57.12%. Güner [44] obtained the sphericity value of durum wheat to be 55.06%; and Topal et al. [43] obtained it as 50.56%. Tavakoli et al. [49], in their study on barley, found it to be 47.70% and Güner [44] found it as 46.10%.

3.5. Kernel Volume

Kernel volume values ranged from 21.04 mm3 to 28.11 mm3. The highest value was obtained in the barley variety of Larende (31.13 mm3), the lowest was obtained in the bread wheat variety of Karahan-99 (17.01 mm3). Markowski et al. [48], in their study on bread wheat, determined the kernel volume value to be 36.95 mm3. Güner [44], in his study, obtained the kernel volume of the durum wheat to be 35.76 mm3; Nelson [47] found it as 26.1 mm3. Güner [44], in his studies on barley, obtained the kernel volume to be 38.37 mm3. Nelson [47] obtained the mean kernel volume to be 21.4 mm3 for spring oat and 26.8 mm3 for winter oat.

3.6. Surface Area

Whereas oat (55.22 mm2) had the largest surface area, bread wheat (40.96 mm2) had the lowest value. Babi´c et al. [42], in their study on bread wheat, obtained the surface area to be 30.07 mm2. Topal et al. [43], in their study, reported that they found the surface area of durum wheat to be 26.93 mm2. Güner [44], in his study, obtained the surface area of barley to be 25.10 mm2.

3.7. Bulk Density

Bulk density values varied from 482.80 kg/m3 to 773.17 kg/m3. The highest value obtained was in the wheat variety of Pehlivan (804.44 kg/m3), the lowest value in the oat variety of Argentina (449.99 kg/m3). Markowski et al. [48], in their study on bread wheat, reported the bulk density value to be 732.57 kg/m3. In studies on durum wheat, bulk density values were reported by Nelson [47] 788 kg/m3, Güner [44] 815 kg/m3 and Sokhansanj and Lang [51] 760 kg/m3. In the studies on oat by different researchers, bulk density values varied in the range of 412–576 kg/m3 [23,46,47].

3.8. True Density

True density values ranged from 997.36 kg/m3 to 1271.88 kg/m3. The highest value obtained in the bread wheat of Alpu 2001 (1316.20 kg/m3), the lowest value in the oat variety of Argentina (954.32 kg/m3). Markowski et al. [48], in their study on bread wheat, reported the true density as 1382.17 kg/m3. Nelson [47] obtained the true density value for durum wheat to be 1411 kg/m3. In other durum wheat studies, the true density value was obtained by Güner [44] 1325 kg/m3; Sokhansanj and Lang [51] 1370 kg/m3. Güner [44], in his study on barley, obtained the true density as 995 kg/m3. Nelson [47] found a mean true density value of 1314 kg/m3 for spring oat and 1295 kg/m3 for winter oat. In other studies on oat, true density values varied in the range of 950–1397 kg/m3 [23,46].

3.9. Porosity

Porosity values varied from 39.18% to 51.54%. The highest value obtained in the oat line of Y-1779 (53.42%), the lowest value in the bread wheat variety of Kınacı-97 (37.48%). Markowski et al. [48], in their study on bread wheat, reported the porosity value to be 46.9%. Whereas Güner [44] found the porosity value to be 38.49%, Sokhansanj and Lang [51] found it to be 45%. Güner [44] obtained the porosity value 31.25% for barley. Molenda and Horabik [46], in their study, obtained the porosity values of in the range of 59.5–62.5% for oat.

3.10. Colour

Values of colour parameters (L, a, b) belonging to varieties are given in Table 2. On average, L, a and b values were obtained to be 50.74, 7.61 and 17.85, respectively. It was determined that there had been a statistically significant difference between species and varieties (p < 0.05). Colour differences in the classification of varieties in wheat are important [4].
All the physical parameters evaluated are placed at statistically different groups indicated that each of these parameters is important in classification of varieties.

3.11. Artificial Neural Networks

In the ANN model, the structure of the network was designed in the form of 11-(7-7)-2, consisting of 11 input, 2 hidden and 2 output layers (Figure 1). As training algorithm, the Levenberg-Marquart algorithm was used [37,38], As transfer function, tansig was used in the first hidden layer, logsig in the second hidden layer; and linear functions were used in the output layer. For the network, the lowest training error was obtained at the epoch number of 10,000.
The mathematical formula of the ANN model is given in the following equation.
y m = 1 k ( W 3 ) k , m F k + b k
LOGSIG transfer function for the second hidden layer (Fk),
F k = 1 ( 1 + e ( N E T k ) )
N E T k = 1 j ( W 2 ) j , k F j + b j
TANSIG transfer function for the first hidden layer (Fj),
F j = 2 ( 1 + e ( 2 N E T j ) ) 1
N E T j = 1 i ( W 1 ) i , j x 1 + b i
were calculated using the equations above. In these equations; i, number of inputs, j, number of neurons in the first hidden layer, k, number of neurons in the second hidden layer, m, number of outputs, W1, W2, W3, connection weight, x, input parameter, ym, output parameter and b, bias. Weights are given in Table 3, Table 4 and Table 5 and bias values in Table 6.
Among the models obtained, the ANN model with the lowest RMSE and the highest R2 value were determined to be the best fit. Whereas R2 and RMSE values for species in the training set were found to be 0.99 and 0.000027, respectively; in the test set, they were found to be 0.99 and 0.000184, respectively. While R2 and RMSE values for varieties in the training set were found to be 0.99 and 0.000318, respectively; in the test set, they were found to be 0.99 and 0.000624 (Table 7).
Coefficient of determination (R2) of the correlation between experimental data and the predicted values from the ANN model was found to be 99.99% for both species and varieties (Figure 2 and Figure 3).
Experimental data, predicted values calculated from the ANN model and the error values between them are given in Table 8. The mean error value for variety was found to be 0.009% and 0.001% for species.

4. Conclusions

The physical parameters of agricultural materials are important to have an accurate estimate of physical features and other characteristics which can be considered as engineering parameters for that product. These parameters such as the length, width, thickness, arithmetic mean diameter, geometric mean diameter, sphericity, volume, thousand seed mass, bulk density, true density, porosity and surface area are used in the grading, handling, sieving, storage, drying, processing and designing equipment.
11 physical properties for species grown in Turkey were determined. It was determined that these properties found to be statistically different could be used to classify species and varieties.
In the study, an Artificial Neural Network model was developed for classification. The structure of the model was set up to consist of 11 input, 2 hidden and 2 output layers. Using tansig and logsig transfer functions in the hidden layers and linear function in the output layer, the lowest error value was obtained.
In the developed model, R2 values for the species and varieties were found to be 0.99 for both; and RMSE values to be 0.000184 and 0.000624, respectively. The mean errors in approximation to the experimental data were obtained to be 0.001% and 0.009% for species and varieties, respectively. It has shown that all the results acquired from the developed ANN model had a good alignment with the experimental data.
Explaining two subjects (species and variety) by a single model obtained with ANN shows that the ANN offers a significant ease of use. It will enable to manufacture more easily, simply and economically the equipment to be developed thanks to this model.
It would be possible to construct automation systems, using the ANN model developed, for classifying and cleaning grains to use in Commodity Exchanges and milling factories.

Author Contributions

A.T. (Alper Taner) conceived and designed the study. A.T. (Alper Taner), Y.B.Ö. and A.T. (Ali Tekgüler). performed the reported analyzes and analyzed the data. A.T. (Alper Taner), H.S. and H.D. authored the manuscript.

Funding

This research received no external funding.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

RMSEroot mean square error
Bdiameter of the spherical part of the kernel (mm)
Dggeometric mean diameter (mm)
Llength (mm)
Skernel surface area (mm2)
Tthickness (mm)
Vkernel volume (mm3)
Wwidth (mm)
ϕ sphericity (%)
Ptporosity (%)
ρbbulk density (kg/m3)
ρttrue density (kg/m3)
mthousand kernel weight (g)

References

  1. Neuman, M.; Sapirstein, H.D.; Shwedyk, E.; Bushuk, W. Discrimination of wheat class and variety by digital image analysis of whole grain samples. J. Cereal Sci. 1987, 6, 125–132. [Google Scholar] [CrossRef]
  2. Barker, D.A.; Vouri, T.A.; Hegedus, M.R.; Myers, D.G. The use of ray parameters for the discrimination of Australian wheat varieties. Plant Var. Seeds 1992, 5, 35–45. [Google Scholar]
  3. Chen, X.; Xun, Y.; Li, W.; Zhang, J. Combining discriminant analysis and neural networks for corn variety identification. Comput. Electron. Agric. 2010, 71, 48–53. [Google Scholar] [CrossRef]
  4. Pourreza, A.; Pourreza, H.R.; Abbaspour-Fard, M.H.; Sadrnia, H. Identification of nine Iranian wheat seed varieties by textural analysis with image processing. Comput. Electron. Agric. 2012, 83, 102–108. [Google Scholar] [CrossRef]
  5. Mohsenin, N.N. Physical Properties of Plant and Animal Materials; Gordon and Breach Science Publishers Inc.: New York, NY, USA, 1970. [Google Scholar]
  6. Tabatabaeefar, A. Moisture-dependent physical properties of wheat. Int. Agrophys. 2003, 17, 207–211. [Google Scholar]
  7. Kalogirou, S.A. Applications of artificial neural networks in energy systems. Comput. Electron. Agric. 1999, 40, 1073–1087. [Google Scholar] [CrossRef]
  8. Aydogan, H.; Altun, A.A.; Ozcelik, A.E. Performance analysis of a turbo charged diesel engine using biodiesel with back propagation artificial neural network. Energy Educ. Sci. Technol-A. 2011, 28, 459–468. [Google Scholar]
  9. Visen, N.S.; Paliwal, J.; Jayas, D.S.; White, N.D.G. Specialist neural networks for cereal grain classification. Biosyst. Eng. 2002, 82, 151–159. [Google Scholar] [CrossRef]
  10. Dubey, B.P.; Bhagwat, S.G.; Shouche, S.P.; Sainis, J.K. Potential of artificial neural networks in varietal identification using morphometry of wheat grains. Biosyst. Eng. 2006, 95, 61–67. [Google Scholar] [CrossRef]
  11. Kalogirou, S.A. Artificial neural networks in the renewable energy systems applications: A review. Renew. Sustain. Energy Rev. 2001, 5, 373–401. [Google Scholar] [CrossRef]
  12. Paliwal, J.; Visen, N.S.; Jayas, D.S. Evaluation of neural network architectures for cereal grain classification using morphological features. J. Agric. Eng. Res. 2001, 79, 361–370. [Google Scholar] [CrossRef]
  13. Wang, N.; Dowell, F.; Zhang, N. Determining wheat vitreousness using image processing and a neural network. Presented at the 2002 ASAE Annual International Meeting/CIGR XVth World Congress, Chicago, IL, USA, 28–31 July 2002. [Google Scholar]
  14. Visen, N.S.; Jayas, D.S.; Paliwal, J.; White, N.D.G. Comparison of two neural network architectures for classification of singulated cereal grains. Can. Biosyst. Eng. 2004, 46, 7–14. [Google Scholar]
  15. Baykan, Ö.K.; Babalık, A.; Botsalı, F.M. Recognition of wheat type using artificial neural network. Presented at the 4th International Advanced Technologies Symposium, Konya, Turkey, 28–30 September 2005. [Google Scholar]
  16. Babalık, A.; Baykan, Ö.K.; Botsalı, F.M. Determination of wheat kernel type by using image processing techniques and ANN. Presented at the International Conference on Modelling and Simulating, Konya, Turkey, 28–30 August 2006. [Google Scholar]
  17. Pazoki, A.R.; Pazoki, Z. Classification system for rain fed wheat grain cultivars using artificial neural network. Afr. J. Biotechnol. 2011, 10, 8031–8038. [Google Scholar]
  18. Taner, A.; Tekgüler, A.; Sauk, H.; Demirel, B. Classification of oat varieties by using artificial neural networks. Presented at the 27th National Congress of Agricultural Mechanization, Samsun, Turkey, 5–7 September 2012. [Google Scholar]
  19. Liao, K.; Paulsen, M.R.; Reid, J.F.; Ni, B.C.; Bonifacio-Maghirang, E.P. Corn kernel breakage classification by machine vision using a neural network classifier. Trans. ASAE 1993, 36, 1949–1953. [Google Scholar] [CrossRef]
  20. Romaniuk, M.D.; Sokhansanj, S.; Wood, H.C. Barley seed recognition using a multi-layer neural network. Presented at the 1993 International ASAE Winter Meeting, Chicago, IL, USA, 14–17 December 1993. [Google Scholar]
  21. Jayas, D.S.; Paliwal, J.; Visen, N.S. Multi-layer neural networks for image analysis of agricultural products. J. Agric. Eng. Res. 2000, 77, 119–128. [Google Scholar] [CrossRef]
  22. Federico, M.; Remo, B.; Antonio, L.M.; Andrea, D.M.; Rita, A.; Roberta, F. Classification of 6 durum wheat cultivars from Sicily (Italy) using artificial neural networks. Chemometr. Intell. Lab. Syst. 2008, 90, 1–7. [Google Scholar]
  23. Wang, Z.; Cong, P.; Zhou, J.; Zhu, Z. Method for identification of external quality of wheat grain based on image processing and artificial neural network. Trans. CSAE 2007, 23, 158–161. [Google Scholar]
  24. Zapotoczny, P. Discrimination of wheat grain varieties using image analysis and neural networks. Part I. Single kernel texture. J. Cereal Sci. 2011, 54, 60–68. [Google Scholar]
  25. Jain, R.K.; Bal, S. Properties of pearl millet. J. Agric. Eng. Res. 1997, 66, 85–91. [Google Scholar] [CrossRef]
  26. Hacıseferogulları, H.; Özcan, M.; Demir, F.; Çalışır, S. Some nutritional and technological properties of garlic (Allium sativum L.). J. Food Eng. 2005, 68, 463–469. [Google Scholar] [CrossRef]
  27. Bell, M.; Fischer, R.A. Guide to Plant and Crop Sampling: Measurement and Observations for Agronomic and Physiological Research in Small Grain Cereals; Wheat Special Report No. 32; CIMMYT: Veracruz, Mexico, 1994. [Google Scholar]
  28. Cölkesen, M.; Öktem, A.; Eren, N.; Akıncı, C. Determination of suitable durum wheat varieties on dry and irrigated conditions in şanliurfa. Presented at the Symposium of Durum Wheat and Products, Ankara, Turkey, 30 November–3 December 1993. [Google Scholar]
  29. Aviara, N.A.; Gwandzang, M.I.; Haque, M.A. Physical properties of guna seeds. J. Agric. Eng. Res. 1999, 73, 105–111. [Google Scholar] [CrossRef]
  30. Sacilik, K.; Oztürk, R.; Keskin, R. Some physical properties of hemp seed. Biosyst. Eng. 2003, 86, 191–198. [Google Scholar] [CrossRef]
  31. Ogunjimi, L.O.; Aviara, N.A.; Aregbesola, O.A. Some engineering properties of locust bean seed. J. Food Eng. 2002, 55, 95–99. [Google Scholar] [CrossRef]
  32. Smedley, S.M. Discrimination between beers with small colour differences using the CIELAB colour space. J. Inst. Brew. 1995, 101, 195–201. [Google Scholar] [CrossRef]
  33. Connolly, C.; Fleiss, T. A study of efficiency and accuracy in the transformation from RGB to CIELAB colour space. IEEE Trans. Image Process. 1997, 6, 1046–1048. [Google Scholar] [CrossRef] [PubMed]
  34. Purushothaman, S.; Srinivasa, Y.G. A back-propagation algorithm applied to tool wear monitoring. Int. J. Mach. Tool Manuf. 1994, 34, 625–631. [Google Scholar] [CrossRef]
  35. Jacobs, R.A. Increased rate of convergence through learning rate adaptation. Neural Netw. 1988, 1, 295–307. [Google Scholar] [CrossRef]
  36. Minai, A.A.; Williams, R.D. Back-propagation heuristics: A study of the extended delta-bar-delta algorithm. In Proceedings of the 1990 IJCNN International Joint Conference on Neural Networks, San Diego, CA, USA, 17–21 June 1990. [Google Scholar]
  37. Levenberg, K. A method for the solution of certain nonlinear problems in least squares. Quart. Appl. Math. 1944, 2, 164–168. [Google Scholar] [CrossRef]
  38. Marquart, D.W. An algorithm for least-squares estimation of nonlinear parameters. J. Soc. Ind. Appl. Math. 1963, 11, 431–441. [Google Scholar] [CrossRef]
  39. Bechtler, H.; Browne, M.W.; Bansal, P.K.; Kecman, V. New approach to dynamic modelling of vapour-compression liquid chillers: Artificial neural networks. Appl. Therm. Eng. 2001, 21, 941–953. [Google Scholar] [CrossRef]
  40. Taner, A.; Tekgüler, A.; Sauk, H. Classification of durum wheat varieties by artificial neural networks. Anadolu J. Agric. Sci. 2015, 30, 51–59. [Google Scholar] [CrossRef]
  41. Yurtsever, N. Experimental Statistical Methods; Soil and Fertilizer Research Institute, The Global Forum on Agricultural Research and Innovation: Ankara, Turkey, 1984. [Google Scholar]
  42. Babi´c, L.; Babi´c, M.; Turan, J.; Mati´c-Keki´c, S.; Radojˇcin, M.; Mehandˇzi´c-Staniˇsi´c, S.; Pavkov, I.; Zoranovi´c, M. Physical and stress-strain properties of wheat (Triticum aestivum) kernel. J. Sci. Food Agric. 2011, 91, 1236–1243. [Google Scholar] [CrossRef] [PubMed]
  43. Topal, A.; Aydın, C.; Akgün, N.; Babaoglu, M. Diallel cross analysis in durum wheat (Triticum durum Desf.): Identification of best parents for some kernel physical features. Field Crop Res. 2004, 87, 1–12. [Google Scholar] [CrossRef]
  44. Güner, M. Pneumatic conveying characteristics of some agricultural seeds. J. Food Eng. 2007, 80, 904–913. [Google Scholar] [CrossRef]
  45. Dursun, E.; Güner, M. Determination of mechanical behaviour of wheat and barley under compression loading. J. Agric. Sci. 2003, 9, 415–420. [Google Scholar]
  46. Molenda, M.; Horabik, J. Part1: Characterization of mechanical properties of particulate solids for storage and handling. In Mechanical Properties of Granular Agro-Materials and Food Powders for Industrial Practice; Molenda, M., Horabik, J., Eds.; Institute of Agrophysics Polish Academy of Sciences: Lublin, Poland, 2005. [Google Scholar]
  47. Nelson, S.O. Dimensional and density data for seeds of cereal grain and other crops. Trans. ASAE 2002, 45, 165–170. [Google Scholar] [CrossRef]
  48. Markowski, M.; Zuk-Golaszewska, K.; Kwiatkowski, D. Influence of variety on selected physical and mechanical properties of wheat. Ind. Crop Prod. 2013, 47, 113–117. [Google Scholar] [CrossRef]
  49. Tavakoli, M.; Tavakoli, H.; Rajabipour, A.; Ahmadi, H.; Gharib-Zahedi, S.M.T. Moisture-dependent physical properties of barley grains. Int. J. Agric. Biol. Eng. 2009, 2, 84–91. [Google Scholar] [CrossRef]
  50. Song, H.; Litchfield, J.B. Predicting method of terminal velocity for grains. Trans. ASAE 1991, 34, 225–231. [Google Scholar] [CrossRef]
  51. Sokhansanj, S.; Lang, W. Prediction of kernel and bulk volüme of wheat and canola during adsorption and desorption. J. Agric. Eng. Res. 1996, 63, 129–136. [Google Scholar] [CrossRef]
Figure 1. The Artificial Neural Network (ANN) structure.
Figure 1. The Artificial Neural Network (ANN) structure.
Agronomy 08 00123 g001
Figure 2. Regression graphics between ANN-predicted values and experimental data for species.
Figure 2. Regression graphics between ANN-predicted values and experimental data for species.
Agronomy 08 00123 g002
Figure 3. Regression graphics between ANN-predicted values and experimental data for variety.
Figure 3. Regression graphics between ANN-predicted values and experimental data for variety.
Agronomy 08 00123 g003
Table 1. Varieties used in the study.
Table 1. Varieties used in the study.
Bread WheatDurum WheatBarleyOatTriticale
AhmetağaKarahan-99AltınAvcı-2002ArgentinaKarma 2000
Alpu 2001Kınacı-97Altıntaç-95AydanhanımChecotaMelez-2001
Atay-85Konya-2002Çeşit-1252BeyşehirFaikbeyMikham-2002
Bağcı-2002Kutluk 94DumlupınarÇetin 2000SeydişehirSamur Sortu
Bayraktar 2000MüfitbeyKızıltan-91Karatay 94Y-1779
Bezostaja 1PehlivanKümbet-2000Kıral-97Y-330
Dağdaş-94Soyer 02Meram-2002Konevi
EkizSönmez 2001Mirzabey-2000Larende
EserSultan 95Selçuklu-97
Gerek 79Süzen 97Yelken-2000
Göksu-99TosunbeyYılmaz-98
Gün-91Yakar-99
İkizce 96Yektay 406
İzgi 2001Yıldız 98
Table 2. The mean and standard deviation values of the physical properties of the grain varieties.
Table 2. The mean and standard deviation values of the physical properties of the grain varieties.
SpeciesThousand Kernel Weight (g)Geometric Mean Diameter (mm)Sphericity (%)Kernel Volume (mm3)Surface Area (mm2)Bulk Density (kg/m3)True Density (kg/m3)Porosity (%)Lab
Bread Wheat42.23 ± 0.036 c3.93 ± 0.004 d60.85 ± 0.062 a21.04 ± 0.081 c40.96 ± 0.119 d773.17 ± 0.40 a1271.88 ± 1.78 a39.18 ± 0.096 d49.11 ± 0.026 c8.33 ± 0.01 b17.84 ± 0.013 c
Durum Wheat48.47 ± 0.057 a4.16 ± 0.007 c54.05 ± 0.098 b23.73 ± 0.129 b46.29 ± 0.190 c745.56 ± 0.64 b1270.65 ± 2.83 a41.30 ± 0.153 c48.66 ± 0.041 d0.86 ± 0.016 a17.65 ± 0.021 d
Barley48.49 ± 0.067 a4.44 ± 0.008 a50.78 ± 0.116 d28.11 ± 0.151 a53.19 ± 0.223 b679.43 ± 0.76 d1202.84 ± 3.33 c43.48 ± 0.179 b58.43 ± 0.049 a4.48 ± 0.019 e18.71 ± 0.025 b
Oat33.83 ± 0.078 d4.30 ± 0.010 b34.76 ± 0.134e23.45 ± 0.175 b55.22 ± 0.258 a482.80 ± 0.87 e997.36 ± 3.84 d51.54 ± 0.207 a55.36 ± 0.056 b6.82 ± 0.022 d19.00 ± 0.028 a
Triticale44.60 ± 0.095 b4.15 ± 0.012 c52.71 ± 0.164 c23.28 ± 0.214 b46.22 ± 0.316 c717.44 ± 1.07 c1228.01 ± 4.70 b41.58 ± 0.254 c45.59 ± 0.069 e7.29 ± 0.027 c15.06 ± 0.035 e
Mean43.594.1054.8122.9645.57720.211229.9841.6650.747.6117.85
CV (%)1.422.431.747.315.020.682.173.160.711.721.07
LSD(0.05)0.250.030.420.560.822.8112.330.660.180.070.09
Mean: Arithmetic mean. CV: Coefficient of Variation. LSD: Least Significant Difference.
Table 3. Connection weight values for Equation (15).
Table 3. Connection weight values for Equation (15).
(J)(W1)i1(W1)i2(W1)i3(W1)i4(W1)i5(W1)i6(W1)i7(W1)i8(W1)i9(W1)i10(W1)i11
10.5722−0.18420.2088−0.49040.88820.00040.1553−0.21540.02940.24010.0727
20.10070.7627−0.28970.4454−1.485−1.01780.7479−0.7256−0.36730.0447−0.4264
3−0.01030.0607−0.09850.0191−0.0794−0.0455−0.0053−0.0056−0.0095−0.0704−0.0183
4−3.80027.43962.5305−15.6610.0015−39.280526.9969−27.01112.3286−4.7543−3.5571
53.161310.7492−8.54567.0885−22.82947.962−8.03357.47940.95060.1078−1.782
6−0.01050.0993−0.15420.0196−0.1033−0.0662−0.0115−0.0028−0.0117−0.1014−0.0257
7−0.0855−0.77410.1382−0.45881.6941−0.0753−0.08590.10430.10761.81650.1336
Table 4. Connection weight values for Equation (13).
Table 4. Connection weight values for Equation (13).
(k)(W2)j1(W2)j2(W2)j3(W2)j4(W2)j5(W2)j6(W2)j7
1−5.143170.406−4.5058−18.016−11.9865−7.754315.8411
2−0.14150.0677−40.336−0.0007−0.000719.4536−0.0737
351.127485.4875−25.99766.296750.4012−36.0585−67.172
4−32.12−63.85−4.268515.39225.1911.809329.4206
50.3936−0.278218.40340.13640.1275−13.0859−4.0637
66.5031−57.464−8.112−13.94578.3948−9.505981.1453
7−14.722−56.89317.9144−18.052−13.72713.9338.3927
Table 5. Connection weight values for Equation (11).
Table 5. Connection weight values for Equation (11).
(m)(W3)k1(W3)k2(W3)k3(W3)k4(W3)k5(W3)k6(W3)k7
1−0.00732.1518−0.0078−0.000310.38960.0001−0.0089
20.25−0.00020.7510.00060.250
Table 6. Bias values.
Table 6. Bias values.
Number of Neuronsbibjbk
1−1.22692.1839−15.7802
21.455713.8917−0.2506
30.8503−63.862
423.8469−23.8218
52.72172.2416
60.7096−32.6007
7−1.270630.4023
Table 7. Performance of the ANN model.
Table 7. Performance of the ANN model.
OutputTraining SetTest Set
RMSER2RMSER2
Species0.0000270.990.0001840.99
Variety0.0003180.990.0006240.99
Table 8. Test and error values for the ANN model.
Table 8. Test and error values for the ANN model.
VarietyVarietySpecies
Experimental DataTest DataError (%)Experimental DataTest DataError (%)
Sultan 9549.2649.260.00439.8939.890.000
Süzen 9746.6546.650.00439.8939.890.000
Tosunbey47.9647.960.00139.8939.890.000
Gerek 7945.7945.790.00139.8939.890.000
Alpu 200149.7049.700.00339.8939.890.000
İkizce 9645.0545.060.01639.8939.890.000
Göksu-9945.5745.570.00239.8939.890.000
Konya-200246.5746.570.00439.8939.890.000
Müfitbey45.7345.720.00639.8939.890.000
Kınacı-9748.8348.830.01639.8939.890.000
Bağcı-200246.6846.680.00139.8939.890.000
Bayraktar 200045.9145.920.00839.8939.890.000
Ahmetağa45.6445.640.00639.8939.890.000
Ekiz47.4547.450.00139.8939.890.000
Pehlivan49.4949.490.00239.8939.900.031
Altıntaç-9546.6446.640.00142.7842.780.008
Çeşit-125250.9350.930.00142.7842.780.000
Mirzabey-200048.6748.670.00442.7842.780.000
Meram-200250.6150.610.00342.7842.780.000
Yılmaz-9848.8748.870.00942.7842.780.000
Kızıltan-9148.3448.340.00842.7842.780.000
Karatay 9445.2845.290.00945.6745.670.000
Çetin 200047.3247.310.02445.6745.670.000
Larende48.4948.490.00545.6745.670.000
Avcı-200248.4648.450.00945.6745.670.000
Kıral-9744.7544.720.06945.6745.670.000
Beyşehir49.2349.230.00645.6745.670.000
Aydanhanım49.0949.080.00545.6745.670.000
Karma 200046.4046.390.00548.5748.570.000
Melez-200145.9445.950.01248.5748.570.000
Mikham-200246.1446.130.00748.5748.570.000
Samur Sortu44.0244.020.00248.5748.570.002
Y-177945.5545.540.03451.4651.460.000
Checota44.5044.500.01051.4651.460.000
Argentina41.4341.430.00251.4651.460.000
Seydişehir46.8646.850.03551.4651.460.000
Faikbey41.5841.570.01151.4651.460.000
Mean Error0.0090.001

Share and Cite

MDPI and ACS Style

Taner, A.; Öztekin, Y.B.; Tekgüler, A.; Sauk, H.; Duran, H. Classification of Varieties of Grain Species by Artificial Neural Networks. Agronomy 2018, 8, 123. https://doi.org/10.3390/agronomy8070123

AMA Style

Taner A, Öztekin YB, Tekgüler A, Sauk H, Duran H. Classification of Varieties of Grain Species by Artificial Neural Networks. Agronomy. 2018; 8(7):123. https://doi.org/10.3390/agronomy8070123

Chicago/Turabian Style

Taner, Alper, Yeşim Benal Öztekin, Ali Tekgüler, Hüseyin Sauk, and Hüseyin Duran. 2018. "Classification of Varieties of Grain Species by Artificial Neural Networks" Agronomy 8, no. 7: 123. https://doi.org/10.3390/agronomy8070123

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop