Coder Social home page Coder Social logo

radixai_project's Introduction

Machine Learning challenge

Introduction

The goal of this challenge is to build a Machine Learning model to predict if a given adult's yearly income is above or below $50k.

To succeed, you must develop a solution Python package that implements a get_pipeline function that returns:

Note: to make this work, all your Transformers and final Estimator should operate on pandas DataFrames instead of numpy arrays. See sklearn's rolling your own Estimator for more information on this topic.

Getting started

  1. Clone this repository (do not fork it!) and upload it to a fresh repository that you create.
  2. Install Miniconda if you don't have it already.
  3. Run conda env create from the repo's base directory to create the repo's conda environment from environment.yml. You may add packages listed on anaconda.org to environment.yml as desired.
  4. Run activate machine-learning-challenge-env to activate the conda environment.
  5. Start implementing the def get_pipeline(): function in the solution directory!

Evaluating your solution

To check your solution, run python challenge.py from the base of this repository. This will trigger the following steps:

  1. Call fitted_pipeline = solution.get_pipeline().fit(X_train, y_train) where X_train is a pandas DataFrame and y_train is a pandas Series of labels.
  2. Call y_pred = fitted_pipeline.predict_proba(X_test) where X_test is a pandas DataFrame of the same format as X_train.
  3. Compute the ROC AUC between y_pred and y_test and print your score!

For us to also be able to make a qualitative evaluation, please include in your solution the code that you wrote to inform and validate the choices you may have had to make during the development of your approach.

When you're ready, send us the URL to your repo!

Stretch goals

If you really want to make an impression, try your hand at these stretch goals:

  • Use all of the provided features in your model.
  • Implement your pipeline so that you can joblib.dump it to a file.
  • Find a non-trivial way of dealing with the missing values in the feature matrix.

Good luck!

-- radix.ai

radixai_project's People

Contributors

alessiomagitteri avatar

Watchers

James Cloos avatar Laurent Sorber 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.