Question: what can I do to increase the accuracy? im using the iris dataset to build a feedforward NN but the accuracy is not improving I

* Feature Scaling \[ \begin{array}{l} \text { scaler = MinMaxScaler( ) } \\ X_{\text {_train }} \text { = scaler.fit_transform(X_train) } \\ X \text { test }=\text { scaler. } \text { transform(X_test) } \\ \end{array} \] H A Building the nodel model = tf. keras.models. Sequential() H \# Adding the input layer and the first hidden layer model. add(tf. keras. layers. Dense(units =8, activation='relu", input shape= (4,7)) ) M A Adding the second hidden layer model.add(tf.keras, layers. Dense(units=4, activation='relu')) H A Adding the output layer model. add(tf.keras. layers. Dense(units=3, activation='signoid')) H HCompiling the model model. compile(optimizer=' adam', loss= 'ku1lback_leibler_divergence', metrics=[ 'accuracy']) H H. Training the model model. fit(x_train, y_train, epochs=10, batch_size=32) Epoch 1/10 Epoch 2/10 Epoch 2/1025 6mis/step - loss: 2.3363 - accuracy: 0.6667 Epoch 3/10 Epoch 4/10 Epoch 5/10 - 10 - Es 6ms/step - loss: 2.2138 - accuracy: 0.6500 Epoch 7/10 Epoch 8/182/4.0. Epoch 9/10
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
