Giter VIP home page Giter VIP logo

learning-to-smell's Introduction

Learning to Smell Challenge

This repository is dedicated to Learning to Smell challenge organized by AIcrowd. My best Jaccard score prediction is 0.346 (the 1st round).

Challenge

Use machine learning (or any other related methods/techniques) to build a model and train it with the available dataset (4316 molecules) and predict smell character of molecules in a given test set (1079 molecules). There are 109 odors present in the dataset (data/vocabulary.txt). More details can be found on the website of the competition.

Dataset

  1. train.csv - (4316 molecules) : This csv file contains the attributes describing the molecules along with their "Sentence"
  2. test.csv - (1079 molecules) (Round-1) : File that will be used for actual evaluation for the leaderboard score but does not have the "Sentence" for molecules.
  3. vocabulary.txt : A file containing the list of all odors present in the dataset

Evaluation

Jaccard (Tanimoto) score - Read more

My neural network

My neural network is designed with a feedforward neural network using Keras/TensorFlow library. The features (descriptors) that I used for training models are the Morgan fingerprint and structural properties of a molecule such as functional groups, number of benzene rings, van der Waals volume, etc.

Source code structures

In alphabetical order

Steps to reproduce my score

  1. Download dataset and install necessary libraries.
  2. Calculate Morgan fingerprints (1024 bits) of molecules using RDKit.
  3. Build a model containing 3 hidden layers and 128 neurons each. DropOut and batch normalization are applied.
  4. Compile model with Adam optimizer. Use Categorical entropy as a loss function and accuracy as a metric.
  5. Train model for 300 epochs. Learning rate schedule and early stop techniques are also applied when a metric has stopped improving.
  6. Predict smell.
  7. Choose the top 15 smell predictions for each sample (molecule) and group by 3. Here is an example of a submission file.
  8. Submit the prediction results (.csv) and get the score.

learning-to-smell's People

Contributors

rangsimanketkaew 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.