<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Python on Ye Joo Park's Blog</title><link>https://park.is/categories/python/</link><description>Recent content in Python on Ye Joo Park's Blog</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Mon, 08 Sep 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://park.is/categories/python/index.xml" rel="self" type="application/rss+xml"/><item><title>Using GPT to Generate Paper Feedback</title><link>https://park.is/notebooks/20250908_generate_paper_feedback_using_gpt/</link><pubDate>Mon, 08 Sep 2025 00:00:00 +0000</pubDate><guid>https://park.is/notebooks/20250908_generate_paper_feedback_using_gpt/</guid><description>&lt;div&#10; class="cell border-box-sizing text_cell rendered"&#10; id="cell-id=cec6d515-3cbc-4cf7-a028-dd970afe0740"&#10;&gt;&#10; &lt;div class="prompt input_prompt"&gt;&lt;/div&gt;&#10; &lt;div class="inner_cell"&gt;&#10; &lt;div class="text_cell_render border-box-sizing rendered_html"&gt;&#10; &lt;p&gt;&#10; In 2012, I graded hundreds of papers as a teaching assistant. This was a&#10; time-consuming and subjective process, and I often spent days grading&#10; just to meet deadlines.&#10; &lt;/p&gt;&#10; &lt;p&gt;&#10; Large language models (LLMs) like GPT-5 are transforming education,&#10; including the grading of written assignments. LLMs provide an efficient&#10; and scalable way to assess students' writing while also generating&#10; personalized feedback. However, my experience using LLMs for grading has&#10; been unreliable for the following reasons:&#10; &lt;/p&gt;</description></item><item><title>Analyzing College Town Landlords at UIUC, BYU, and PSU</title><link>https://park.is/notebooks/20250130_analysis_of_college_town_landlords/</link><pubDate>Thu, 30 Jan 2025 00:00:00 +0000</pubDate><guid>https://park.is/notebooks/20250130_analysis_of_college_town_landlords/</guid><description>&lt;div class="cell border-box-sizing text_cell rendered" id="cell-id=4161515d-2e69-4fe4-8d08-5be823210676"&gt;&lt;div class="prompt input_prompt"&gt;&#10;&lt;/div&gt;&lt;div class="inner_cell"&gt;&#10;&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;&#10;&lt;h2 id="%E2%9C%A8-Background"&gt;✨ Background&lt;a class="anchor-link" href="#%E2%9C%A8-Background"&gt;¶&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;I first moved into an apartment at UIUC during the summer of 2007. The apartment was Gregory Place under a management company called &lt;a href="https://jsmliving.com/"&gt;JSM&lt;/a&gt;. Here is a photo of the apartment from 2007. The construction site shows the second building being built.&lt;/p&gt;&#10;&lt;p&gt;&lt;img alt="Gregory Place 2007" src="https://github.com/user-attachments/assets/1ea504b8-5737-459d-96ac-1a8a49b49d5d"/&gt;&lt;/p&gt;&#10;&lt;p&gt;Back in 2007, JSM was regarded as one of the better management companies, along with Royse Brinkmeyer and Roland. Almost two decades later, JSM is still highly regraded. Prospective tenants lining up from the early morning in front of JSM's office to secure a lease was a sight to see in recent years.&lt;/p&gt;</description></item><item><title>Sentiment Analysis using spaCy and DistilBERT</title><link>https://park.is/notebooks/20250123_sentiment_analysis_with_spacy_and_distilbert/</link><pubDate>Thu, 23 Jan 2025 00:00:00 +0000</pubDate><guid>https://park.is/notebooks/20250123_sentiment_analysis_with_spacy_and_distilbert/</guid><description>&lt;div&#10; class="cell border-box-sizing text_cell rendered"&#10; id="cell-id=0d6e4426-8fbd-4434-a2cf-32e7f6116cc3"&#10;&gt;&#10; &lt;div class="prompt input_prompt"&gt;&lt;/div&gt;&#10; &lt;div class="inner_cell"&gt;&#10; &lt;div class="text_cell_render border-box-sizing rendered_html"&gt;&#10; &lt;p&gt;&#10; Natural language processing (NLP) aims to give computers the ability to&#10; understand, process, and even generate human language. This notebook&#10; introduces the common preprocessing steps and demonstrates how to use a&#10; widely used transformer model&#10; (&lt;code&gt;distilbert-base-uncased-finetuned-sst-2-english&lt;/code&gt;) to&#10; perfrom a sentiment analysis. 😀😦🙁&#10; &lt;/p&gt;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;div&#10; class="cell border-box-sizing code_cell rendered"&#10; id="cell-id=a31b7a34-007c-4e89-8916-a07406598896"&#10;&gt;&#10; &lt;div class="input"&gt;&#10; &lt;div class="prompt input_prompt"&gt;In [1]:&lt;/div&gt;&#10; &lt;div class="inner_cell"&gt;&#10; &lt;div class="input_area"&gt;&#10; &lt;div class="highlight hl-ipython3"&gt;&#10; &lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;pandas&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nn"&gt;pd&lt;/span&gt;&#10;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;numpy&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nn"&gt;np&lt;/span&gt;&#10;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;plotly.express&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nn"&gt;px&lt;/span&gt;&#10;&lt;/pre&gt;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;div&#10; class="cell border-box-sizing code_cell rendered"&#10; id="cell-id=8d48c8d9-b347-4596-afe2-acbe54df942c"&#10;&gt;&#10; &lt;div class="input"&gt;&#10; &lt;div class="prompt input_prompt"&gt;In [2]:&lt;/div&gt;&#10; &lt;div class="inner_cell"&gt;&#10; &lt;div class="input_area"&gt;&#10; &lt;div class="highlight hl-ipython3"&gt;&#10; &lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;pd&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;set_option&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'display.max_columns'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&#10;&lt;/pre&gt;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;div&#10; class="cell border-box-sizing text_cell rendered"&#10; id="cell-id=fa8fe7ba-291c-4abc-b95a-f80f4d6bba1f"&#10;&gt;&#10; &lt;div class="prompt input_prompt"&gt;&lt;/div&gt;&#10; &lt;div class="inner_cell"&gt;&#10; &lt;div class="text_cell_render border-box-sizing rendered_html"&gt;&#10; &lt;h2 id="%F0%9F%97%83%EF%B8%8F-Load-data"&gt;&#10; 🗃️ Load data&lt;a&#10; class="anchor-link"&#10; href="#%F0%9F%97%83%EF%B8%8F-Load-data"&#10; &gt;¶&lt;/a&#10; &gt;&#10; &lt;/h2&gt;&#10; &lt;p&gt;&#10; This exercise uses a small dataset that contains reviews of two&#10; apartments at Indiana University Bloomington.&#10; &lt;/p&gt;</description></item><item><title>Run MOSS Plagiarism Checker on Jupyter Notebooks</title><link>https://park.is/blog_posts/20230420_running_moss_plagiarism_checker/</link><pubDate>Thu, 20 Apr 2023 00:00:00 +0000</pubDate><guid>https://park.is/blog_posts/20230420_running_moss_plagiarism_checker/</guid><description>&lt;h2 id="moss"&gt;MOSS&lt;/h2&gt;&#10;&lt;p&gt;&lt;a href="https://theory.stanford.edu/~aiken/moss/"&gt;MOSS&lt;/a&gt; (Measure of Software Similarity) is a system to to determine the similarity of programs. It&amp;rsquo;s most commonly used to detect plagiarism in programming classes. It was developed in 1994 by David A. Aiken, Robert Sedgewick, and Andrew W. Appel at Stanford University.&lt;/p&gt;&#10;&lt;h3 id="moss-for-plagiarism-detection"&gt;MOSS for Plagiarism Detection&lt;/h3&gt;&#10;&lt;p&gt;&lt;a href="https://theory.stanford.edu/~aiken/moss/"&gt;MOSS&lt;/a&gt; (Measure of Software Similarity) is a great tool for catching plagiarism because it can identify even small similarities that may not be obvious to the human eye. MOSS works by comparing the source code of two or more files. It does this by breaking the code down into tokens, which are the smallest meaningful units of code. A token could be a variable name, a function name, or a keyword. MOSS then compares the tokens in each file to see how many of them are the same.&lt;/p&gt;</description></item><item><title>Detecting Local Image Features with SIFT</title><link>https://park.is/blog_posts/20180406_sift/</link><pubDate>Fri, 06 Apr 2018 00:00:00 +0000</pubDate><guid>https://park.is/blog_posts/20180406_sift/</guid><description>&lt;p&gt;SIFT (Scale-Invariant Feature Transform) is a computer vision algorithm for detecting and describing local features in images. Developed by David Lowe in 1999, SIFT has become a fundamental tool for various applications due to its robustness and versatility.&lt;/p&gt;&#10;&lt;h2 id="use-cases-of-sift"&gt;Use Cases of SIFT&lt;/h2&gt;&#10;&lt;h3 id="-object-recognition"&gt;👀 Object Recognition&lt;/h3&gt;&#10;&lt;p&gt;SIFT is widely used for detecting and identifying specific objects within complex scenes. Its ability to extract distinctive features that are invariant to scale, rotation, and illumination changes makes it effective for recognizing objects across different viewpoints and conditions.&lt;/p&gt;</description></item></channel></rss>