Okay to train the neural network in our mini adisa kara library and that library n e 1071 Library we need to install these libraries either install the NL libraries gotta know restart. So in my I already have these are an install so to let's say I want to train these neural networks in all I can do something that is model to train species to all the other variables and then they tie it goes train dot set the metta eco endemic tres, equal false. Okay, then I can build a model into let's say I want to make any prediction I can do something that is prediction to predict a demo the new data equals test set. Then I can view that prediction. So I can control a and run the program yeah Other prediction here. So if I want to view the probability I can put in type equal probability, control a and then run.
So these are all the probability in the prediction. So for the first row, the probability for Santos is 0.984 versity cola is 0.01 Virginie Chi is around 0.002. So the prediction should be setosa