Code Monkey home page Code Monkey logo

kaggle's Introduction

Contains projects involving NLP and Recommender Systems

NLP Projects

  1. Toxic Comments Classification - Build a multi-headed model that predicts probabilities of different types of toxicity such as threats, obscenity, insults, and identity-based in the comments.

    1. Metrics: AUC ROC

    2. Models used: Logistic Regression and RNN (LSTM/GRU)

    3. Approach:

      1. Used Matplotlib and Seaborn to visualize distribution of target classes, correlation of categorical variables using confusion matrix and frequently used words using WordCloud.

      2. Created more features and visualized those features to understand whether longer comments are more toxic, etc

      3. Vectorized the words using TF-IDF and used LogisticRegression with additional features created from step 2 and without those features.

      4. Corrected spelling mistakes using FastText embeddings and trained a RNN network with LSTM and GRU cells using Keras.

  2. StackOverFlow Tag Prediction - Suggest tags based on the title and question text (multi-class classification).

    1. Metrics: Mean F1 Score

    2. Models used: Logistic Regression with OneVsRest Classifier, SGDClassifier with hinge loss

    3. Approach:

      1. Used Matplotlib and Seaborn to visualize distribution of tags, tags per question and most frequent tags.

      2. Preprocessed the data using NLTK to remove stopwords, special characters, HTML tags and SnowballStemmer to stem the words. Saved the cleaned data to SQLite DB.

      3. Vectorized the words using TF-IDF and used LogisticRegression with One Vs Rest Classifier and SGDClassifier with hinge loss. Used GridSearch to tune hyperparameters.

  3. Quora Question Pair Similarity – Identify whether a given pair of questions is similar (binary classification).

    1. Metrics: LogLoss

    2. Models used: Random Model, Logistic Regression, Linear SVM and XGBoost.

Recommender Systems

  1. Santander Product Recommendation – Build a recommendation system so Santander can cross sell products to their existing customers (multi-class classification).

    1. Metrics: LogLoss

    2. Models used: XGBoost, Matrix Factorization Techniques – SVD

    3. Approach:

      1. Explained the approach in a blog.

      2. Used Matplotlib and Seaborn to visualize products distribution by various features.

      3. Converted the dataset to be used as a multi-class classification problem.

      4. Created new feature lags and statistics metrics such as min, max and standard deviations.

      5. Modeled using XGBoost and Matrix Factorization techniques such as SVD.

kaggle's People

Contributors

rthothad avatar

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.