see tensorflow version python

import tensorflow as tf

Here is what the above code is Doing:
1. Importing the required libraries
2. Loading the dataset
3. Splitting the dataset into training and testing sets
4. Creating the model
5. Training the model
6. Evaluating the model
7. Making predictions