Code Monkey home page Code Monkey logo

kaggle_learn's Introduction

kaggle_learn

This module is a collection for useful code in kaggle (or more data science general), includes general utility functions, feature engineering functions, model training / cross-validation / model stacking helper functions.

Modules

Preprocessing

Numerical / categorical (tabular data) and text data preprocessing.

Feature Engineering

Some commonly used feature engineering methods used in kaggle competitions:

  • group by on one / multiple categorical features and get the summary statistics of numerical features
  • text meta features
  • text similarity features
  • time meta features
  • ...

Models

Models not implemented in sklearn:

  • NB-LR (Logistic Regression with Naive Bayes features)

Neural network templates for different tasks:

  • text classification (RNN / CNN based)

Model Runner

Functions / classes that takes data and run specified models (with cross validation).

Feature Importance

  • Permutation feature importance

Metrics

  • customized keras callbacks

Utilities

Utility functions:

  • reduce pandas dataframe memory
  • timer / logger
  • ...

Usage

Clone this repository:

git clone https://github.com/bangdasun/kaggle_learn.git

Create environment to install required packages:

cd kaggle_learn
conda env create -f standard_env.yaml

kaggle_learn's People

Contributors

bangdasun avatar

Stargazers

Edward Zhao avatar Alexey Burtsev avatar  avatar Roberto Fray da Silva avatar Emmanuel avatar Hengxing Cai avatar  avatar bayes avatar zrant avatar YP Han avatar

Watchers

James Cloos 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.