nagadomi / Kaggle Ndsb
Licence: mit
Code for National Data Science Bowl. 10th place.
Stars: ✭ 45
Programming Languages
lua
6591 projects
Labels
Projects that are alternatives of or similar to Kaggle Ndsb
Deepfake Detection
DeepFake Detection: Detect the video is fake or not using InceptionResNetV2.
Stars: ✭ 23 (-48.89%)
Mutual labels: kaggle
Kaggle Web Traffic Time Series Forecasting
Solution to Kaggle - Web Traffic Time Series Forecasting
Stars: ✭ 29 (-35.56%)
Mutual labels: kaggle
Face Mask Detection
Face Mask Detection system based on computer vision and deep learning using OpenCV and Tensorflow/Keras
Stars: ✭ 774 (+1620%)
Mutual labels: kaggle
Kaggle Carvana Image Masking Challenge
Top 15% ranked solution to the Carvana Image Masking Challenge on Kaggle
Stars: ✭ 13 (-71.11%)
Mutual labels: kaggle
Multi Class Text Classification Cnn Rnn
Classify Kaggle San Francisco Crime Description into 39 classes. Build the model with CNN, RNN (GRU and LSTM) and Word Embeddings on Tensorflow.
Stars: ✭ 570 (+1166.67%)
Mutual labels: kaggle
Ml competition platform
Kaggle-like machine learning competition platform
Stars: ✭ 42 (-6.67%)
Mutual labels: kaggle
Kaggle Dae
kaggleのporto-seguro-safe-driver-prediction, michaelのsolver
Stars: ✭ 29 (-35.56%)
Mutual labels: kaggle
Hungabunga
HungaBunga: Brute-Force all sklearn models with all parameters using .fit .predict!
Stars: ✭ 614 (+1264.44%)
Mutual labels: kaggle
Healthcheck
Health Check ✔ is a Machine Learning Web Application made using Flask that can predict mainly three diseases i.e. Diabetes, Heart Disease, and Cancer.
Stars: ✭ 35 (-22.22%)
Mutual labels: kaggle
Data Science Competitions
Goal of this repo is to provide the solutions of all Data Science Competitions(Kaggle, Data Hack, Machine Hack, Driven Data etc...).
Stars: ✭ 572 (+1171.11%)
Mutual labels: kaggle
4th Place Home Credit Default Risk
Codes and dashboards for 4th place solution for Kaggle's Home Credit Default Risk competition
Stars: ✭ 23 (-48.89%)
Mutual labels: kaggle
Kaggle Seizure Prediction
solution for the American Epilepsy Society Seizure Prediction Challenge
Stars: ✭ 44 (-2.22%)
Mutual labels: kaggle
Machinelearningcourse
A collection of notebooks of my Machine Learning class written in python 3
Stars: ✭ 35 (-22.22%)
Mutual labels: kaggle
Pytorch Toolbelt
PyTorch extensions for fast R&D prototyping and Kaggle farming
Stars: ✭ 942 (+1993.33%)
Mutual labels: kaggle
Kaggle-NDSB
Code for National Data Science Bowl at Kaggle. Ranked 10th/1049.
Summary
Ensemble Deep CNNs trained with real-time data augmentation.
Preprocessing |
centering, convert to a square image with padding, convert to a negative.
|
||||||||||||||||
Data augmentation |
real-time data agumentation (apply the random transformation each minibatchs).
transformation method includes translation, scaling, rotation, perspective cropping and contrast scaling. |
||||||||||||||||
Neural Network Architecture | Three CNN architectures for different rescaling inputs. cnn_96x96, cnn_72x72, cnn_48x48 | ||||||||||||||||
Normalization | Global Contrast Normalization (GCN) | ||||||||||||||||
Optimization method | minibatch-SGD with Nesterov momentum. | ||||||||||||||||
Results |
|
Developer Environment
- Ubuntu 14.04
- 16GB RAM
- GPU & CUDA (I used EC2 g2.2xlarge instance)
- Torch7
- NVIDIA CuDNN
- cudnn.torch
Installation
Install CUDA, Torch7, NVIDIA CuDNN, cudnn.torch.
Checking CUDA environment
th cuda_test.lua
Please check your Torch7/CUDA environment when this code fails.
Convert dataset
Place the data files into a subfolder ./data.
ls ./data
test train train.txt test.txt classess.txt
- th convert_data.lua
Training, Validation, Make submission
training & validate single cnn_48x48 model.
th train.lua -model 48 -seed 101
ls -la models/cnn*.t7
make submission file.
th predict.lua -model 48 -seed 101
ls -la models/submission*.txt
when use cnn_72x72 model.
th train.lua -model 72 -seed 101
th predict.lua -model 72 -seed 101
when use cnn_96x96 model.
th train.lua -model 96 -seed 101
th predict.lua -model 96 -seed 101
Ensemble
This task is very heavy. I used x20 g2.xlarge instances for this task and it's takes 4 days.
(helper tool can be found at ./appendix folder.)
th train.lua -model 48 -seed 101
th train.lua -model 48 -seed 102
th train.lua -model 48 -seed 103
th train.lua -model 48 -seed 104
th train.lua -model 48 -seed 105
th train.lua -model 48 -seed 106
th train.lua -model 48 -seed 107
th train.lua -model 48 -seed 108
th train.lua -model 72 -seed 101
th train.lua -model 72 -seed 102
th train.lua -model 72 -seed 103
th train.lua -model 72 -seed 104
th train.lua -model 72 -seed 105
th train.lua -model 72 -seed 106
th train.lua -model 72 -seed 107
th train.lua -model 72 -seed 108
th train.lua -model 96 -seed 101
th train.lua -model 96 -seed 102
th train.lua -model 96 -seed 103
th train.lua -model 96 -seed 104
th train.lua -model 96 -seed 105
th train.lua -model 96 -seed 106
th train.lua -model 96 -seed 107
th train.lua -model 96 -seed 108
th predict.lua -model 48 -seed 101
th predict.lua -model 48 -seed 102
th predict.lua -model 48 -seed 103
th predict.lua -model 48 -seed 104
th predict.lua -model 48 -seed 105
th predict.lua -model 48 -seed 106
th predict.lua -model 48 -seed 107
th predict.lua -model 48 -seed 108
th predict.lua -model 72 -seed 101
th predict.lua -model 72 -seed 102
th predict.lua -model 72 -seed 103
th predict.lua -model 72 -seed 104
th predict.lua -model 72 -seed 105
th predict.lua -model 72 -seed 106
th predict.lua -model 72 -seed 107
th predict.lua -model 72 -seed 108
th predict.lua -model 96 -seed 101
th predict.lua -model 96 -seed 102
th predict.lua -model 96 -seed 103
th predict.lua -model 96 -seed 104
th predict.lua -model 96 -seed 105
th predict.lua -model 96 -seed 106
th predict.lua -model 96 -seed 107
th predict.lua -model 96 -seed 108
th ensemble.lua > submission.txt
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].