IEEE Consumer Electronics Magazine - March/April 2023 - 114

Special Section on Security, Trust, and Services for AI-Empowered Sensing in the Next Generation IoT
and output gate, are used in the fundamental
structure of LSTM. Adding, discarding, and
updating memory cells are all implied by the
input gate, forget gate, and output gate. The
overall architecture of LSTM is depicted in
Figure 4. The extensive computation of a single
LSTM cell is governed by (1)-(6)
inpt ¼ s biasinp þ Winp ht1;xt
c~ tðÞ 
forgett ¼ s biasforget þWforget ht1;xt
ct ¼ forgett ct1 þ inpt~ic tðÞ
outt ¼ s biasout þ Wout ht1;xt
i ¼ tanh ctoutt
i ¼ tanh bc

i biasc þ Wc ht1;xt


h tðÞ
FIGURE 4. Sign-in and Home Page of the smart
farming mobile application.
predicting fertilizer amount for each unknown
land. According to the performance analysis, it
is found that Bi-LSTM is a deep learning network
consisting of two LSTM architectures for accurate
prediction of fertilizer amount. The data
flow diagram of the proposed IoT-based fertilizer
recommendation system is given in Figure 2.
Step-by-Step Process
Step 1: Initially, the sensor output data were
checked for missing values of 80% for each
land data. Those records will be removed
from the server database. Then, the data
record containing 100% information that will
be considered as input for the Bi-LSTM network,
namely, temperature, humidity, nitrogen
(N), phosphorus (P), and potassium (K).
Step 2: For each record, the three columns of fertilizers
will be calculated based on the agricultural
expert's advice. Finally, the
preprocessed fertilizer recommended data
will be considered for training the learning
model.
Step 3: The data are split as training and testing
of 75:25 ratio for processing the Bi-LSTM prediction
algorithm. During an evaluation, the
unknown 25% of testing data will be compared
with the real fertilizer recommendation
values to know the accuracy.
Step 4: A self-loop memory cell and a network of
gating units, such as input gate, forget gate,
114
(1)
(2)
(3)
(4)
(5)
(6)
where biasinp;cand winp;c are the weight and bias
of the input gate and intermediate cell,
respectively.
Step 5: Bi-LSTM stores information utilizing past
and future values in two layers of LSTM with
memory cells allocated to forward and backward
pass,13 respectively. As a result, several
hidden states (ðht
;ht
!
Þ) were kept and
then concatenated to create a single hidden
state that contained both past and future
data. The LSTM memory cell uses the current
(c0,h0) and hidden input to compute
the next cell state at time step t. Whether to
ignore or add information from the cell is
decided by each memory. As a result, the
memory cell of the forwarded LSTM unit
from the bidirectional technique calculates
the first output cell (h1) and new cell state
(ct) using starting state values. The forward
and backward pass of Bi-LSTM uses the classic
long short-term unit operation to accomplish
this operation at any time step t. Both
directions' final hidden states (ht) are
concatenated into a single output
ht ¼ s ht
;ht
!
where s denotes the aggregating function
includes addition, multiplication, concatenation,
or average.
Step 6: The prediction value fromBi-LSTMnetwork
is treated as recommendation of fertilizers for
IEEE Consumer Electronics Magazine

IEEE Consumer Electronics Magazine - March/April 2023

Table of Contents for the Digital Edition of IEEE Consumer Electronics Magazine - March/April 2023

