Coder Social home page Coder Social logo

auto_ml_nyc's Introduction

On AutoML for NYC Taxi Trip Duration Prediction

Simple project to demo AutoML on NYC taxi trip duration prediction.

While explaining Optuna to a client in the context of hyperparameter tuning, and performing more research on the topic, I came across AutoGluon to perform "AutoML for images, text, and tabular data". After a quick scan of the documentation, I decided to give it a try and see how it performs on a simple project.

I always loved the Kaggle competition NYC Taxi Trip Duration, as the data has spatial, temporal and other traditional attribute information, and is a great dataset to test various models and feature engineering techniques.

I used a local Apache Spark instance (as it is my go to ETL engine) to perform some feature engineering before letting AutoGluon do its magic. As a quick proof of concept, the results are quite impressive, and below are the steps to reproduce the project and visualize the result.

Setup and Usage

Clone the Repository

git clone https://github.com/mraad/auto_ml_nyc.git

Install Required Packages

cd auto_ml_nyc
conda env create
conda activate auto_ml_nyc

Data and Server

  • Download the train.csv file from Kaggle and place it in the same folder as this project, so it can be locally referenced.
  • Download Apache Spark 3.4.2. In my case, I placed the unzipped folder in my home folder.

Start a local Spark instance and jupyter lab instance

./auto_ml_nyc.sh

Run the notebook

Happy AutoMLing, and ff you find this project informative, consider giving it a โญ on GitHub!

References

auto_ml_nyc's People

Contributors

mraad avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.