GithubHelp home page GithubHelp logo

mjdelta / kaggle-statoil-c-core-iceberg-classifier-challenge Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 1.0 227 KB

Statoil/C-CORE Iceberg Classifier Challenge's codes

License: MIT License

Jupyter Notebook 92.34% Python 7.66%
classification ensemble-model

kaggle-statoil-c-core-iceberg-classifier-challenge's Introduction

Kaggle-Statoil-C-CORE-Iceberg-Classifier-Challenge

It's the record of my experience in the Kaggle competition, Statoil-C-CORE-Iceberg-Classifier-Challenge:https://www.kaggle.com/c/statoil-iceberg-classifier-challenge

1.Define the base Network.

I chose not to use pretrained network, such as VGG16 etc. Because VGG16 or other pretrained network was mostly trained on IMAGENET, which includes mostly everyday objects, while in this conpetition, we need to classify iceberg from the radar data. So, I think it's a diffenert task. So, I trained my vgg16-like network from scratch.
Here is my network's architecture.
image
It is a vgg16-like network with the same conv layers( but different channels, because in this task, the input bands is 75px, other than 224px. Besides, iceberg maybe have less features than the thousands of everyday objects). Usually, conv layers is used for bands feature extraction. After Flatten operation, we merge it with the Dense layer which has the parameter inc_angle as the input.

Besides, we still use pretrained model for stacking. And thanks to Yu Hai's kernel:https://www.kaggle.com/yuhaichina/single-model-vgg16-mobilenet-lb-0-1568-with-tf

2.About the Preprocessing

In the preprocessing, we use many methods for the preparation of stacking. And these methods include minmax, Fourier Transformation, ROF de-noising, Morphological Transformation etc.

3.About Feature Extraction

We chosen to use our own pretrained vgg16-like network to do the feature extraction. To do the next classification, we chosen scikit-learn's SVM.

4.About the Ensemble Model

For Ensemble Modeling, we chosen blending and stacking.

Blending

For blending, we used pretrained VGG16's test results( with different data preprocessing) as single model. Then do Linear Regression with these single models, and got LB score 0.151.

Stacking

For stacking,we used blending results, new defined network's results and SVM's results to do the stacking. Our best model came from the minmax_bestbase stacking method, and got LB score 0.1208.

kaggle-statoil-c-core-iceberg-classifier-challenge's People

Contributors

mjdelta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

maleicacid

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.