<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: AjayKanna K</title>
    <description>The latest articles on DEV Community by AjayKanna K (@ajaykanna_24mcr001).</description>
    <link>https://dev.to/ajaykanna_24mcr001</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3080267%2Fb33927f8-6abe-4647-9ca7-305fdc0051d8.jpg</url>
      <title>DEV Community: AjayKanna K</title>
      <link>https://dev.to/ajaykanna_24mcr001</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ajaykanna_24mcr001"/>
    <language>en</language>
    <item>
      <title>CREATE AN DOCKER IMAGE FOR ML PROJECT</title>
      <dc:creator>AjayKanna K</dc:creator>
      <pubDate>Fri, 25 Apr 2025 17:07:46 +0000</pubDate>
      <link>https://dev.to/ajaykanna_24mcr001/24mcr001-ml-day1-521d</link>
      <guid>https://dev.to/ajaykanna_24mcr001/24mcr001-ml-day1-521d</guid>
      <description>&lt;p&gt;Step1:&lt;/p&gt;

&lt;p&gt;Create an Folder Structure and download the DataSet from Iris dataset from Kaggle. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F82mtnxxtzegy0c3doqf8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F82mtnxxtzegy0c3doqf8.png" alt="Image description" width="377" height="327"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Step2:&lt;/p&gt;

&lt;p&gt;Create an Dockerfile for creating an docker image.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;We can get the dependencies "FROM PYTHON:3.9" , it is used to get the dependencies.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;We can run the required tools for running of the projects in this we have use pandas,matplotlib, scikit-learn for docker image to be run.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;"RUN PIP INSTALL PANDAS MATPLOTLIB SCIKIT-LEARN"&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;We have to use Command "COPY . .", we have used it for source and destination.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;We have used to start container by docker image command.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;"CMD[python,"python.py"]"&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdmmut4ubv5qml0kw7pi8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdmmut4ubv5qml0kw7pi8.png" alt="Image description" width="800" height="228"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Step 3:&lt;/p&gt;

&lt;p&gt;Create an docker image using &lt;br&gt;
"docker build -t username/filename:latest ."&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh7qq20qr85dd2m3gk03t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh7qq20qr85dd2m3gk03t.png" alt="Image description" width="800" height="282"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Step 4:&lt;/p&gt;

&lt;p&gt;Run the Docker image using&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi06ed67w5kv2utlbc5ph.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi06ed67w5kv2utlbc5ph.png" alt="Image description" width="776" height="487"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Step 5:&lt;/p&gt;

&lt;p&gt;Create an new branch in github repository and change that particular repository.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8codfra43h1gi2z69oab.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8codfra43h1gi2z69oab.png" alt="Image description" width="612" height="267"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Step 6:&lt;/p&gt;

&lt;p&gt;push the changes using add , commit , push to specific origin.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyglj1tcln7gp61hxfifp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyglj1tcln7gp61hxfifp.png" alt="Image description" width="724" height="243"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Basic GitHub commands and How to Use it</title>
      <dc:creator>AjayKanna K</dc:creator>
      <pubDate>Thu, 24 Apr 2025 03:50:13 +0000</pubDate>
      <link>https://dev.to/ajaykanna_24mcr001/24mcr001-ml-day1-1n60</link>
      <guid>https://dev.to/ajaykanna_24mcr001/24mcr001-ml-day1-1n60</guid>
      <description>&lt;p&gt;Step-by-Step Git Commands Execution:&lt;br&gt;
Initialize a Git repository:&lt;br&gt;
    git init&lt;br&gt;
Creates a new Git repository in the folder 24MCR001.&lt;/p&gt;

&lt;p&gt;Add a file to staging area:&lt;br&gt;
    git add 24MCR001.txt&lt;br&gt;
Adds 24MCR001.txt to the staging area.&lt;/p&gt;

&lt;p&gt;Commit the file:&lt;br&gt;
    git commit -m "Added Personal Details"&lt;br&gt;
Creates a commit with the message "Added Personal Details".&lt;/p&gt;

&lt;p&gt;Check Git status:&lt;br&gt;
     git status&lt;br&gt;
Shows that 24MCR001.txt has been modified but not staged.&lt;/p&gt;

&lt;p&gt;View commit log:&lt;br&gt;
     git log&lt;br&gt;
Displays the commit history (one commit at this point).&lt;/p&gt;

&lt;p&gt;Add remote GitHub repository:&lt;br&gt;
     git remote add origin &lt;a href="https://github.com/Ajay978680/24MCR001.git" rel="noopener noreferrer"&gt;https://github.com/Ajay978680/24MCR001.git&lt;/a&gt;&lt;br&gt;
Links the local repository to a remote GitHub repo.&lt;/p&gt;

&lt;p&gt;Check current branch:&lt;br&gt;
     git branch&lt;br&gt;
Shows the current branch is master.&lt;/p&gt;

&lt;p&gt;Rename branch from master to main:&lt;br&gt;
     git branch -M main&lt;br&gt;
Renames the current branch to main.&lt;/p&gt;

&lt;p&gt;Set Git global config for email and username:&lt;br&gt;
    git config --global user.email "&lt;a href="mailto:sparkajay001@gmail.com"&gt;sparkajay001@gmail.com&lt;/a&gt;"&lt;br&gt;
git config --global user.name "Ajay978680"&lt;br&gt;
Sets your global Git identity.&lt;/p&gt;

&lt;p&gt;Push code to remote repo for the first time:&lt;br&gt;
     git push -u origin main&lt;br&gt;
Pushes the main branch to GitHub and sets upstream tracking.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyfgxtcslzecdt98ssd4r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyfgxtcslzecdt98ssd4r.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs4uquw7pplar1e5t9dwg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs4uquw7pplar1e5t9dwg.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Then , Again We will Modify or add new file means we need to follow the same steps, like&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git add .
git commit -m “message”
git push origin main
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
    </item>
  </channel>
</rss>
