# 1st solution(update github code)

First time be a solo winner, I must say there is luck in winning the competition.
My best result is a heavy ensemble with LGB and NN.
Data
![](assets/e33ec46708e2c73bc3539262.jpg)
Model
![](assets/aee1031a89ac2d9b884dffb1.jpg)
for NN model, all data fillna(0) and using nn.utils.rnn.pack_padded_sequence to pad.
I have to look for my early stage model, sorry for small font size in figure.
update: I release a clean code at
[https://github.com/jxzly/Kaggle-American-Express-Default-Prediction-1st-solution](https://github.com/jxzly/Kaggle-American-Express-Default-Prediction-1st-solution)
.
note: You may not be able to reproduce the best result due to random fluctuations.