Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 1.43 KB

README.md

File metadata and controls

46 lines (35 loc) · 1.43 KB

Kaggle Quora Questions Pairs Competition

14th place solution. My part. Code is uncleaned, latest versions are uploaded. Not every feature, that can be created with features notebooks was contained in final model - idea of this repository is to give more of an overview of methods used and those that could be used for similar problems.

Big thanks to the authors of all kernels & posts, which were of great inspiration and some features were derived based on them.

Features

  • Data Encoding:
    • Pipeline for text cleaning using Textacy
    • Lemmatization
    • Stemming
    • NER Encoding (based on Kernel)
  • NLP Features:
    • Features based on Kaggle Kernels & Discussions posts by: Abhishek, SRK, Jared Turkewitz, the_1owl, Mephistopheles & more
    • Latent Semantic Analysis, Latent Dirichlet Allocation, tSVD
    • Word2Vec
    • Doc2Vec
    • Distances based on data transformations - similarity measures
    • Textacy-based features
    • KNN-based features
  • Magic Features:
    • Jared Turkewitz's frequency features
    • NetworkX features

& some more.

Models:

  • XGB & LGBM models
    • Training
    • BayesianOptimization
    • Test Predictions
  • SpaCy Decomposable Attention Model on Quora data
  • LSTM Experiments
  • MLP models
  • Stacking
    • Sklearn Models Ensemble
    • Stacking with LGBM
    • Finding weights for ensemble using Scipy minimize function in-fold