Last answered:

04 Feb 2023

Posted on:

13 Nov 2022

0

clf.predict([train_input.iloc[125]])

clf.predict([train_input.iloc[125]])..please explain 125 here

1 answers ( 0 marked as helpful)
Posted on:

04 Feb 2023

0

This number was "randomly" chosen just to show an example. He could take any other number between 0 and 169 once the dataset has 170 samples. Hence, he just showed the command which says the prediction from one specific sample from the dataset in case you need to know. 

Submit an answer