{"id":63322,"date":"2022-04-15T17:50:52","date_gmt":"2022-04-15T21:50:52","guid":{"rendered":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/?p=63322"},"modified":"2022-09-12T16:23:49","modified_gmt":"2022-09-12T20:23:49","slug":"rochester-transit-service","status":"publish","type":"post","link":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/rochester-transit-service\/","title":{"rendered":"Rochester Transit Service"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Team<\/h2>\n\n\n\n<p>Yihe Chen<\/p>\n\n\n\n<p>Harry Huang<\/p>\n\n\n\n<p>Junting Chen<\/p>\n\n\n\n<p>Kehan Yu<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Mentor<\/h2>\n\n\n\n<p>Cantay Caliskan<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Abstract<\/h2>\n\n\n\n<p><strong>Predictive Analytics for Demand Responsive Para- transportation<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"589\" src=\"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-29-at-1.48.38-PM-1024x589.png\" alt=\"\" class=\"wp-image-104872\" srcset=\"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-29-at-1.48.38-PM-1024x589.png 1024w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-29-at-1.48.38-PM-300x172.png 300w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-29-at-1.48.38-PM-768x441.png 768w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-29-at-1.48.38-PM-1200x690.png 1200w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-29-at-1.48.38-PM.png 1472w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Vision &amp; Goal<\/strong><\/p>\n\n\n\n<p>\u25cf Create a productive schedule for Demand Responsive Para-transportation by predicting the customers&#8217; cancellation. <\/p>\n\n\n\n<p>\u25cf Provide executable Python code and classification model.<\/p>\n\n\n\n<p>\u25cf Discover best performance metrics.<\/p>\n\n\n\n<p>\u25cf Generate well-organized supporting<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Data Overview<\/h2>\n\n\n\n<p>Internal data<\/p>\n\n\n\n<p>\u25cf &nbsp;We acquired the internal data from our sponsor<\/p>\n\n\n\n<p>\u25cf &nbsp;Our original dataset contains 102754 observations, and 21 explanatory variables from May 17th, 2021 to December 5th, 2021.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"928\" height=\"900\" src=\"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-1.27.14-PM.png\" alt=\"\" class=\"wp-image-106362\" srcset=\"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-1.27.14-PM.png 928w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-1.27.14-PM-300x291.png 300w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-1.27.14-PM-768x745.png 768w\" sizes=\"auto, (max-width: 928px) 100vw, 928px\" \/><\/figure>\n\n\n\n<p>External Data<\/p>\n\n\n\n<p>\u25cf &nbsp;We acquired the From NOAA (National Oceanic and Atmospheric Administration)<\/p>\n\n\n\n<p><strong>\u25cf<\/strong> &nbsp;Acquired daily weather information<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"209\" src=\"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-1.57.45-PM-1024x209.png\" alt=\"\" class=\"wp-image-106372\" srcset=\"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-1.57.45-PM-1024x209.png 1024w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-1.57.45-PM-300x61.png 300w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-1.57.45-PM-768x157.png 768w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-1.57.45-PM-1536x314.png 1536w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-1.57.45-PM-1200x245.png 1200w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-1.57.45-PM-1980x405.png 1980w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-1.57.45-PM.png 2006w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Data Visualization<\/h2>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"532\" data-id=\"106402\" src=\"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.00.55-PM-1024x532.png\" alt=\"\" class=\"wp-image-106402\" srcset=\"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.00.55-PM-1024x532.png 1024w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.00.55-PM-300x156.png 300w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.00.55-PM-768x399.png 768w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.00.55-PM-1536x797.png 1536w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.00.55-PM-2048x1063.png 2048w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.00.55-PM-1200x623.png 1200w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.00.55-PM-1980x1028.png 1980w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"567\" data-id=\"106412\" src=\"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.01.11-PM-1024x567.png\" alt=\"\" class=\"wp-image-106412\" srcset=\"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.01.11-PM-1024x567.png 1024w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.01.11-PM-300x166.png 300w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.01.11-PM-768x426.png 768w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.01.11-PM-1536x851.png 1536w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.01.11-PM-2048x1135.png 2048w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.01.11-PM-1200x665.png 1200w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.01.11-PM-1980x1097.png 1980w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"542\" data-id=\"106422\" src=\"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.01.24-PM-1024x542.png\" alt=\"\" class=\"wp-image-106422\" srcset=\"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.01.24-PM-1024x542.png 1024w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.01.24-PM-300x159.png 300w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.01.24-PM-768x407.png 768w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.01.24-PM-1536x813.png 1536w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.01.24-PM-2048x1084.png 2048w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.01.24-PM-1200x635.png 1200w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.01.24-PM-1980x1048.png 1980w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"542\" data-id=\"106432\" src=\"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.01.36-PM-1024x542.png\" alt=\"\" class=\"wp-image-106432\" srcset=\"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.01.36-PM-1024x542.png 1024w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.01.36-PM-300x159.png 300w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.01.36-PM-768x407.png 768w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.01.36-PM-1536x813.png 1536w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.01.36-PM-2048x1084.png 2048w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.01.36-PM-1200x635.png 1200w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.01.36-PM-1980x1048.png 1980w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"525\" data-id=\"106442\" src=\"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.01.52-PM-1024x525.png\" alt=\"\" class=\"wp-image-106442\" srcset=\"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.01.52-PM-1024x525.png 1024w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.01.52-PM-300x154.png 300w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.01.52-PM-768x394.png 768w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.01.52-PM-1536x788.png 1536w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.01.52-PM-2048x1050.png 2048w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.01.52-PM-1200x615.png 1200w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.01.52-PM-1980x1015.png 1980w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/figure>\n\n\n\n<p><strong>Feature engineering<\/strong><\/p>\n\n\n\n<p>\u25cf &nbsp;Created a label for the cancellation (1 for canceled, 0 for performed)<\/p>\n\n\n\n<p>\u25cf &nbsp;Transformed &#8216;date&#8217; variables into informative variables (e.g.. month, day, weekday)<\/p>\n\n\n\n<p>\u25cf Encoded categorical variables<\/p>\n\n\n\n<p>\u25cf Aggregated passengers by type (with children, need lift)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"551\" src=\"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.06.15-PM-1024x551.png\" alt=\"\" class=\"wp-image-106452\" srcset=\"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.06.15-PM-1024x551.png 1024w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.06.15-PM-300x161.png 300w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.06.15-PM-768x413.png 768w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.06.15-PM-1200x645.png 1200w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.06.15-PM.png 1346w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Modeling<\/h2>\n\n\n\n<p><strong>Handle the Class Imbalance<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"506\" src=\"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.12.05-PM-1024x506.png\" alt=\"\" class=\"wp-image-106472\" srcset=\"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.12.05-PM-1024x506.png 1024w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.12.05-PM-300x148.png 300w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.12.05-PM-768x380.png 768w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.12.05-PM-1536x759.png 1536w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.12.05-PM-2048x1012.png 2048w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.12.05-PM-1200x593.png 1200w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.12.05-PM-1980x979.png 1980w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"570\" src=\"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.12.42-PM-1024x570.png\" alt=\"\" class=\"wp-image-106482\" srcset=\"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.12.42-PM-1024x570.png 1024w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.12.42-PM-300x167.png 300w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.12.42-PM-768x427.png 768w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.12.42-PM-1536x855.png 1536w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.12.42-PM-2048x1139.png 2048w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.12.42-PM-1200x668.png 1200w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.12.42-PM-1980x1102.png 1980w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Random Forest with SMOTE<\/strong><\/p>\n\n\n\n<p><strong>Accuracy: 81.5% -&gt; 84.8%<\/strong><\/p>\n\n\n\n<p><strong>Precision: 32.2% -&gt; 62.1%<\/strong><\/p>\n\n\n\n<p><strong>Precision: 53.9 -&gt; 57.7%<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1010\" height=\"920\" src=\"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.19.20-PM.png\" alt=\"\" class=\"wp-image-106492\" srcset=\"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.19.20-PM.png 1010w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.19.20-PM-300x273.png 300w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.19.20-PM-768x700.png 768w\" sizes=\"auto, (max-width: 1010px) 100vw, 1010px\" \/><\/figure>\n\n\n\n<p>Precision is significantly improved by 92.8%, while Recall and Accuracy are slightly improved<\/p>\n\n\n\n<h3 class=\"has-custom-font wp-block-heading\" style=\"font-family:Times New Roman\"><strong>Weighted Random Forest Classifier<\/strong><\/h3>\n\n\n\n<p>Compared to the Random Forest Classifier, Weighted Random Forest Classifier penalizes the misclassification of minority class more<\/p>\n\n\n\n<p><strong>Confusion matrix<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><\/td><td>Actually Canceled<\/td><td>Actually Uncanceled<\/td><\/tr><tr><td>Predicted Canceled<\/td><td>TP = 1808<\/td><td>FP = 598<\/td><\/tr><tr><td>Predicted Uncanceled<\/td><td>FN = 2207<\/td><td>TN = 15938<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>XGBoost Classifier<\/strong><\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"463\" src=\"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.28.05-PM-1024x463.png\" alt=\"\" class=\"wp-image-106502\" srcset=\"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.28.05-PM-1024x463.png 1024w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.28.05-PM-300x136.png 300w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.28.05-PM-768x347.png 768w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.28.05-PM-1536x695.png 1536w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.28.05-PM-2048x926.png 2048w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.28.05-PM-1200x543.png 1200w, https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2022\/05\/Screen-Shot-2022-05-01-at-2.28.05-PM-1980x896.png 1980w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Accuracy: 81.5% -&gt;<\/strong> <strong>86.1%<\/strong><\/p>\n\n\n\n<p><strong>Precision: 32.2% -&gt;<\/strong> <strong>65.2%<\/strong><\/p>\n\n\n\n<p><strong>Recall: 53.9% -&gt;<\/strong> <strong>62.3%<\/strong><\/p>\n\n\n\n<p><strong>Confusion matrix<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><\/td><td>Actually Canceled<\/td><td>Actually Uncanceled<\/td><\/tr><tr><td>Predicted Canceled<\/td><td>TP = 2503<\/td><td>FP = 1336<\/td><\/tr><tr><td>Predicted Uncanceled<\/td><td>FN = 1512<\/td><td>TN = 15200<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Key Insights<\/h2>\n\n\n\n<p>\u25cf Our sponsor(RTS) has an extra bus on standby to cover any missing cases. <\/p>\n\n\n\n<p>\u25cf During <strong>busy hours (from 8 am<\/strong> to 3 pm<strong>):<\/strong><\/p>\n\n\n\n<p>\u25cb Excessively running the extra bus is costly when the prediction is not precise \u25cb It\u2019s better to use the <strong>Weighted Random Forest Classifier<\/strong>, which gives the highest precision <\/p>\n\n\n\n<p>\u25cf During <strong>other times<\/strong>:<\/p>\n\n\n\n<p>\u25cb It\u2019s <strong>less costly <\/strong>for running extra buses since fewer clients use the service<br>\u25cb It\u2019s better to use <strong>XGBoost Classifier<\/strong>, which balances recall (covering more<\/p>\n\n\n\n<p>canceled trip) and precision (making fewer errors when predicting the cancellation)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Team Yihe Chen Harry Huang Junting Chen Kehan Yu Mentor Cantay Caliskan Abstract Predictive Analytics for Demand Responsive Para- transportation Vision &amp; Goal \u25cf Create a productive schedule for Demand&hellip;<\/p>\n","protected":false},"author":6242,"featured_media":39542,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[106,3006],"tags":[],"coauthors":[8612],"class_list":["post-63322","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dsc-archive","category-machine-learning-archive"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Rochester Transit Service - Senior Design Day<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hajim.rochester.edu\/senior-design-day\/rochester-transit-service\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Rochester Transit Service - Senior Design Day\" \/>\n<meta property=\"og:description\" content=\"Team Yihe Chen Harry Huang Junting Chen Kehan Yu Mentor Cantay Caliskan Abstract Predictive Analytics for Demand Responsive Para- transportation Vision &amp; Goal \u25cf Create a productive schedule for Demand&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hajim.rochester.edu\/senior-design-day\/rochester-transit-service\/\" \/>\n<meta property=\"og:site_name\" content=\"Senior Design Day\" \/>\n<meta property=\"article:published_time\" content=\"2022-04-15T21:50:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-09-12T20:23:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2021\/04\/2019-07-01_Mangelsdorf_tour_1435-scaled.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"945\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hajim.rochester.edu\\\/senior-design-day\\\/rochester-transit-service\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hajim.rochester.edu\\\/senior-design-day\\\/rochester-transit-service\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.hajim.rochester.edu\\\/senior-design-day\\\/#\\\/schema\\\/person\\\/351018fbcf84ed8cac6d8072ba5b347c\"},\"headline\":\"Rochester Transit Service\",\"datePublished\":\"2022-04-15T21:50:52+00:00\",\"dateModified\":\"2022-09-12T20:23:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hajim.rochester.edu\\\/senior-design-day\\\/rochester-transit-service\\\/\"},\"wordCount\":318,\"image\":{\"@id\":\"https:\\\/\\\/www.hajim.rochester.edu\\\/senior-design-day\\\/rochester-transit-service\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.hajim.rochester.edu\\\/senior-design-day\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/2019-07-01_Mangelsdorf_tour_1435-scaled.jpg\",\"articleSection\":[\"DSC Archive\",\"Machine Learning Archive\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hajim.rochester.edu\\\/senior-design-day\\\/rochester-transit-service\\\/\",\"url\":\"https:\\\/\\\/www.hajim.rochester.edu\\\/senior-design-day\\\/rochester-transit-service\\\/\",\"name\":\"Rochester Transit Service - Senior Design Day\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hajim.rochester.edu\\\/senior-design-day\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hajim.rochester.edu\\\/senior-design-day\\\/rochester-transit-service\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hajim.rochester.edu\\\/senior-design-day\\\/rochester-transit-service\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.hajim.rochester.edu\\\/senior-design-day\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/2019-07-01_Mangelsdorf_tour_1435-scaled.jpg\",\"datePublished\":\"2022-04-15T21:50:52+00:00\",\"dateModified\":\"2022-09-12T20:23:49+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.hajim.rochester.edu\\\/senior-design-day\\\/#\\\/schema\\\/person\\\/351018fbcf84ed8cac6d8072ba5b347c\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hajim.rochester.edu\\\/senior-design-day\\\/rochester-transit-service\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hajim.rochester.edu\\\/senior-design-day\\\/rochester-transit-service\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hajim.rochester.edu\\\/senior-design-day\\\/rochester-transit-service\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.hajim.rochester.edu\\\/senior-design-day\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/2019-07-01_Mangelsdorf_tour_1435-scaled.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hajim.rochester.edu\\\/senior-design-day\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/2019-07-01_Mangelsdorf_tour_1435-scaled.jpg\",\"width\":2560,\"height\":1707},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hajim.rochester.edu\\\/senior-design-day\\\/rochester-transit-service\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hajim.rochester.edu\\\/senior-design-day\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Rochester Transit Service\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hajim.rochester.edu\\\/senior-design-day\\\/#website\",\"url\":\"https:\\\/\\\/www.hajim.rochester.edu\\\/senior-design-day\\\/\",\"name\":\"Senior Design Day\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hajim.rochester.edu\\\/senior-design-day\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hajim.rochester.edu\\\/senior-design-day\\\/#\\\/schema\\\/person\\\/351018fbcf84ed8cac6d8072ba5b347c\",\"name\":\"admin\",\"url\":\"https:\\\/\\\/www.hajim.rochester.edu\\\/senior-design-day\\\/author\\\/seniordesign\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Rochester Transit Service - Senior Design Day","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/rochester-transit-service\/","og_locale":"en_US","og_type":"article","og_title":"Rochester Transit Service - Senior Design Day","og_description":"Team Yihe Chen Harry Huang Junting Chen Kehan Yu Mentor Cantay Caliskan Abstract Predictive Analytics for Demand Responsive Para- transportation Vision &amp; Goal \u25cf Create a productive schedule for Demand&hellip;","og_url":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/rochester-transit-service\/","og_site_name":"Senior Design Day","article_published_time":"2022-04-15T21:50:52+00:00","article_modified_time":"2022-09-12T20:23:49+00:00","og_image":[{"url":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2021\/04\/2019-07-01_Mangelsdorf_tour_1435-scaled.jpg","width":945,"height":630,"type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/rochester-transit-service\/#article","isPartOf":{"@id":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/rochester-transit-service\/"},"author":{"name":"admin","@id":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/#\/schema\/person\/351018fbcf84ed8cac6d8072ba5b347c"},"headline":"Rochester Transit Service","datePublished":"2022-04-15T21:50:52+00:00","dateModified":"2022-09-12T20:23:49+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/rochester-transit-service\/"},"wordCount":318,"image":{"@id":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/rochester-transit-service\/#primaryimage"},"thumbnailUrl":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2021\/04\/2019-07-01_Mangelsdorf_tour_1435-scaled.jpg","articleSection":["DSC Archive","Machine Learning Archive"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/rochester-transit-service\/","url":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/rochester-transit-service\/","name":"Rochester Transit Service - Senior Design Day","isPartOf":{"@id":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/rochester-transit-service\/#primaryimage"},"image":{"@id":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/rochester-transit-service\/#primaryimage"},"thumbnailUrl":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2021\/04\/2019-07-01_Mangelsdorf_tour_1435-scaled.jpg","datePublished":"2022-04-15T21:50:52+00:00","dateModified":"2022-09-12T20:23:49+00:00","author":{"@id":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/#\/schema\/person\/351018fbcf84ed8cac6d8072ba5b347c"},"breadcrumb":{"@id":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/rochester-transit-service\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hajim.rochester.edu\/senior-design-day\/rochester-transit-service\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/rochester-transit-service\/#primaryimage","url":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2021\/04\/2019-07-01_Mangelsdorf_tour_1435-scaled.jpg","contentUrl":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-content\/uploads\/2021\/04\/2019-07-01_Mangelsdorf_tour_1435-scaled.jpg","width":2560,"height":1707},{"@type":"BreadcrumbList","@id":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/rochester-transit-service\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/"},{"@type":"ListItem","position":2,"name":"Rochester Transit Service"}]},{"@type":"WebSite","@id":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/#website","url":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/","name":"Senior Design Day","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/#\/schema\/person\/351018fbcf84ed8cac6d8072ba5b347c","name":"admin","url":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/author\/seniordesign\/"}]}},"_links":{"self":[{"href":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-json\/wp\/v2\/posts\/63322","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-json\/wp\/v2\/users\/6242"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-json\/wp\/v2\/comments?post=63322"}],"version-history":[{"count":11,"href":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-json\/wp\/v2\/posts\/63322\/revisions"}],"predecessor-version":[{"id":107962,"href":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-json\/wp\/v2\/posts\/63322\/revisions\/107962"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-json\/wp\/v2\/media\/39542"}],"wp:attachment":[{"href":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-json\/wp\/v2\/media?parent=63322"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-json\/wp\/v2\/categories?post=63322"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-json\/wp\/v2\/tags?post=63322"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.hajim.rochester.edu\/senior-design-day\/wp-json\/wp\/v2\/coauthors?post=63322"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}