Giter Site home page Giter Site logo

olx_hackathon's Introduction

OLX_Hackathon

This was the second round of Code and Curious Competition organised by OLX in association with HackerRank.

In this round, two problems (NLP and Image Recognition) were given to be solved in a span of 3 hours.
As you guess right, I opted for the NLP problem.

Following is my approach and few insights about the problem :

  • The given problem was a real world case which OLX Berlin Team is solving these days.
  • The dataset had 4 variables namely: ID, title, description and category. Category was the target variable.
  • The target variable had 55 classes. The evaluation metric was accuracy.
  • I used R to solve this problem. I used text2vec package for creating features like bigrams.
  • Feature Engineering: Features such as number of characters, count of words, count of numbers, ratio of number to words
  • Cleaning: Removed stopwords, puntuations, spaces, converted to lowercase. All of this was done using regular expressions.
  • Failed Miserably in Model Training. The dataset was large enough that my laptop couldn't support the processing.

Things I learned or knew before which helped:

  • In NLP problems, you can start your training with Naive Bayes rather than jumping on straight to xgboost.
  • In case of large data, don't hesitate in sampling your train data. But, make sure class distribution is maintained.
  • Keep your code pipeline ready. I had to write each line of code from scratch.
  • Always write your files once you finish with some computation which took long time, so that you don't have to go through it again.

olx_hackathon's People

Contributors

saraswatmks avatar

Watchers

James Cloos avatar  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.