<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sandeep Kesarkar on Medium]]></title>
        <description><![CDATA[Stories by Sandeep Kesarkar on Medium]]></description>
        <link>https://medium.com/@sandeepkes09?source=rss-5f0902f0d8cf------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*OCCygzuOG4x_t5YoB64I-Q.png</url>
            <title>Stories by Sandeep Kesarkar on Medium</title>
            <link>https://medium.com/@sandeepkes09?source=rss-5f0902f0d8cf------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 07:23:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sandeepkes09/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How I installed poetry]]></title>
            <link>https://medium.com/@sandeepkes09/how-i-installed-poetry-f027a1f358d3?source=rss-5f0902f0d8cf------2</link>
            <guid isPermaLink="false">https://medium.com/p/f027a1f358d3</guid>
            <dc:creator><![CDATA[Sandeep Kesarkar]]></dc:creator>
            <pubDate>Sun, 02 Feb 2025 18:50:41 GMT</pubDate>
            <atom:updated>2025-02-02T18:50:41.719Z</atom:updated>
            <content:encoded><![CDATA[<p>These are the notes on how I installed poetry on my laptop</p><h4>First install pipx</h4><p>Run following simple commands. for more information please refer <a href="https://pipx.pypa.io/stable/installation/">https://pipx.pypa.io/stable/installation/</a></p><pre># Install on macOS<br>brew install pipx<br>pipx ensurepath<br><br># To allow pipx actions in global scope.<br>sudo pipx ensurepath --global</pre><p>Now you are ready to <a href="https://python-poetry.org/docs/#installation">install poetry</a></p><pre># Install poetry on macOS<br>pipx install poetry<br><br># Enable tab completion (optional)<br>poetry completions bash &gt;&gt; ~/.bash_completion</pre><p>Restart you terminial and check poetry version</p><pre>poetry --version</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f027a1f358d3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Machine learning courses/reading/videos list]]></title>
            <link>https://medium.com/@sandeepkes09/machine-learning-courses-reading-videos-list-06577335e5a1?source=rss-5f0902f0d8cf------2</link>
            <guid isPermaLink="false">https://medium.com/p/06577335e5a1</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[courses-and-training]]></category>
            <dc:creator><![CDATA[Sandeep Kesarkar]]></dc:creator>
            <pubDate>Wed, 12 Jun 2024 02:33:30 GMT</pubDate>
            <atom:updated>2024-06-12T02:33:30.654Z</atom:updated>
            <content:encoded><![CDATA[<p>Here is a list of resources that will help in learning ML; I am trying to compile this list as it may help others as well as me to have all the information in one place</p><p><a href="https://www.coursera.org/specializations/machine-learning-introduction">Machine Learning Specialization</a> by DeepLearning.AI and Stanford on coursera</p><p>This is a great course; however you will have to committed for this as it may take longer to complete the course</p><p>Also it might help to complete the math course before doing the course; now you are more time and effort however it’s worth</p><p><a href="https://www.coursera.org/specializations/mathematics-for-machine-learning-and-data-science">Mathematics for Machine Learning and Data Science Specialization</a></p><p>You may also want to lean about LLMs and prompt engineering first then go to above Ml courses as that will give you quick results. In that case take a look these courses</p><p><a href="https://www.deeplearning.ai/short-courses/chatgpt-prompt-engineering-for-developers/">ChatGPT Prompt Engineering for Developers</a> by DeepLearning.AI, this course is available on coursera as well</p><p>Also I would recommend <a href="https://www.coursera.org/learn/prompt-engineering/">Prompt Engineering for ChatGPT</a><br>by Vanderbilt University</p><p>After you do that try learning LLMs that could on your machine such as <a href="https://llama.meta.com/">Llama</a>. Llama for <a href="https://www.coursera.org/learn/llama-for-python-programmers">Python Programmers by University of Michigan</a> is a great course</p><p><a href="https://www.youtube.com/watch?v=wjZofJX0v4M">But what is a GPT? Visual intro to transformers | Chapter 5, Deep Learning</a> by 3Blue1Brown is a great video on youtube to know more about LLMs</p><p>I will keep updating this page with reading material that may help in future. Happy learning!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=06577335e5a1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Jupyter notebook using pipenv and vs code]]></title>
            <link>https://medium.com/@sandeepkes09/jupyter-notebook-using-pipenv-8bd5ea75d25e?source=rss-5f0902f0d8cf------2</link>
            <guid isPermaLink="false">https://medium.com/p/8bd5ea75d25e</guid>
            <category><![CDATA[jupyter-notebook]]></category>
            <dc:creator><![CDATA[Sandeep Kesarkar]]></dc:creator>
            <pubDate>Mon, 04 Dec 2023 01:25:13 GMT</pubDate>
            <atom:updated>2024-05-23T03:13:22.187Z</atom:updated>
            <content:encoded><![CDATA[<p>These are my notes about how to create a new Jupyter notebook project using pipenv</p><p>Assumption here is we have python and pyenv installed on our machines. Just for references I am linking to one of the my older posts about how to do that</p><p><a href="https://medium.com/@sandeepkes09/one-good-way-to-install-python-on-mac-8ce44d6166c0">One good way to install Python on mac</a></p><p>Install pipenv if not already</p><pre>pip install pipenv</pre><p>Create new project folder</p><pre>mkdir my-project-name</pre><p>CD into the folder</p><pre>cd my-project-name</pre><p>Launch pipenv shell, this will create the required virtual environment and your prompt will show the environment</p><pre>pipenv shell</pre><p>Install ipykernel</p><pre>pipenv install ipykernel</pre><p>Install Jupyter notebook</p><pre><br>pipenv install jupyter</pre><p>Create new Kernel</p><pre>python -m ipykernel install --user --name=my-project-name</pre><p>Create the Pipfile and Pipfile.lock so that you the dependencies listed, also use the command below to update the lock file so you could check in all dependencies for your project</p><pre>pipenv lock</pre><p>Run the jupyter notebook</p><pre>pipenv run jupyter notebook</pre><p>This should open a notebook like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3KwOb-EgFTWFzcMRqxmazA.png" /></figure><p>Create a new notebook using File → New → Notebook</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lnnrk4azur8XH_dOSC4DZg.png" /></figure><p>Install new packages right from Jupyter Notebook, type the package to be installed in a cell and run it</p><pre>!pipenv install numpy</pre><p>If you would like to use vs code follow these steps after “Create new Kernel” step</p><p>Launch vscode by typing</p><pre>code .</pre><p>In the command pallet type</p><pre>&gt;Create:New Jupyter Notebook</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/721/1*IkkQHLx9cJlbm8OgvEMUxw.png" /></figure><p>On the right hand side Select the Kernel you created earlier</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/422/1*Y4HQ6Xyt8qSVjNmqq1AUbQ.png" /></figure><p>Select Python Environments</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/657/1*GJuQX5CuZuJVneb3L_QRxw.png" /></figure><p>Select the kernel you created my-project-name</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/644/1*YOQ4mjlmdhYNpS4D2YdnKQ.png" /></figure><p>It should show something like this on right hand side</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/434/1*mz_epCQREFVfXpSCwBkjKg.png" /></figure><p>Now you are ready to use the Jupyter notebook! Happy coding!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8bd5ea75d25e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Basic Pandas with Jupyter notebook]]></title>
            <link>https://medium.com/@sandeepkes09/basic-pandas-with-jupyter-notebook-c0bb201d5737?source=rss-5f0902f0d8cf------2</link>
            <guid isPermaLink="false">https://medium.com/p/c0bb201d5737</guid>
            <category><![CDATA[pandas]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[jupyter-notebook]]></category>
            <dc:creator><![CDATA[Sandeep Kesarkar]]></dc:creator>
            <pubDate>Sat, 06 Jun 2020 02:30:58 GMT</pubDate>
            <atom:updated>2020-06-06T02:30:58.782Z</atom:updated>
            <content:encoded><![CDATA[<p>Here we will be loading csv file in Pandas dataframe</p><p>Install pandas to the virtual environment where you have your Jupyter notebook project setup.</p><blockquote>Please refer <a href="https://medium.com/@sandeepkes09/install-jupyter-notebook-using-virtual-environment-ff439f559d9c">Install Jupyter notebook using a virtual environment</a> if needed</blockquote><p>Browse to the project directory and install pandas using pip</p><pre>pip install pandas</pre><p>Open the notebook and import pandas</p><pre>import pandas as pd</pre><p>Load csv data file to Pandas. Here I am loading <a href="https://www.kaggle.com/ruchi798/tv-shows-on-netflix-prime-video-hulu-and-disney">tv_shows.csv</a> from <a href="https://www.kaggle.com/">kaggel.com</a></p><p>Import required modules</p><pre>import pandas as pd<br>from pathlib import Path</pre><p>Check and load csv file</p><pre>if Path(&#39;./data/input/datasets_674388_1186156_tv_shows.csv&#39;).exists():<br>    tv_shows_data_path = Path(&#39;./data/input/datasets_674388_1186156_tv_shows.csv&#39;)</pre><p>Read csv into pandas</p><pre>tv_shows = pd.read_csv(tv_shows_data_path, index_col=0)</pre><p>Print dataframe</p><pre>tv_shows</pre><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5ecd7e871588a5f2b1a87ce00c7b7e1f/href">https://medium.com/media/5ecd7e871588a5f2b1a87ce00c7b7e1f/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c0bb201d5737" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[One good way to install Python on mac]]></title>
            <link>https://medium.com/@sandeepkes09/one-good-way-to-install-python-on-mac-8ce44d6166c0?source=rss-5f0902f0d8cf------2</link>
            <guid isPermaLink="false">https://medium.com/p/8ce44d6166c0</guid>
            <category><![CDATA[basics]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[install]]></category>
            <dc:creator><![CDATA[Sandeep Kesarkar]]></dc:creator>
            <pubDate>Thu, 04 Jun 2020 22:01:00 GMT</pubDate>
            <atom:updated>2020-06-04T22:01:00.992Z</atom:updated>
            <content:encoded><![CDATA[<p>Let’s explore one of the better and cleaner ways to install Python on your mac</p><p>Install <a href="https://github.com/pyenv/pyenv">pyenv</a> following the instructions on its github page. Below are the instructions using brew and zsh</p><pre>brew update<br>brew install pyenv</pre><p>Modify .zshrc</p><pre>echo &#39;export PYENV_ROOT=&quot;$HOME/.pyenv&quot;&#39; &gt;&gt; ~/.zshrc<br>echo &#39;export PATH=&quot;$PYENV_ROOT/bin:$PATH&quot;&#39; &gt;&gt; ~/.zshrc</pre><p>Add pyenv init to the shell</p><pre>echo -e &#39;if command -v pyenv 1&gt;/dev/null 2&gt;&amp;1; then\n  eval &quot;$(pyenv init -)&quot;\nfi&#39; &gt;&gt; ~/.zshrc</pre><p>Restart terminal</p><p>Now if you should see the python from pyenv if you run which command</p><pre>which python<br>/Users/yourusername/.pyenv/shims/python</pre><p>Install needed python dependencies</p><pre>brew install openssl readline sqlite3 xz zlib</pre><p>Install python using pyenv, below command will install version 3.8.2</p><pre>pyenv install 3.8.2</pre><p>List python versions available to install using pyenv</p><pre>pyenv install -list</pre><p>Set global python version</p><pre>pyenv global 3.8.2</pre><p>Check python version</p><pre>pyenv version<br>3.8.2 (set by /Users/yourusername/.pyenv/version)</pre><pre>python -V<br>Python 3.8.2</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8ce44d6166c0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Install Jupyter notebook using virtual environment]]></title>
            <link>https://medium.com/@sandeepkes09/install-jupyter-notebook-using-virtual-environment-ff439f559d9c?source=rss-5f0902f0d8cf------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff439f559d9c</guid>
            <dc:creator><![CDATA[Sandeep Kesarkar]]></dc:creator>
            <pubDate>Wed, 03 Jun 2020 14:30:25 GMT</pubDate>
            <atom:updated>2023-09-09T17:39:42.824Z</atom:updated>
            <content:encoded><![CDATA[<h3>Install Jupyter notebook using a virtual environment</h3><p>I am using Python 3.x and would like to use Jupyter notebook using a virtual environment</p><h4><strong>Why am I doing this?</strong></h4><ul><li>I would like to keep my ScratchPad projects separate from all the work I do on my machine or honestly, I don’t want to mess up my machine!</li><li>It’s good to keep things separate</li></ul><p><strong>Check the version of python</strong></p><blockquote>Optionally you could install python from scratch using the article <a href="https://medium.com/@sandeepkes09/one-good-way-to-install-python-on-mac-8ce44d6166c0">One good way to install Python on mac</a></blockquote><pre>which python</pre><p>Should print something like</p><pre>Python 3.x.x</pre><p>Browse to the root directory you would create virtual environment and the project directory</p><ul><li>Here we will be creating a virtual environment with name python-scratchpad</li><li>Note that a directory named <strong>python-scratchpad</strong> will get created</li></ul><pre>python -m venv python-scratchpad .venv</pre><p>Browse into the python-scratchpad folder</p><pre>cd python-scratchpad</pre><p>Activate the version of python you would like to use</p><p>Now activate your virtual environment using the command</p><pre>source bin/activate</pre><p>Now check which python you are using by typing</p><pre>which python</pre><p>This will show you the path to python-scratchpad followed by /bin/python</p><pre>root_path/python-scratchpad/bin/python</pre><p>Once the environment is activated the prompt at the command should change to something like</p><pre>(python-scratchpad) youruser@machine_name ~/root_path/python-scratchpad</pre><p>Notice <strong><em>(python-scratchpad)</em></strong>, that’s your virtual environment</p><p>Check what is installed in your virtual environment</p><pre>pip list</pre><pre>Package    Version<br>---------- -------<br>pip        xx.x.x<br>setuptools xx.x.x</pre><p>Now let’s install pipenv for managing packages in our project</p><pre>pip install pipenv</pre><p>Now let’s install ipykernel using newly installed pipenv inside the virtual environment</p><pre>pipenv install ipykernel</pre><p>Check the new packages installed using</p><pre>pip list</pre><pre>Package          Version<br>---------------- -------<br>appnope          x.x.x<br>backcall         x.x.x<br>decorator        x.x.x<br>ipykernel        x.x.x<br>ipython          x.x.x<br>.....<br>wcwidth          x.x.x</pre><p>Install Jupyter notebook</p><pre>pipenv install notebook</pre><p>Now let’s install a new kernel using ipython and name it python-scratchpad</p><pre>ipython kernel install --user --name=python-scratchpad</pre><p>Create pipenv lockfile</p><pre>pipenv lock</pre><p>You should have a file Pipfile.lock in your directory</p><p>Launch Jupyter notebook</p><pre>jupyter notebook </pre><p>This will launch a new notebook instance in your default browser</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WybmgYC_Sg70-_n7RdXJfQ.png" /></figure><p>Click the <strong>new</strong> dropdown box and select <strong>python-scratchpad </strong>as kernel</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_u1JJ9--RF0egRGKUGqiiQ.png" /></figure><p>Start coding in Jupyter Notebook</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DTVjKr8CQYEsHuFu9QpnBA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff439f559d9c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Machine learning — let’s get started — ScratchPad — 001]]></title>
            <link>https://medium.com/@sandeepkes09/machine-learning-lets-get-started-scratchpad-001-2689c5446135?source=rss-5f0902f0d8cf------2</link>
            <guid isPermaLink="false">https://medium.com/p/2689c5446135</guid>
            <category><![CDATA[basics]]></category>
            <category><![CDATA[scratchpad]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Sandeep Kesarkar]]></dc:creator>
            <pubDate>Fri, 29 May 2020 18:31:36 GMT</pubDate>
            <atom:updated>2020-05-29T18:31:36.862Z</atom:updated>
            <cc:license>http://creativecommons.org/publicdomain/zero/1.0/</cc:license>
            <content:encoded><![CDATA[<h3>Machine learning — let’s get started — ScratchPad — 001</h3><p>Machine learning is something that I am very fascinated with and these posts are my journey to learn machine learning and also try writing a blog about it. I will be publishing these ScratchPads as I go along the journey to get better at machine learning</p><p>What are the main parts to learn machine learning?</p><p><strong>Python</strong> — At least right now I am planning to stick to Python as the primary choice of language for programming but someday I would also like to try it with Kotlin</p><p><a href="https://pandas.pydata.org/">Pandas</a> — Pandas is the best library that can help getting around data to be analyzed</p><p><a href="https://seaborn.pydata.org/">Seaborn</a> — Th is a great library that can be used to create visual representations of the data to be analyzed</p><p>For now I would stop here and will be creating more scratchpads along the way</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2689c5446135" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>