NBA player career longevity prediction

the target is dealing with career prediction where if career >5 means 1. step 1. import the necessary libraries step 2. read the training file., check for null values step 3: we remove target variable and initialise them in X and target is intialised as y step 4: in this step we divide , further training data into test and train data so that we can cross validate and train the model. step 4: we apply different regression models. step 5: get accuracy score step 5: change or find best parameter using gridsearch