<?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 Jessica Rodriguez on Medium]]></title>
        <description><![CDATA[Stories by Jessica Rodriguez on Medium]]></description>
        <link>https://medium.com/@jessicalrodriguez?source=rss-7d07683892e0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*tOwZb7UQKZYV69IJAUQVow.jpeg</url>
            <title>Stories by Jessica Rodriguez on Medium</title>
            <link>https://medium.com/@jessicalrodriguez?source=rss-7d07683892e0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 01:12:17 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jessicalrodriguez/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[Data Science Project #5: Loan Eligibility Prediction]]></title>
            <link>https://medium.com/@jessicalrodriguez/data-science-project-5-loan-eligibility-prediction-180df4710518?source=rss-7d07683892e0------2</link>
            <guid isPermaLink="false">https://medium.com/p/180df4710518</guid>
            <category><![CDATA[loan-eligibility]]></category>
            <category><![CDATA[data-scienc]]></category>
            <dc:creator><![CDATA[Jessica Rodriguez]]></dc:creator>
            <pubDate>Wed, 11 Jan 2023 14:20:23 GMT</pubDate>
            <atom:updated>2023-01-11T14:20:23.799Z</atom:updated>
            <content:encoded><![CDATA[<p>Github Repository: <a href="https://github.com/jesrodriguez0816/Loan_Eligibility_Prediction">https://github.com/jesrodriguez0816/Loan_Eligibility_Prediction</a></p><h3>Overview</h3><p>The goal of this project was to build a binary classifier to predict whether or not a customer would default on a loan.</p><p>The following questions were addressed:</p><ul><li>What features are the primary determinants of risk?</li><li>Are there any predictable patterns?</li><li>How could stakeholders benefit from these findings?</li></ul><p>It is in the best interest of any company to better understand the behaviors of their consumers.</p><p>Lenders provide loans to borrowers in exchange for the promise of repayment with interest. This means the lender only makes profit if the borrower pays off the loan. However, if he/she doesn’t repay the loan, then the lender loses money.</p><p>This project offers insights to help a lending organization understand the predictive factors that contribute to a borrower defaulting on thier loan.</p><h3>About the Data</h3><p>The dataset (sourced on <a href="https://www.kaggle.com/datasets/subhamjain/loan-prediction-based-on-customer-behavior/code?select=Training+Data.csv">Kaggle</a>) contains the behavioral information of more than 25,000 loan borrowers. It includes the following 12 columns:</p><ul><li>income</li><li>age</li><li>experience</li><li>married</li><li>house_ownership</li><li>car_ownership</li><li>risk_flag</li><li>currentjobyears</li><li>currenthouseyears</li><li>city</li><li>state</li></ul><p>The “risk_flag” column indicates whether there has been a past loan default. When building the classifier, this was our target variable.</p><h3>Process</h3><p>The <a href="https://www.datascience-pm.com/crisp-dm-2/">CRISPDM</a> data science process was used, which includes the following 6 phases:</p><ol><li>Business understanding — What does the business need?</li><li>Data understanding — What data do we have / need? Is it clean?</li><li>Data preparation — How do we organize the data for modeling?</li><li>Modeling — What modeling techniques should we apply?</li><li>Evaluation — Which model best meets the business objectives?</li><li>Deployment — How do stakeholders access the results?</li></ol><h3>Best Metric</h3><p>Because classes in this dataset are imbalanced, accuracy was not used at a metric. An accuracy score would have the potential to be high and misleading. Insterad, the recall score and F1 score were considered.</p><p>In statistics, a type I error is a false-positive result, meaning that a null hypothesis is rejected when it is actually true. A type II error is a false-negative result, meaning that a null hypothesis is not rejected when it is actually false.</p><p>For this project, incorrectly classifying a false-negative (type II error) would be worse than incorrectly classifying a false-positive. A false negative would mean that the reality of a customer defaulting on thier loan would be overlooked.</p><p>The overall goal of this project was to minimize false-negative results.</p><h3>Building a Classifier</h3><p>The following models were built and evaluated for recall:</p><ul><li>Logistic Regression</li><li>K-Nearest Neightbors</li><li>Decision Tree</li><li>Random Forest</li><li>Bagged Trees + Decision Tree</li><li>AdaBoost</li><li>Gradient Boost</li><li>XGBoost</li></ul><h3>Visualizing Results of the Model using SHAP</h3><p>SHAPley Additive exPlanations is a tool that creates visualizations for a machine learning model. The resource I used to fit SHAP to my data can be found <a href="https://towardsdatascience.com/explain-any-models-with-the-shap-values-use-the-kernelexplainer-79de9464897a">HERE</a>.</p><p>On the right side of the summary plot below, the legend indicates that RED is HIGH feature value and BLUE is LOW feature value. On the y axis, the features are divided individually. The x axis ranks how significant the impact is.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FAG2z5aWyOSpGpwA9Iu36w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iRe_aQfc0WcdhU3cq6rBKA.png" /></figure><h3>Findings and Recommendation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/938/1*nScvsUqrAbSSnq7FttGJgA.png" /></figure><p>The following features are the highest contributors or risk:</p><ul><li>Income</li><li>Age</li><li>Years of experience at current employment</li><li>Years spent in current residence</li></ul><p>The following features are the lowest contributors of risk:</p><ul><li>Marital status</li><li>Home ownership status</li><li>Car ownership status</li></ul><p>The age and income were, by far, the biggest factors of risk.</p><p>The years a borrower spends in their current residence-and at their current job are also highlighted as important features. Consistent time spent paying a mortgage-or working for the same employer-indicates reliability.</p><p>Based on these findings, I would suggest that lenders prioritize loan approval for borrowers with a history of reliability. Lower interest rates could serve as a great incentive to attract this demographic of borrower.</p><h3>What’s Next?</h3><p>As next steps for this project, I would consider…</p><ul><li>Further investigating the relationship between a borrower’s age/income and their risk for loan default</li></ul><p>I could potentially improve the model’s predictions by…</p><ul><li>Adding/removing variables before tuning the model</li><li>Trying different models with a different subsets of features and/or rows from the dataset</li><li>Combining features from another dataset to further investigate how different behavioral features are related to risk</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=180df4710518" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Science Project #4: Pneumonia Prediction]]></title>
            <link>https://medium.com/@jessicalrodriguez/data-science-project-4-pneumonia-prediction-46841f9eb43f?source=rss-7d07683892e0------2</link>
            <guid isPermaLink="false">https://medium.com/p/46841f9eb43f</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[Jessica Rodriguez]]></dc:creator>
            <pubDate>Mon, 21 Nov 2022 18:59:27 GMT</pubDate>
            <atom:updated>2022-11-21T19:00:44.867Z</atom:updated>
            <content:encoded><![CDATA[<p>Github Repository: <a href="https://github.com/jesrodriguez0816/Pnemonia_Prediction_Project">https://github.com/jesrodriguez0816/Pnemonia_Prediction_Project</a></p><h3>Overview</h3><p>The goal of this project was to build a machine learning model to classify a dataset for chest x-ray images, screening them for pneumonia.</p><p>To achieve this goal, I built a convolutional neural network to classify images as either pneumonia or non-pneumonia. The Paul Mooney dataset was used, found on <a href="https://www.kaggle.com/datasets/paultimothymooney/chest-xray-pneumonia">Kaggle</a>. It contains 5,683 images separated into two categories: “Pneumonia” and “Normal”.</p><h3>Preprocessing and Metric Determination</h3><p>The images in the Mooney dataset have the three layers of a colored photograph, although they appear to be in grayscale. In order to preprocess the images, I used Keras’ ImageDataGenerator to rescale the images’ pixels (to a scale of 0 to 1), and resized the images to 224 x 224 px.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/291/1*Kb0gdaxwaO3LFw0jpMkqfQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/277/1*qv1mEnlCotXXsRZPKwH2dw.jpeg" /></figure><p>In classifying these images, both false positives and false negatives seem to have a cost. Reducing the rate of false positives would reduce the amount of unnecessary prescriptions for patients who do not have pneumonia. However, if the rate of false negatives is neglected, that would mean the rate of untreated pneumonia patients would increase.</p><p>It is assumed that each X-ray image in this dataset will be looked over by human eyes-in addition to being trained on the machine-learning model. Therefore, the overall accuracy of the model should be high to make this process the most efficient for the technician or doctor reviewing the x-ray.</p><h3>Feature Importances</h3><p>The <a href="https://towardsdatascience.com/how-to-explain-image-classifiers-using-lime-e364097335b4">python LIME package </a>(Local Interpretable Model-agnostic Explanations) was used to depict the features (edges) in the image that the model found most important in making its prediction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/708/1*SoUmW0DeDsF2SyuOeoIN-w.jpeg" /></figure><h3>Final Model</h3><p>In diagnosing pneumonia, the best practice is to reduce the number of False Negatives.</p><p>5 models were trained and evaluated for accuracy. The final model has less false negatives and less false positives than most of the other models, with an accuracy score of 75%.</p><h3>Model Conclusion and Recommendation</h3><p>The model is imperfect; further tuning could be done to improve its accuracy score.</p><p>However, it can still be a useful tool for efficiency.</p><p>Recommendations:</p><ul><li>Each image should be reviewed by human eyes (tech and/or doctor) in addition to being trained on the model.</li><li>Each image should be saved as 224 x 224 px before being trained on the model</li><li>High-intensity pixel from the diaphragm may be adding noise to the model. The tech should crop out the diaphragm on each image to improve accuracy.</li></ul><h3>Follow-Up Work…What’s Next?</h3><p>To further improve this model, I would:</p><ul><li>Explore methods to remove the diaphragm from each image to remove “noise” and improve accuracy</li><li>Retrain the model using smaller images (ex: 32 x 32 px) see if image features are more accurately highlighted</li><li>Research other methods to tune CNNs</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=46841f9eb43f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Science Project #3: SyriaTel Customer Churn]]></title>
            <link>https://medium.com/@jessicalrodriguez/data-science-project-3-syriatel-customer-churn-44daaad30ef7?source=rss-7d07683892e0------2</link>
            <guid isPermaLink="false">https://medium.com/p/44daaad30ef7</guid>
            <category><![CDATA[data-science-training]]></category>
            <dc:creator><![CDATA[Jessica Rodriguez]]></dc:creator>
            <pubDate>Fri, 14 Oct 2022 22:21:02 GMT</pubDate>
            <atom:updated>2022-10-14T22:21:02.716Z</atom:updated>
            <content:encoded><![CDATA[<p>Flatiron School</p><p>Github Repository: <a href="https://github.com/jesrodriguez0816/SyriaTelCustChurn">https://github.com/jesrodriguez0816/SyriaTelCustChurn</a></p><h3>Overview</h3><p>The goal of this project was to build a binary classifier to predict whether a customer would “soon” leave the telecommunications company, SyriaTel. The term “churn” is used to describe a customer leaving.</p><p>According to the provided dataset, the current churn rate for SyriaTel is about 14%. A reasonable goal would be to reduce this rate to 7%-about half of the current total.</p><p>Using the provided dataset, the following questions were addressed:</p><ul><li>What features are the primary determinants of customer “churn”?</li><li>Are there any predictable patterns?</li><li>How can SyriaTel use these findings to implement cost-effective solutions?</li></ul><h3>What is the best metric to use to maximize the results?</h3><p>SyriaTel would save the most money by prioritizing the retention of current customers over the acquisition of new customers.</p><p>In statistics, a type I error is a false-positive result, meaning that a null hypothesis is rejected when it is actually true. A type II error is a false-negative result, meaning that a null hypothesis is not rejected when it is actually false.</p><p>For this project, incorrectly classifying a false-negative (type II error) would be worse than incorrectly classifying a false-positive. A false negative would mean that the reality of a customer canceling would have been overlooked.</p><p>My goal was to build a classifier that minimizes false negatives.</p><h3>Building a Classifier</h3><p>The following models were built and evaluated for recall:</p><ul><li>Logistic Regression</li><li>K-Nearest Neighbors</li><li>Decision Tree Model</li><li>Bagged Trees</li><li>Adaboost</li><li>Gradient Boost</li><li>XBoost</li></ul><p>I ultimately decided to use my decision tree classifier for further analyses.</p><p>The decision tree had a recall score of 74%. In binary classification, “recall” is the ratio of true positives over the number of false negatives.</p><p>Recall took priority over precision because my goal is to minimize false negatives.</p><h3>Visualizing Results of Model Using SHAP</h3><p>SHAPley Additive exPlanations is a tool that creates visualizations for a machine learning model. The resource I used to fit SHAP to my data can be found <a href="https://anvilproject.org/guides/content/creating-links">HERE</a>.</p><p>On the right side of the graph below, the legend indicates that RED is HIGH feature value and BLUE is LOW feature value. On the y axis, the features are divided individually. The x axis ranks how significant the impact is.</p><p><em>If the feature has a tail going to the right, it means that those values are causing an impact on model output, pushing customer churn from zero (not churning) to one (churn).</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/508/1*zKn7dpQCExUnvWXG1_KiwA.jpeg" /></figure><h3>Findings and Recommendation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/633/1*GdH6qjp2rSKy3CgnvriLgg.jpeg" /></figure><h3>Highest contributors of customer churn:</h3><ul><li>Having an international plan</li><li>Total number of day minutes</li><li>High number of customer service calls</li><li>Total number of evening minutes</li></ul><h3>Lowest contributors of customer churn:</h3><ul><li>Number of Voicemail Messages</li><li>Total international calls</li><li>State</li><li>Area code</li></ul><p>It is evident that SyriaTel charges customers based on the number of minutes they use to make calls. Along with high customer service calls, the highest contributors of customer churn are factors that lead to a higher bill.</p><p>According to the data, the average charge per user is about $60. My recommendation would be for the company to charge a flat monthly fee to the demographic of customers who are charged $60 or less monthly. A higher tier plan could be offered to customers with higher phone use.</p><p>If SytriaTel can retain 247 more of the customers listed in this dataset, they would reach the goal of reducing their churn rate from 14% to 7%. As their business model improves, it would be wise to compare their processes with their competitors’, and continue to evaluate their churn rate with renewed perspective.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=44daaad30ef7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Science Project #2: Kings County Housing]]></title>
            <link>https://medium.com/@jessicalrodriguez/data-science-project-2-kings-county-housing-project-6862d648147f?source=rss-7d07683892e0------2</link>
            <guid isPermaLink="false">https://medium.com/p/6862d648147f</guid>
            <category><![CDATA[data-science-training]]></category>
            <dc:creator><![CDATA[Jessica Rodriguez]]></dc:creator>
            <pubDate>Fri, 14 Oct 2022 22:14:43 GMT</pubDate>
            <atom:updated>2022-11-21T19:02:22.427Z</atom:updated>
            <content:encoded><![CDATA[<p>Flatiron School</p><p>Github Repository: <a href="https://github.com/jesrodriguez0816/dsc-phase-2-project">https://github.com/jesrodriguez0816/dsc-phase-2-project</a></p><h3>Summary</h3><p>The goal of this project was to create a linear regression model that predicts housing prices in Kings County, Washington. Housing data spanning from 5/2014–5/2015 was provided. Exploratory Data Analysis was used throughout this project. Statistics and and visualizations were used to identify and analyze linearity assumptions and data distributions.</p><h4>The main question addressed was: Which housing attributes had the greatest effect on price?</h4><h3>Business Value</h3><p>This project’s predictive model can be used by real estate agents and brokers, in addition to their domain-specific knowledge, to predict trends and housing prices.</p><p>The model can also be used by home-buyers and sellers in their decision-making processes.</p><h3>Methods</h3><p>Exploratory Data Analysis (EDA) was used for this project.</p><p>‘Price’ was our target variable. We compared this variable to various housing features in the data set.</p><p>Special consideration was given to location, square footage, condition, grade and amount of bedrooms/bathrooms.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/401/1*vDNdMMMd62J8hAuWSzKVaw.jpeg" /></figure><h3>Modeling</h3><p>The following models were created for this project:</p><p>A simple linear regression model compared our target variable (price) to the following continuous features: square footage, flooring, and year built. Administering a recursive feature eliminator and KBest test, had a negative impact on the model.</p><p>A polynomial regression model where degree = 2.</p><p>The polynomial regression model had the best R-squared testing result and lowest mean-squared error, and therefore was saved as the best fit model.</p><h3>Results</h3><h3>The following home features had a high correlation with price:</h3><ul><li>Home square footage</li><li>Amount of bedrooms and bathrooms</li><li>Home locations.</li><li>Highest-priced zip codes: Medina, Bellevue, Mercer Island, Capital Hill</li><li>Lowest-priced zip codes: Normandy Park, Burien, Auburn, Kent, Seatac</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/779/1*2-B9w4UEO0w4aEqdyj6gTw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/503/1*bFbKUIs-SIZRCgTP2IAroA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/531/1*D-oBfC_T1c6bL6qK7D6nyg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/844/1*3JkseL0NLf7E7FM7OZ_KJA.jpeg" /></figure><h3>Next Steps</h3><p>For next steps, I would analyze the detailed geography of the Kings County. I would specifically look at the proximity to certain zip codes to schools, amenities, public transportation, etc. I would also analyze census data to see how demographics affect housing prices.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6862d648147f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Science Project #1: Movies at Microsoft]]></title>
            <link>https://medium.com/@jessicalrodriguez/data-science-project-1-movies-at-microsoft-83751de8d6c2?source=rss-7d07683892e0------2</link>
            <guid isPermaLink="false">https://medium.com/p/83751de8d6c2</guid>
            <category><![CDATA[data-science-training]]></category>
            <dc:creator><![CDATA[Jessica Rodriguez]]></dc:creator>
            <pubDate>Fri, 14 Oct 2022 22:01:24 GMT</pubDate>
            <atom:updated>2022-10-14T22:01:24.227Z</atom:updated>
            <content:encoded><![CDATA[<p>Github Repository: <a href="https://github.com/jesrodriguez0816/dsc-phase-1-project">https://github.com/jesrodriguez0816/dsc-phase-1-project</a></p><h3>Overview:</h3><p>Microsoft has decided to create their own movie studio. However, they have no working knowledge of the movie industry and need guidance to create profitable content.</p><p>For this project, I analyzed past movie data to help Microsoft meet this goal.</p><h4>The following questions were addressed:</h4><p>1.) What are the production budgets and release dates of the top 10 most profitable movies?</p><p>2.) When is the best time of year to release a movie?</p><p>3.) Which movie budgets yield the highest profits?</p><h3>Data:</h3><p>The data file ‘tn.movie_budgets.csv.gz’ provides information about the finances of more than 5,000 films, including production budgets and worldwide and domestic profits. It also includes general information about each movie-such as its name and release date.</p><h3>Methods:</h3><p>The following Python libraries are used to analyze and display data: Pandas, Matplotlib and Numpy.</p><h3>Which movie budgets yield the highest profits?</h3><ol><li>There is a strong, positive relationship between a movie’s production budget and its resulting profit (as a movie’s production budget increases, so does it’s profit)</li><li>The average production budget of all profitable movies is 38,000,000, which correlates with an average profit of 100,000,000</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/579/1*X_K5Qd8t9qRW_2xSNuOTuw.jpeg" /></figure><h3>When is the most profitable time of year to release a film?</h3><ol><li>The holiday season is a profitable time of year to release a movie-particularly December.</li><li>Late spring and early summer are also profitable seasons for movie releases.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*0_8JwzUmujZSTEimfxPf1A.jpeg" /></figure><h3>What are the production budgets and release dates of the top 10 most profitable movies?</h3><p>Three bar graphs are shown below.</p><p><strong>What are the top 10 most profitable movies?</strong></p><ol><li>Gross revenue is broken into worldwide and domestic categories.</li><li>Avatar takes the top spot with an overall profit of 3.5 billion dollars.</li><li>The average gross profit for these films is 1.7 billion dollars</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/589/1*zcfSQ_MSkuV1LccDKP42wA.jpeg" /></figure><p><strong>What are the production budgets of the top 10 most profitable movies?</strong></p><ol><li>Avatar-our highest grossing movie-also had the highest production budget of $425,000,000</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/597/1*MsYya_qo0o-jUkaLaNaa_w.jpeg" /></figure><p><strong>What were the release dates of the top 10 most profitable movies?</strong></p><ol><li>Our top three highest grossing films-Avatar, Titanic, and Star Wars Episode VII-were released in December.</li><li>All other films in the “Top 10” were released in Spring or early Summer-the exception being Black Panther, which was released in February.</li><li>The average production budget for the top 10 movies is $242,600,000</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/632/1*hMnuZh3Pwps2Hf6SI6WeOg.jpeg" /></figure><h3>Conclusion</h3><ol><li>Microsoft should release the bulk of their movies during the early summer and late fall months-ideally close to the holidays.</li><li>A minimum production budget of 50,000,000 is recommended for all movies. This amount correlates with an overall gross profit of 113,000,000 (44% margin)</li><li>If Microsoft wishes to compete with the Top 10, an average budget of $296,000,000 is recommended</li></ol><h3>Follow-Up</h3><p>For further analysis, Microsoft should research-in greater detail-the development behind the top ten most profitable movies, including budget breakdown, director selection, release date strategy, etc.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=83751de8d6c2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>