{"id":7,"date":"2026-05-09T04:56:37","date_gmt":"2026-05-09T04:56:37","guid":{"rendered":"https:\/\/barpheai.com\/?p=7"},"modified":"2026-05-09T04:56:37","modified_gmt":"2026-05-09T04:56:37","slug":"predicting-total-fare-of-taxi-rides","status":"publish","type":"post","link":"https:\/\/barpheai.com\/?p=7","title":{"rendered":"Predicting Total Fare of Taxi Rides"},"content":{"rendered":"<h2>The Dynamics of Ride-Hailing Pricing<\/h2>\n<p>Predicting the total fare of a ride-hailing trip involves understanding various dynamic factors including distance, time of day, traffic conditions, and base rates. In the Data Science Championship by MachineHack, the objective was to accurately predict these fares.<\/p>\n<h2>Regression Techniques<\/h2>\n<p>I designed multiple regression models including CatBoost, XGBoost, LightGBM, and Multilayer Perceptron Regression. The ultimate solution involved an ensemble technique combining Decision Tree Regressor, Random Forest, XGBoost, and CatBoost.<\/p>\n<h2>Conclusion<\/h2>\n<p>By blending the predictions of these diverse tree-based models, the ensemble effectively minimized the mean squared error, capturing both linear relationships and complex non-linear interactions within the trip data.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Dynamics of Ride-Hailing Pricing Predicting the total fare of a ride-hailing trip involves understanding various dynamic factors including distance, time of day, traffic conditions, and base rates. In the Data Science Championship by MachineHack, the objective was to accurately predict these fares. Regression Techniques I designed multiple regression models including CatBoost, XGBoost, LightGBM, and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-7","post","type-post","status-publish","format-standard","hentry","category-machine-learning"],"_links":{"self":[{"href":"https:\/\/barpheai.com\/index.php?rest_route=\/wp\/v2\/posts\/7","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/barpheai.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/barpheai.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/barpheai.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/barpheai.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7"}],"version-history":[{"count":0,"href":"https:\/\/barpheai.com\/index.php?rest_route=\/wp\/v2\/posts\/7\/revisions"}],"wp:attachment":[{"href":"https:\/\/barpheai.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/barpheai.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/barpheai.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}