• Stars
    star
    278
  • Rank 148,454 (Top 3 %)
  • Language
    Python
  • License
    MIT License
  • Created over 6 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

4th Place Solution for Mercari Price Suggestion Competition on Kaggle using DeepFM variant.

tensorflow-XNN

4th Place Solution for Mercari Price Suggestion Challenge on Kaggle

The Challenge

Build a model to suggest the price of product on Mercari. The model is required to train (including all the preprocessing, feature extraction and model training steps) and inference within 1 hour, using only 4 cores cpu, 16GB RAM, 1GB disk. Data include unstructured text (product title & description) and structured ones, e.g., product category and shipping flag etc.

Summary

Highlights of our method are as follows:

  • very minimum preprocessing with focus on end-to-end learning with multi-field inputs, e.g., textual and categorical;
  • hybrid NN consists of four major compoments, i.e., embed, encode, attend and predict. FastText and NN based FM are used as building block;
  • purely bagging of NNs of the same architecture via snapshot ensemble;
  • efficiency is achieved via various approaches, e.g., lazynadam optimization, fasttext encoding and average pooling, snapshot ensemble, etc.

Model Architecture

fig/architecture.png

Please find the slide of our solution here.

About this project

This is the 4th text mining competition I have attend on Kaggle. The other three are:

In these previous competitions, I took the general ML based methods, i.e., data cleaning, feature engineering (see the solutions of CrowdFlower and HomeDepot for how many features have been engineered), VW/XGBoost training, and massive ensembling.

Since I have been working on CTR & KBQA based on deeplearning and embedding models for some time, I decided to give this competition a shot. With data of this competition, I have experimented with various ideas such as NN based FM and snapshot ensemble.

More Repositories

1

tensorflow-DeepFM

Tensorflow implementation of DeepFM for CTR prediction.
Python
2,015
star
2

kaggle-CrowdFlower

1st Place Solution for CrowdFlower Product Search Results Relevance Competition on Kaggle.
C++
1,755
star
3

kaggle-HomeDepot

3rd Place Solution for HomeDepot Product Search Results Relevance Competition on Kaggle.
Python
464
star
4

pytorch-DRL

PyTorch implementations of various Deep Reinforcement Learning (DRL) algorithms for both single agent and multi-agent.
Python
405
star
5

tensorflow-DSMM

Tensorflow implementations of various Deep Semantic Matching Models (DSMM).
Python
228
star
6

tensorflow-LTR

Tensorflow implementations of various Learning to Rank (LTR) algorithms.
Python
218
star
7

caffe-windows

Caffe Windows with realtime data augmentation
C++
88
star
8

word2vec_cbow

this is a high performance cuda porting of cbow model of word2vec
Cuda
43
star
9

Kaggle_Walmart-Recruiting-Store-Sales-Forecasting

R code for Kaggle's Walmart Recruiting - Store Sales Forecasting
R
41
star
10

batch_normalization

Batch Normalization Layer for Caffe
C++
35
star
11

Kaggle_The_Hunt_for_Prohibited_Content

4th Place Solution for The Hunt for Prohibited Content Competition on Kaggle (http://www.kaggle.com/c/avito-prohibited-content)
Python
28
star
12

tensorflow-ASP-MTL

A Tensorflow implementation of Adversarial Shared-Private Model for Multi-Task Learning and Transfer Learning.
Python
25
star
13

Kaggle_Loan_Default_Prediction

R code for Kaggle's Loan Default Prediction - Imperial College London challenge
R
22
star
14

Kaggle_Galaxy_Zoo

Python & Theano code for Kaggle's Galaxy Zoo - The Galaxy Challenge
Python
8
star
15

image-rotation-angle-estimation

Effective estimation of image rotation angle using spectral method
MATLAB
7
star
16

tensorflow-DTN

A Tensorflow implementation of Domain Transfer Network.
Python
7
star
17

Kaggle_Higgs_Boson_Machine_Learning_Challenge

R's GBM model for Higgs Boson Machine Learning Challenge
R
6
star
18

Long-Capital

Quant Trading with Microsoft Qlib (https://github.com/microsoft/qlib)
Python
6
star
19

Kaggle_Acquire_Valued_Shoppers_Challenge

Code for Kaggle's Acquire Valued Shoppers Challenge
Python
5
star
20

Kaggle_Greek_Media_Monitoring_Multilabel_Classification

Code for Kaggles' Greek Media Monitoring Multilabel Classification (WISE 2014)
MATLAB
5
star
21

Stanford_CS229_Note

A draft note for Stanford CS229 Machine Learning course
TeX
3
star
22

GLF_Features_for_Median_Filtering_Forensics

MATLAB Toolbox for GLF Features for Median Filtering Forensics
MATLAB
2
star