Determination of basic soil macronutrients such as nitrogen (N), phosphorus (P) and potassium (K) that dissolve from organic matter (OM) prior to the plantation of fruit and vegetable corps is one of the important process of soil preparation towards precision farming. In this paper comparative analysis is performed for detection algorithm on OM, (N) and (P) sample using near infrared spectroscopy (NIRS) spectrometer in reflective mode with an effective range of 900nm to 1700nm. In pre-processing we execute data dimension reduction by combining multiple feature selection such as data normalization, permutation feature importance, principle component analysis, fisher linear discriminant and filter-based feature selection. Pre-processing able to reduce 50% data dimension. For prediction model development we combine with multiple classification algorithm such as multiclass decision jungle, decision forest, logistic regression and neural network to come out with highest accuracy of N and P detection. We conclude that near infrared spectroscopy combines with feature selection and multiclass classification able to determine nitrogen and phosphorus.

1.
Velasquez
,
E.
,
Lavelle
,
P.
,
Barrios
,
E.
,
Joffre
,
R.
,
Reversat
,
F.
,
2005
.
Evaluating soil quality in tropical agroecosystems of Colombia using NIRS
.
Soil Biology & Biochemistry
37
,
889
898
.
2.
Sut
M
,
Fischer
T
,
Repmann
F
,
Raab
T
,
Dimitrova
T.
Feasibility of Field Portable Near Infrared (NIR) Spectroscopy to Determine Cyanide Concentrations in Soil
.
Water, Air, Soil Pollut [Internet].
2012
;
223
(
8
):
5495
504
.
3.
Soil Organic Matter Agronomy Fact Sheet Series
. (n.d.). Retrieved from http://nmsp.css.cornell.edu
4.
Rinnan
,
R.
, &
Rinnan
,
Å.
(
2007
).
Application of near infrared reflectance (NIR) and fluorescence spectroscopy to analysis of microbiological and chemical properties of arctic soil
.
Soil Biology and Biochemistry
,
39
(
7
),
1664
1673
.
5.
Yan
L
,
Escobar
MS
,
Kaneko
H
,
Funatsu
K.
Detection of nonlinearity in soil property prediction models based on near-infrared spectroscopy
.
Chemom Intell Lab Syst [Internet].
2017
;
167
:
139
51
. Available from:
6.
Yu
X
,
Liu
Q
,
Wang
Y
,
Liu
X
,
Liu
X.
Evaluation of MLSR and PLSR for estimating soil element contents using visible/near-infrared spectroscopy in apple orchards on the Jiaodong peninsula
.
Catena [Internet].
2016
;
137
:
340
9
. Available from:
7.
Rokach
,
Lior
. (
2015
).
Decision Forest: Twenty Years of Research
.
Information Fusion.
27
..
8.
Multiclass Decision Forest - Azure Machine Learning Studio
. Retrieved from https://docs.microsoft.com/en-us/azure/machine-learning/studio-module-reference/multiclass-decision-forest
9.
Multiclass Logistic Regression - Azure Machine Learning Studio
. Retrieved from https://docs.microsoft.com/en-us/azure/machine-learning/studio-module-reference/multiclass-logistic-regression.
10.
Multiclass Neural Network - Azure Machine Learning Studio
. Retrieved from https://docs.microsoft.com/en-us/azure/machine-learning/studio-module-reference/multiclass-neural-network.
11.
Bayesian Linear Regression - Azure Machine Learning Studio
. Retrieved from https://docs.microsoft.com/en-us/azure/machine-learning/studio-module-reference/bayesian-linear-regression
12.
Boosted Decision Tree Regression - Azure Machine Learning Studio
. Retrieved from https://docs.microsoft.com/en-us/azure/machine-learning/studio-module-reference/boosted-decision-tree-regression.
13.
Decision Forest Regression - Azure Machine Learning Studio
. Retrieved from https://docs.microsoft.com/en-us/azure/machine-learning/studio-module-reference/decision-forest-regression.
14.
Linear Regression - Azure Machine Learning Studio
. Retrieved from https://docs.microsoft.com/en-us/azure/machine-learning/studio-module-reference/linear-regression
15.
Osborne
,
B.G.
,
Fearn
,
T.
,
1986
. Applications of near infrared spectroscopy in food analysis. In:
Browning
,
D.
(Ed.),
Near Infrared Spectroscopy in Food Analysis
.
Longman Scientific and Technical
,
Harlow
, pp.
117
161
.
16.
Li
,
Lu-lu
&
Jiang
,
Tao
&
Lu
,
Song
&
Yan
,
Jin-long
&
Gao
,
Jie
&
Wei
,
Shi-qiang
&
Wang
,
Dingyong
&
Guo
,
Nian
&
Zhao
,
Zhena
. (
2014
).
Using ultraviolet-visible (UV-Vis) absorption spectrum to estimate the dissolved organic matter (DOM) concentration in water, soils and sediments of typical water-level fluctuation zones of the Three Gorges Reservoir areas
.
Huanjing Kexue/Environmental Science.
35
.
3408
16
.
17.
Shafiq Amirul Sabri
M
,
Endut
R
,
B. M.
Rashidi
C,
R.
Laili
A,
A.
Aljunid
S,
Ali
N.
Analysis of Near-infrared (NIR) spectroscopy for chlorophyll prediction in oil palm leaves
.
Bull Electr Eng Informatics.
2019
;
8
(
2
):
506
13
This content is only available via PDF.