<?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 Hira Arif  on Medium]]></title>
        <description><![CDATA[Stories by Hira Arif  on Medium]]></description>
        <link>https://medium.com/@h.arif.kts4?source=rss-048213874ab2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*ZhE5GuQbSk1rF1I_</url>
            <title>Stories by Hira Arif  on Medium</title>
            <link>https://medium.com/@h.arif.kts4?source=rss-048213874ab2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 04:51:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@h.arif.kts4/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[Deep Learning–Based Fake Job Post Detection on Social Media]]></title>
            <link>https://medium.com/@h.arif.kts4/deep-learning-based-fake-job-post-detection-on-social-media-c04410608b38?source=rss-048213874ab2------2</link>
            <guid isPermaLink="false">https://medium.com/p/c04410608b38</guid>
            <dc:creator><![CDATA[Hira Arif ]]></dc:creator>
            <pubDate>Sat, 15 Nov 2025 09:57:58 GMT</pubDate>
            <atom:updated>2025-11-15T09:57:58.338Z</atom:updated>
            <content:encoded><![CDATA[<p>With the rise of online job platforms and social media recruitment, job seekers increasingly encounter fraudulent job postings. These fake listings often aim to collect personal information or scam applicants financially. My project focuses on developing an AI-powered system that can automatically detect such fake job postings, helping users save time and avoid potential scams.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*PhfltT6fzIdWiDqd" /></figure><h3>Introduction: Problem and Motivation</h3><p>Fake job posts are more than just an annoyance — they can lead to serious financial losses, wasted time, and even identity theft. With millions of listings published online, manually reviewing each post is impossible.</p><p>The motivation behind this project is to create a <strong>deep learning-based solution</strong> capable of distinguishing real job postings from fraudulent ones using both textual and metadata features. By automating detection, we aim to improve trust and safety on online recruitment platforms.</p><h3>Dataset</h3><p>For this project, I used the <strong>Fake Job Postings Dataset</strong> available on Kaggle and GitHub. The dataset contains approximately <strong>17,880 job postings</strong>, labeled as real (0) or fake (1). Key columns include:</p><ul><li>title – Job title</li><li>location – Job location</li><li>description – Detailed job description</li><li>requirements – Job requirements</li><li>benefits – Job benefits</li><li>Boolean indicators: telecommuting, has_company_logo, has_questions</li><li>fraudulent – Target label (1 = fake, 0 = real)</li></ul><p>The dataset is rich in textual content, making it ideal for <strong>Natural Language Processing (NLP) techniques</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9henwaCX65H6dCmzekMSVA.png" /></figure><h3>Data Exploration and Preprocessing</h3><p>Exploring the dataset revealed several challenges:</p><ol><li><strong>Missing Values:</strong> Columns like salary_range, department, and benefits had missing entries, which were either removed or filled with empty strings.</li><li><strong>Class Imbalance:</strong> Only about 5–10% of postings were fake, requiring careful handling using class weighting or evaluation metrics like F1-score.</li><li><strong>Textual Data:</strong> Columns such as description, requirements, and company_profile were consolidated into a single text column for NLP processing.</li></ol><p>Text cleaning involved removing URLs, HTML tags, punctuation, numbers, and converting everything to lowercase. This resulted in a consistent clean_text column ready for feature extraction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jER_qk99CFEQ_LtlUJg3ow.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/973/1*cvmY2v8sUzw6FBRe5g5FVw.png" /></figure><h3>Model Development</h3><h3>Model 1: TF-IDF + Logistic Regression</h3><p>I first implemented a <strong>traditional machine learning model</strong> using TF-IDF vectorization of the text data. Logistic Regression was chosen for its simplicity and interpretability.</p><p><strong>Performance:</strong></p><ul><li>Accuracy: 97.26%</li><li>High precision, recall, and F1-score</li></ul><p>This lightweight model is ideal for quick inference and CPU-based deployment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/578/1*Cunq2858pvsXbpCqNPh2wQ.png" /></figure><h3>Model 2: Bidirectional LSTM (Bi-LSTM)</h3><p>Next, a <strong>deep learning approach</strong> was used with a Bi-LSTM network, which captures the sequential and contextual nature of text.</p><p><strong>Architecture:</strong></p><ul><li>Embedding Layer: 10,000 words, 128 dimensions</li><li>Bi-LSTM Layer: 64 units with dropout</li><li>Dense Layers: ReLU + Sigmoid for binary classification</li></ul><p><strong>Performance:</strong></p><ul><li>Accuracy: 97.37%</li><li>Stable validation loss, minimal overfitting</li></ul><p>Both models performed similarly, demonstrating that fake job postings exhibit detectable textual patterns.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/209/1*au15gZH5neG5rI3fcZz5QA.png" /></figure><h3>Deployment: Streamlit Web Application</h3><p>To make the model accessible to users, I developed a <strong>Streamlit web app</strong>. The workflow is:</p><ol><li><strong>User Input:</strong> Users paste a job posting into a text area.</li><li><strong>Preprocessing:</strong> The text is cleaned and tokenized, consistent with training.</li><li><strong>Prediction:</strong> Both models provide predictions — TF-IDF for fast inference, Bi-LSTM for deeper semantic understanding.</li><li><strong>Output Display:</strong> Results are color-coded with probability scores for intuitive interpretation.</li></ol><p>The app runs locally or can be deployed on <strong>Streamlit Cloud</strong>, allowing anyone to check the authenticity of a job post instantly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ay88b9CtC91Q_eO5vXF0Mg.png" /></figure><h3>Key Learnings</h3><ol><li><strong>Data Quality Matters:</strong> Handling missing values and cleaning textual data were crucial for model performance.</li><li><strong>Traditional vs Deep Learning:</strong> Both approaches were effective, but Bi-LSTM can capture subtle semantic cues.</li><li><strong>Deployment Considerations:</strong> Lightweight ML models are easier for local deployment, while deep learning models may need cloud resources.</li><li><strong>Practical Impact:</strong> The project demonstrates how AI can be applied to real-world problems, helping users avoid scams.</li></ol><h3>Conclusion</h3><p>This project successfully created a <strong>deep learning–based fake job post detection system</strong>. By combining NLP techniques with traditional and deep learning models, we achieved over <strong>97% accuracy</strong> in detecting fraudulent postings. The deployed Streamlit app provides an intuitive interface for users, translating AI research into a practical, user-friendly solution.</p><p><strong>Impact:</strong></p><ul><li>Helps job seekers avoid scams</li><li>Assists recruitment platforms in flagging suspicious listings</li><li>Provides researchers with insights into patterns of fraudulent postings</li></ul><p>With the growing reliance on online recruitment, AI-driven detection systems like this can play a vital role in maintaining trust and safety in digital job marketplaces.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c04410608b38" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My ML Marathon: Crushing Regression, Classification & Teamwork]]></title>
            <link>https://medium.com/@h.arif.kts4/my-ml-marathon-crushing-regression-classification-teamwork-27959ae7eebd?source=rss-048213874ab2------2</link>
            <guid isPermaLink="false">https://medium.com/p/27959ae7eebd</guid>
            <dc:creator><![CDATA[Hira Arif ]]></dc:creator>
            <pubDate>Sat, 13 Sep 2025 09:16:40 GMT</pubDate>
            <atom:updated>2025-09-13T09:16:40.626Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vzMzsNSkRQ7nzduJ.png" /></figure><p>What a week! It was an absolute sprint through the core of machine learning, packed with hands-on learning and collaborative project work. I tackled fundamental algorithms, dove deep into evaluation, and made solid progress on our team’s project.</p><p>Here’s the quick recap:</p><h3>Regression Refresher &amp; Deep Dive</h3><p>I kicked off by revisiting <strong>Linear Regression</strong>. This involved loading data, implementing the model, making predictions, and critically evaluating performance with MSE and R-squared. Crucially, I focused on interpreting coefficients to understand feature impact — a key skill for actionable insights. It was a great way to solidify foundational concepts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7yTF9_Dwn6gmq0_rP3APsw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/990/1*EK2QXt44Ko2wdixhUmdsRQ.png" /></figure><h3>Classification Crash Course</h3><p>Next, I plunged into classification. Task 11 focused on practical implementation and evaluation of <strong>Logistic Regression</strong> and <strong>Decision Trees</strong>, covering essential preprocessing, training, and basic evaluation.</p><p>Task 12 was a whirlwind tour through a diverse range of classifiers across different datasets, including:</p><ul><li><strong>Logistic Regression</strong> (Employee Attrition, Hospital Readmission)</li><li><strong>KNN</strong> (Heart Disease, Breast Cancer)</li><li><strong>Decision Trees</strong> (Credit Card Fraud, Wine Quality)</li><li><strong>Naive Bayes</strong> (SMS Spam)</li><li><strong>Random Forest</strong> (Diabetes)</li><li><strong>SVM</strong> (Iris Flowers)</li></ul><p>The goal was to quickly understand the implementation and working principles of each, applying relevant preprocessing and evaluation metrics tailored to each problem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B7PxrL8aQKjrV1nOppKC2g.png" /></figure><h3>Mastering Model Evaluation on the Titanic</h3><p>This was a major highlight: a deep dive into robust model evaluation using the classic Titanic dataset. I explored:</p><ul><li><strong>Cross-Validation:</strong> Understanding its reliability over single splits for Logistic Regression and Random Forest.</li><li><strong>Overfitting/Underfitting:</strong> Visualizing this with Decision Trees and Gradient Boosting, seeing how parameters affect generalization.</li><li><strong>Advanced Metrics:</strong> Calculating Precision, Recall, F1-Score, and ROC-AUC for Logistic Regression, Decision Trees, Random Forests, and Gradient Boosting to get a comprehensive view beyond simple accuracy, especially for imbalanced classes.</li><li><strong>Model Comparison:</strong> A final showdown between SVM, Random Forest, and Gradient Boosting using cross-validation across all these metrics to identify the best-performing model.</li></ul><p>This task truly honed my ability to critically assess model performance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mvolDJBIoC-unyGBev6YzA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/956/1*8p7bf93IUNPT_-XVaLncYQ.png" /></figure><h3>Team Project Progress: Laying the Foundation</h3><p>Outside of assignments, my 2-week peer project with two teammates is off to a great start! This week, we successfully completed the vital steps of <strong>data cleaning, feature engineering, and data preprocessing</strong>. We’ve built a strong foundation, and I’m excited for what we’ll achieve next week.</p><p>That’s a wrap on a packed week of machine learning! Every task brought new insights and strengthened my practical skills. Looking forward to more next week!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*H_bxYT_cb0SuD6Rw.jpg" /></figure><p>#DataScienceFellowship #BuildablesFellowship #Regression #Classification #TeamWork</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=27959ae7eebd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Used Monday.com to Turn Feedback into Actionable Insights]]></title>
            <link>https://medium.com/@h.arif.kts4/how-i-used-monday-com-to-turn-feedback-into-actionable-insights-afc4ef5345b3?source=rss-048213874ab2------2</link>
            <guid isPermaLink="false">https://medium.com/p/afc4ef5345b3</guid>
            <dc:creator><![CDATA[Hira Arif ]]></dc:creator>
            <pubDate>Wed, 03 Sep 2025 15:01:24 GMT</pubDate>
            <atom:updated>2025-09-03T15:01:24.381Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*aohhQZamgt-kGDnE.png" /></figure><p>In my first mini-project as a data science fellow, I was tasked with a core challenge: to take raw feedback data and transform it into a professional, actionable report. This wasn’t just about crunching numbers; it was about understanding the human story behind the data.</p><p>My journey for this project began with a simple Excel sheet of feedback from my peers. My goal was clear: to clean this data, build a dynamic dashboard on Monday.com, and extract meaningful insights that could improve the fellowship experience for everyone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6w6AnkM8W7q-DfYvl37kDA.png" /></figure><h3>Building the Dashboard</h3><p>My first step was to prepare the data. I meticulously cleaned the Excel sheet, ensuring all entries were consistent and correctly formatted. Once the data was ready, I imported it into Monday.com. This platform proved to be a powerful tool, allowing me to visualize the feedback in a clear, interactive way.</p><p>I created a series of charts and widgets that brought the data to life:</p><ul><li><strong>Demographic Insights:</strong> I used pie charts to show the distribution of fellows by country and gender.</li><li><strong>Performance Metrics:</strong> Number widgets displayed key averages, such as an overall experience rating of 4.5 and a facilitator clarity rating of 4.417.</li><li><strong>Core Feedback:</strong> I used bar charts and stacked charts to analyze the relationship between key variables, such as how peer engagement affected confidence levels.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iKMXsnnohLcJgKz4pz9jfw.png" /></figure><h3>The Insights: What the Data Revealed</h3><p>The dashboard wasn’t just a collection of charts; it was a tool for discovery. By combining different data points, I uncovered three key insights:</p><ol><li><strong>High Satisfaction is Linked to the Facilitator:</strong> The data showed a clear correlation between the high average ratings for the facilitator’s clarity and the overall positive experience. This highlighted that a clear and engaging lead is a cornerstone of the program’s early success.</li><li><strong>The Task Model is a Point of Contention:</strong> A surprising pattern emerged when I analyzed opinions on task frequency. Despite the program’s high ratings, a clear majority of fellows preferred a weekly task model over the daily one. This indicated a potential source of pressure that could be improved upon.</li><li><strong>Peer Engagement is a Driving Force:</strong> My analysis found that fellows who actively shared their learnings with peers also reported higher confidence. This showed that the community is not just a side benefit — it’s a powerful tool for learning.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bw_FEckA1N-2o-IVLGZE8A.png" /></figure><h3>Looking Forward</h3><p>This mini-project was a masterclass in professional data analysis. I learned to not only clean and visualize data but, more importantly, to tell a story with it. The process of turning raw feedback into clear insights and actionable recommendations is a fundamental skill for any data scientist.</p><p>I am excited to apply these learnings in future projects, continuing to turn data into meaningful action.</p><p>I have attached here the GitHub repo link of my mini project:</p><p><a href="https://github.com/HiraArif666/BuildablesDSFellowship_MiniProject_01/tree/main">https://github.com/HiraArif666/BuildablesDSFellowship_MiniProject_01/tree/main</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=afc4ef5345b3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Science Buildables Fellowship-Week 2]]></title>
            <link>https://medium.com/@h.arif.kts4/data-science-buildables-fellowship-week-2-a2eacfef96e0?source=rss-048213874ab2------2</link>
            <guid isPermaLink="false">https://medium.com/p/a2eacfef96e0</guid>
            <dc:creator><![CDATA[Hira Arif ]]></dc:creator>
            <pubDate>Sun, 31 Aug 2025 10:54:16 GMT</pubDate>
            <atom:updated>2025-08-31T10:54:16.160Z</atom:updated>
            <content:encoded><![CDATA[<p>This week’s data science journey has been a whirlwind of learning and challenges. As part of the <strong>#BuildablesDataScienceFellowship1</strong>, I’ve been diving deep into the core tools of a data scientist: NumPy, Pandas, Matplotlib, and Seaborn. Here’s a look back at my week.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*d1EvdyfmD_YPS9Oo.jpg" /></figure><h3>Deep Dive: Statistical Analysis with the Iris Dataset</h3><p>The week started with a deep dive into statistical analysis using the famous <strong>Iris dataset</strong>. This part of the fellowship truly connected the theoretical concepts with practical application.</p><ul><li><strong>Descriptive Statistics:</strong> I used NumPy and Pandas to calculate <strong>central tendencies</strong> and <strong>dispersion measures</strong>. For the sepal lengths, I found the mean, median, and mode. For petal widths, I calculated the variance and standard deviation, which measure how spread out the data is. A low standard deviation indicates that the data points tend to be close to the mean, while a high one indicates they are spread out.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tq6AEVBGREZ-FEJrxXILXA.png" /></figure><ul><li><strong>Probability &amp; Distributions:</strong> Understanding probability distributions was key. I defined a random variable for sepal length and plotted its <strong>probability distribution</strong> using a histogram. I also calculated and plotted the <strong>Cumulative Distribution Function (CDF)</strong> and <strong>Probability Density Function (PDF)</strong>. The CDF plot shows the cumulative probability of a value being less than or equal to a certain point, while the PDF shows the relative likelihood of a value occurring.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/941/1*_4iOOO3WmQcZ2ad5Xx7KHQ.png" /></figure><ul><li><strong>Inferential Statistics:</strong> This was the most challenging but rewarding part. I performed a <strong>t-test</strong> to determine if there was a significant difference in mean petal length between Setosa and Versicolor species. The low p-value from the t-test indicated that the difference in means was statistically significant, meaning it was very unlikely to have occurred by random chance. This is a fundamental concept for making data-driven decisions. Lastly, I calculated the <strong>covariance and correlation</strong> between sepal length and sepal width. The <strong>correlation coefficient</strong> (r) provided a standardized measure of this relationship.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9xJyCWplolGn84kJ.jpeg" /></figure><h3>The Toolkit: NumPy &amp; Pandas</h3><p>Then I get my hands dirty with <strong>NumPy</strong> and <strong>Pandas</strong>. These libraries are the bedrock of data manipulation in Python.</p><ul><li><strong>NumPy</strong> made array creation and basic operations feel intuitive. I practiced creating 1D and 2D arrays, and performed element-wise operations like addition and multiplication. The real power, however, came from its statistical functions. I used mean(), median(), and std() to quickly get a sense of a dataset&#39;s central tendencies and spread. This felt like using a high-powered calculator for an entire array at once!</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_w125E5VuRfuAezp" /></figure><ul><li>Next, I transitioned to <strong>Pandas</strong>, which felt like an upgrade. Creating Series and DataFrames from dictionaries and lists was straightforward. I also learned to import data from a CSV file, which is a fundamental skill for any data project. The data cleaning tasks using fillna() and dropna() were a crucial learning point, as real-world data is rarely pristine. Mastering .loc[] and .iloc[] for indexing and selection was a bit tricky at first, but it&#39;s essential for grabbing specific parts of a DataFrame. My favorite exercises were using groupby() to perform aggregations like finding the average sales per category and using merge() and concat() to combine different datasets. The describe() function provided a perfect one-shot summary of the numerical data, giving me a quick overview of a dataset&#39;s characteristics.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q-5vBDDW9_VRpctXqDTQ7A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/785/1*oAxuwmQIAy41_pdC1EVaPg.png" /></figure><h3><strong>Data Preprocessing &amp; Feature Engineering</strong></h3><h3>Handling Imperfect Data</h3><ul><li><strong>Missing Data (Titanic Dataset):</strong> Using the Titanic dataset, I had to decide how to handle missing values. For numerical features like Age, I chose mean and median imputation. However, for a feature like Cabin, which had a huge number of missing values and little predictive power, I opted to drop the entire column.</li><li><strong>Categorical Variables (Car Evaluation Dataset):</strong> I worked with the Car Evaluation dataset, which is full of categorical data. I learned the difference between <strong>Label Encoding</strong> and <strong>One-Hot Encoding</strong>. Label encoding is simpler but can introduce a false sense of order, while one-hot encoding is safer for nominal data but can lead to a large number of new features.</li><li><strong>Feature Scaling (Wine Quality Dataset):</strong> With the Wine Quality dataset, I applied <strong>normalization</strong> and <strong>standardization</strong>. This was an important lesson in preparing data for algorithms that are sensitive to feature scales, such as support vector machines and k-nearest neighbors.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tQG3v8Orm_Xl7w8I.png" /></figure><h3>The Art of Creating New Features</h3><p>The most creative part of the week was feature engineering. It felt like I was getting to know the data on a much deeper level.</p><ul><li><strong>Feature Engineering (Heart Disease Dataset):</strong> With the Heart Disease dataset, I created new features that were more meaningful to a model. For example, instead of just using raw age, I created <strong>age groups</strong> like &#39;Young&#39;, &#39;Middle-Aged&#39;, and &#39;Senior&#39;. I also created risk factor categories from other health metrics. This is a powerful technique to improve model performance.</li><li><strong>Variable Transformation (Bike Sharing Dataset):</strong> I discovered that some variables, like the count of bike rentals, were heavily skewed. I applied a <strong>log transformation</strong> to normalize the distribution. This helps models that assume a Gaussian distribution in their underlying data.</li><li><strong>Feature Selection (Diabetes Dataset):</strong> Using the Pima Indians Diabetes dataset, I performed <strong>feature selection</strong> to identify the most important variables. I used correlation analysis to see which features were most related to the target variable (Outcome), and techniques like Recursive Feature Elimination (RFE) to systematically remove the least important ones. This not only improves model accuracy but also makes the model more interpretable.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zr4onvEXJtN15ewX.png" /></figure><h3>The Big Picture: Real-World Scenarios</h3><p>The later tasks of the week exposed me to more complex, real-world data challenges, broadening my perspective beyond standard tabular data.</p><ul><li><strong>Handling Imbalanced Data (Credit Card Fraud Detection):</strong> The credit card fraud dataset was a perfect example of a class imbalance problem, with very few fraud cases compared to non-fraud cases. I learned about techniques like <strong>SMOTE</strong> (Synthetic Minority Over-sampling Technique) to create synthetic data points for the minority class, effectively balancing the dataset for training.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*Kqiv2nPJbk2k4M8u" /></figure><ul><li><strong>Dimensionality Reduction (MNIST Dataset):</strong> The high-dimensional MNIST dataset, containing images of handwritten digits, was the perfect playground for <strong>Dimensionality Reduction</strong> techniques. I used <strong>PCA</strong> (Principal Component Analysis) to reduce the feature space while retaining as much variance as possible. This is crucial for handling large datasets efficiently and can also improve model performance.</li><li><strong>Text Preprocessing (IMDB Movie Reviews Dataset):</strong> I got my first taste of working with unstructured data. I learned the essential steps for cleaning and preparing text, including:</li><li><strong>Lowercasing</strong> all text to ensure consistency.</li><li><strong>Tokenization</strong>, which splits sentences into individual words.</li><li><strong>Stopword removal</strong>, to get rid of common, meaningless words like ‘the’ and ‘a’.</li><li><strong>Stemming/Lemmatization</strong>, which reduces words to their root form.</li><li><strong>Time-Series Preprocessing (Air Quality Dataset):</strong> With the Air Quality dataset, I was introduced to a new set of challenges unique to time-series data. I practiced handling missing timestamps, resampling the data to a different frequency (e.g., from hourly to daily), and using smoothing techniques to reduce noise and reveal underlying trends.</li><li><strong>Combining Multiple Datasets (MovieLens Dataset):</strong> The MovieLens dataset, with its separate files for ratings, user info, and movie metadata, taught me the importance of merging and preprocessing multiple data sources. This is a common task in real-world scenarios and requires careful attention to detail.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/741/0*JDzuK0uG6lI_Fyf0.jpg" /></figure><h3>Key Takeaways</h3><p>This week has been a game-changer. I now understand that a machine learning model is only as good as the data it’s trained on. The hours spent on preprocessing and feature engineering are not just tedious tasks; they are the foundation upon which all successful models are built.</p><p>The fellowship’s structured approach, with a new task for each challenge, has been invaluable. It has given me a chance to apply each concept directly and see its effect, reinforcing the learning in a way that passive reading never could.</p><p>I’m feeling much more confident about my ability to take a raw dataset and prepare it for analysis. This is the core skill of a data scientist, and I’m excited to continue building on this foundation.</p><p>Here is the GitHub repo link for my this week tasks<br><a href="https://github.com/HiraArif666/BuildablesDataScienceFellowship/tree/main">https://github.com/HiraArif666/BuildablesDataScienceFellowship/tree/main</a></p><p><strong>#BuildablesDataScienceFellowship1</strong> #DataScience #Python #DataPreprocessing #FeatureEngineering #MachineLearning #Pandas</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a2eacfef96e0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My First Week as a Data Science Fellow: From Foundations to Algorithms]]></title>
            <link>https://medium.com/@h.arif.kts4/my-first-week-as-a-data-science-fellow-from-foundations-to-algorithms-6b24ca79e683?source=rss-048213874ab2------2</link>
            <guid isPermaLink="false">https://medium.com/p/6b24ca79e683</guid>
            <dc:creator><![CDATA[Hira Arif ]]></dc:creator>
            <pubDate>Sun, 24 Aug 2025 17:56:14 GMT</pubDate>
            <atom:updated>2025-08-24T18:01:27.783Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VZhN1dVC4LR24gxVAgkPcw.jpeg" /></figure><p>This past week, I embarked on an exciting journey as part of the <strong>Buildables Data Science Fellowship</strong>. The first few days have been an intense but incredibly rewarding dive back into the fundamentals of Python and data science. Here’s a look at what I’ve been working on, the challenges I faced, and my key takeaways.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gPhMvCQW5d6GRWOPJaScqw.jpeg" /></figure><h3>Day 1: Rebuilding the Foundations 🧱</h3><p>The first set of tasks was all about warming up with core Python concepts. It was a great way to shake off the dust and ensure my basic coding skills were solid. I tackled exercises covering fundamental operations like:</p><ul><li><strong>User Input &amp; Arithmetic:</strong> Writing simple programs to sum two numbers, calculate the area of a circle, and build a basic calculator.</li><li><strong>Conditional Logic:</strong> Creating an even/odd checker and a program to find the largest of three numbers.</li><li><strong>String Manipulation:</strong> Reversing a string and counting the number of vowels.</li><li><strong>Loops &amp; Sequences:</strong> Generating the Fibonacci sequence.</li></ul><p>This felt like a refresher course, reminding me that even the most complex data science projects are built on these simple building blocks. The most challenging part was ensuring my code was clean and efficient, not just functional.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hUoQtwIjfT3y92K4--3VPw.webp" /></figure><h3>Day 2: Stepping into Intermediate Python 🚀</h3><p>The second day elevated the difficulty. The tasks focused on applying logical thinking and using more advanced Python features like list comprehensions, classes, and regular expressions.</p><ul><li><strong>FizzBuzz &amp; Palindromes:</strong> This was a fun and classic problem. It’s a great test of basic conditional logic and loops. I also checked for palindromes in both single words and full sentences, which introduced the need to handle punctuation and spaces.</li><li><strong>Data Structures &amp; Algorithms (Intro):</strong> I worked on finding the Nth Fibonacci number and checking for prime numbers. These are early looks at algorithmic thinking.</li><li><strong>Practical Applications:</strong> I built a temperature converter and a number guessing game. This showed me how to use Python for more interactive and real-world applications.</li><li><strong>List Comprehensions:</strong> This was a huge learning moment. Instead of writing a multi-line loop, I created a list of squares of the first 10 integers in a single, elegant line of code. This emphasizes the importance of writing concise and “Pythonic” code.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*YBr0bouWWzHAUXzhu1tAqg.jpeg" /></figure><h3>Day 3: Diving Deep into Data Structures and Algorithms 🧠</h3><p>The final set of tasks for the week was a significant leap in complexity. This is where the fellowship truly began to challenge my problem-solving skills and push me to think like a computer scientist.</p><p>I worked on foundational algorithms and data structures that are critical for an efficient data science workflow:</p><ul><li><strong>Recursion:</strong> Calculating a factorial recursively was a great exercise in understanding how functions call themselves.</li><li><strong>Linked Lists:</strong> I implemented a linked list to check for palindromes and reverse it. This was a completely new concept for me, and visualizing how the nodes connect was a challenge I had to work through carefully.</li><li><strong>Binary Search Trees:</strong> I implemented a BST, which is a powerful data structure for searching and sorting.</li><li><strong>Dynamic Programming &amp; String Algorithms:</strong> Finding the longest palindromic substring and calculating the minimum edit distance were the toughest problems of the week. They required breaking down a large problem into smaller sub-problems, a core concept in dynamic programming.</li><li><strong>Generators:</strong> I learned about yield in Python by creating a Fibonacci sequence generator. This is a memory-efficient way to handle large datasets, a skill that will be invaluable in future tasks.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/848/1*kb2Jw133QV-Mi23dVkIbUA.avif" /></figure><h3>Day 4: My First Dive into Data Analysis and Machine Learning 📊</h3><p>This was the culmination of everything I had learned so far. Day 4 transitioned from pure programming to applying those skills in a data science context. The tasks introduced me to the real-world workflow of a data analyst.</p><ul><li><strong>Data Wrangling and Exploration:</strong> I loaded a real dataset (the Iris dataset) and used Pandas to inspect its shape, compute descriptive statistics, and handle missing values. This taught me that raw data is rarely perfect and requires preparation.</li><li><strong>Visualization:</strong> I created a histogram to understand the distribution of a feature and a scatter plot to observe the relationship between two variables. The correlation heatmap was particularly insightful, as it quickly showed me which features were most related, a crucial step before building a model.</li><li><strong>Data Preprocessing:</strong> I learned about <strong>Min-Max scaling</strong> to normalize a column. This is an essential step for many machine learning algorithms that are sensitive to the range of data.</li><li><strong>Building a Model:</strong> Finally, I got to build and train my very first <strong>linear regression model</strong> using Scikit-Learn. It was a thrilling moment to see the model learn and provide coefficients, essentially proving a relationship between two variables.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H7MLWtCCTX4wU7fZ3KeARw.jpeg" /></figure><h3>My Reflections and What’s Next 🌟</h3><p>This first week has been a whirlwind of learning and growth. I’ve realized that a strong foundation in computer science fundamentals is just as important as knowing how to use data science libraries like Pandas or Scikit-Learn. When I hit a roadblock, I didn’t just look for a solution — I went back to the documentation, drew out the logic on paper, and worked through the problem step-by-step.</p><p>This fellowship is not just about writing code; it’s about developing the logical and analytical mindset of a data scientist. I’m excited for what Week 2 holds and I’m ready to tackle new challenges!</p><p>Here I have attached the GitHub Repo link .You can check my work!!!</p><p><a href="https://github.com/HiraArif666/BuildablesDataScienceFellowship">GitHub - HiraArif666/BuildablesDataScienceFellowship</a></p><p>#BuildablesDataScienceFellowship1 #DataScience #Python #Algorithms #LearningJourney</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6b24ca79e683" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>