Contents
IEEE Consumer Electronics Magazine - March/April 2023 - Cover1
IEEE Consumer Electronics Magazine - March/April 2023 - Cover2
IEEE Consumer Electronics Magazine - March/April 2023 - Contents
IEEE Consumer Electronics Magazine - March/April 2023 - 2
IEEE Consumer Electronics Magazine - March/April 2023 - 3
IEEE Consumer Electronics Magazine - March/April 2023 - 4
IEEE Consumer Electronics Magazine - March/April 2023 - 5
IEEE Consumer Electronics Magazine - March/April 2023 - 6
IEEE Consumer Electronics Magazine - March/April 2023 - 7
IEEE Consumer Electronics Magazine - March/April 2023 - 8
IEEE Consumer Electronics Magazine - March/April 2023 - 9
IEEE Consumer Electronics Magazine - March/April 2023 - 10
IEEE Consumer Electronics Magazine - March/April 2023 - 11
IEEE Consumer Electronics Magazine - March/April 2023 - 12
IEEE Consumer Electronics Magazine - March/April 2023 - 13
IEEE Consumer Electronics Magazine - March/April 2023 - 14
IEEE Consumer Electronics Magazine - March/April 2023 - 15
IEEE Consumer Electronics Magazine - March/April 2023 - 16
IEEE Consumer Electronics Magazine - March/April 2023 - 17
IEEE Consumer Electronics Magazine - March/April 2023 - 18
IEEE Consumer Electronics Magazine - March/April 2023 - 19
IEEE Consumer Electronics Magazine - March/April 2023 - 20
IEEE Consumer Electronics Magazine - March/April 2023 - 21
IEEE Consumer Electronics Magazine - March/April 2023 - 22
IEEE Consumer Electronics Magazine - March/April 2023 - 23
IEEE Consumer Electronics Magazine - March/April 2023 - 24
IEEE Consumer Electronics Magazine - March/April 2023 - 25
IEEE Consumer Electronics Magazine - March/April 2023 - 26
IEEE Consumer Electronics Magazine - March/April 2023 - 27
IEEE Consumer Electronics Magazine - March/April 2023 - 28
IEEE Consumer Electronics Magazine - March/April 2023 - 29
IEEE Consumer Electronics Magazine - March/April 2023 - 30
IEEE Consumer Electronics Magazine - March/April 2023 - 31
IEEE Consumer Electronics Magazine - March/April 2023 - 32
IEEE Consumer Electronics Magazine - March/April 2023 - 33
IEEE Consumer Electronics Magazine - March/April 2023 - 34
IEEE Consumer Electronics Magazine - March/April 2023 - 35
IEEE Consumer Electronics Magazine - March/April 2023 - 36
IEEE Consumer Electronics Magazine - March/April 2023 - 37
IEEE Consumer Electronics Magazine - March/April 2023 - 38
IEEE Consumer Electronics Magazine - March/April 2023 - 39
IEEE Consumer Electronics Magazine - March/April 2023 - 40
IEEE Consumer Electronics Magazine - March/April 2023 - 41
IEEE Consumer Electronics Magazine - March/April 2023 - 42
IEEE Consumer Electronics Magazine - March/April 2023 - 43
IEEE Consumer Electronics Magazine - March/April 2023 - 44
IEEE Consumer Electronics Magazine - March/April 2023 - 45
IEEE Consumer Electronics Magazine - March/April 2023 - 46
IEEE Consumer Electronics Magazine - March/April 2023 - 47
IEEE Consumer Electronics Magazine - March/April 2023 - 48
IEEE Consumer Electronics Magazine - March/April 2023 - 49
IEEE Consumer Electronics Magazine - March/April 2023 - 50
IEEE Consumer Electronics Magazine - March/April 2023 - 51
IEEE Consumer Electronics Magazine - March/April 2023 - 52
IEEE Consumer Electronics Magazine - March/April 2023 - 53
IEEE Consumer Electronics Magazine - March/April 2023 - 54
IEEE Consumer Electronics Magazine - March/April 2023 - 55
IEEE Consumer Electronics Magazine - March/April 2023 - 56
IEEE Consumer Electronics Magazine - March/April 2023 - 57
IEEE Consumer Electronics Magazine - March/April 2023 - 58
IEEE Consumer Electronics Magazine - March/April 2023 - 59
IEEE Consumer Electronics Magazine - March/April 2023 - 60
IEEE Consumer Electronics Magazine - March/April 2023 - 61
IEEE Consumer Electronics Magazine - March/April 2023 - 62
IEEE Consumer Electronics Magazine - March/April 2023 - 63
IEEE Consumer Electronics Magazine - March/April 2023 - 64
IEEE Consumer Electronics Magazine - March/April 2023 - 65
IEEE Consumer Electronics Magazine - March/April 2023 - 66
IEEE Consumer Electronics Magazine - March/April 2023 - 67
IEEE Consumer Electronics Magazine - March/April 2023 - 68
IEEE Consumer Electronics Magazine - March/April 2023 - 69
IEEE Consumer Electronics Magazine - March/April 2023 - 70
IEEE Consumer Electronics Magazine - March/April 2023 - 71
IEEE Consumer Electronics Magazine - March/April 2023 - 72
IEEE Consumer Electronics Magazine - March/April 2023 - 73
IEEE Consumer Electronics Magazine - March/April 2023 - 74
IEEE Consumer Electronics Magazine - March/April 2023 - 75
IEEE Consumer Electronics Magazine - March/April 2023 - 76
IEEE Consumer Electronics Magazine - March/April 2023 - 77
IEEE Consumer Electronics Magazine - March/April 2023 - 78
IEEE Consumer Electronics Magazine - March/April 2023 - 79
IEEE Consumer Electronics Magazine - March/April 2023 - 80
IEEE Consumer Electronics Magazine - March/April 2023 - 81
IEEE Consumer Electronics Magazine - March/April 2023 - 82
IEEE Consumer Electronics Magazine - March/April 2023 - 83
IEEE Consumer Electronics Magazine - March/April 2023 - 84
IEEE Consumer Electronics Magazine - March/April 2023 - 85
IEEE Consumer Electronics Magazine - March/April 2023 - 86
IEEE Consumer Electronics Magazine - March/April 2023 - 87
IEEE Consumer Electronics Magazine - March/April 2023 - 88
IEEE Consumer Electronics Magazine - March/April 2023 - 89
IEEE Consumer Electronics Magazine - March/April 2023 - 90
IEEE Consumer Electronics Magazine - March/April 2023 - 91
IEEE Consumer Electronics Magazine - March/April 2023 - 92
IEEE Consumer Electronics Magazine - March/April 2023 - 93
IEEE Consumer Electronics Magazine - March/April 2023 - 94
IEEE Consumer Electronics Magazine - March/April 2023 - 95
IEEE Consumer Electronics Magazine - March/April 2023 - 96
IEEE Consumer Electronics Magazine - March/April 2023 - 97
IEEE Consumer Electronics Magazine - March/April 2023 - 98
IEEE Consumer Electronics Magazine - March/April 2023 - 99
IEEE Consumer Electronics Magazine - March/April 2023 - 100
IEEE Consumer Electronics Magazine - March/April 2023 - 101
IEEE Consumer Electronics Magazine - March/April 2023 - 102
IEEE Consumer Electronics Magazine - March/April 2023 - 103
IEEE Consumer Electronics Magazine - March/April 2023 - 104
IEEE Consumer Electronics Magazine - March/April 2023 - 105
IEEE Consumer Electronics Magazine - March/April 2023 - 106
IEEE Consumer Electronics Magazine - March/April 2023 - 107
IEEE Consumer Electronics Magazine - March/April 2023 - 108
IEEE Consumer Electronics Magazine - March/April 2023 - 109
IEEE Consumer Electronics Magazine - March/April 2023 - 110
IEEE Consumer Electronics Magazine - March/April 2023 - 111
IEEE Consumer Electronics Magazine - March/April 2023 - 112
IEEE Consumer Electronics Magazine - March/April 2023 - 113
IEEE Consumer Electronics Magazine - March/April 2023 - 114
IEEE Consumer Electronics Magazine - March/April 2023 - 115
IEEE Consumer Electronics Magazine - March/April 2023 - 116
IEEE Consumer Electronics Magazine - March/April 2023 - 117
IEEE Consumer Electronics Magazine - March/April 2023 - 118
IEEE Consumer Electronics Magazine - March/April 2023 - 119
IEEE Consumer Electronics Magazine - March/April 2023 - 120
IEEE Consumer Electronics Magazine - March/April 2023 - 121
IEEE Consumer Electronics Magazine - March/April 2023 - 122
IEEE Consumer Electronics Magazine - March/April 2023 - 123
IEEE Consumer Electronics Magazine - March/April 2023 - 124
IEEE Consumer Electronics Magazine - March/April 2023 - 125
IEEE Consumer Electronics Magazine - March/April 2023 - 126
IEEE Consumer Electronics Magazine - March/April 2023 - 127
IEEE Consumer Electronics Magazine - March/April 2023 - 128
IEEE Consumer Electronics Magazine - March/April 2023 - Cover3
IEEE Consumer Electronics Magazine - March/April 2023 - Cover4
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20240102
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20231112
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230708
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230506
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230304
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230102
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20221112
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220708
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220506
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220304
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220102
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20211112
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210708
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210506
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210304
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202010
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202009
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202007
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202004
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202003
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202001
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201909
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201907
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201905
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201903
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201901
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201811
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201809
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201807
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201805
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201803
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_july2017
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_april2017
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_january2017
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_october2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_july2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_april2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_january2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_october2015
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_july2015
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_april2015
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_january2015
https://www.nxtbookmedia.com