Code Monkey home page Code Monkey logo

i_love_you_predictor's Introduction

I Love You Predictor,

##Machine learning experiment after a fun hackatown at DataScienceLondon

@ds_ldn #gameshack

Started as funny discussion during a recent hackatown, this experiment is about building a classifier able to predict if in the next conversation between a couple, one of then would declare his love to his patner, telling him/her: "I love you"

Using a movie-conversation dataset composed of 220,000 conversations from movies, we have first selected all the couple that has had a conversation. Then we have split the couples in two groups, the ones fallen in love and all the others.

The first group is about couple in which one of them has declared "I love you" to the other. For this couple we have selected the previous 5 conversations to the love declaration, as training data. For all the other couples, we have randomly selected a group of 5 following conversation. Then, build a predictor on Azure that looks to work enough well:

Model Performance

We have used the top 100 unigrams, from the text content. To train and validate the model we have used the followig dataset

ExcelScreenshot

You can download here the dataset built, to train/validate the model:

Download the CSV dataset to train/validate the model

That's the model built on Azure ML, used the prebuild sentimental analysis for Twitter, setting the top 100 unigrams like features.

Model on Azure ML

This project contains some Apache Spark code used to build the data-set, starting from the original csv files of the full movie-datasets

i_love_you_predictor's People

Contributors

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