Sitemap

Machine learning on Docker-Salary Predictor

May 29, 2021
Press enter or click to view image in full size

🧿LinuxWorld Enterprise

🧿Summer Internship 2021

🧿Task1

Task Description:

  • Pull the Docker container image of CentOS image from DockerHub and create a new container.
  • Install the Python software on the top of docker container.
  • In Container, you need to copy/create machine learning model which you have created in jupyter notebook.

Step 1: Dataset used.

Step 2: Copy the ML linear regression model from Jupyter Notebook.

Step 3: Check if the Docker is available

Press enter or click to view image in full size

Step 4: Download CentOS image on Docker.

Press enter or click to view image in full size

Step 5: Create and run Container.

Press enter or click to view image in full size

Step 6: Download Python in the Container.

Press enter or click to view image in full size

Step 7: Install the python libraries.

➖pip3 install numpy

➖pip3 install pandas

➖pip3 install scikit-learn

Press enter or click to view image in full size

Step 8: Copy the linear regression model files from the host to Container.

Press enter or click to view image in full size

Step 9: Create a Model file in the Container.

Step 10: Run python code and test.

Press enter or click to view image in full size

Thank you.

--

--

No responses yet