Hema R

The code to create a model with Linear Regression to predict salary based on experience -Salary_prediction

Executing the model in docker:

First install docker using yum install docker-ce — nobest.

Then enable the service and check the status using systemctl status docker. Before creating container we need a image. I’m going to use centos latest image.

Create a container with name model using centos image and install python.