Coder Social home page Coder Social logo

leadqualifier's Introduction

LeadQualifier

This repo is a collection of scripts we use at Xeneta to qualify sales leads with machine learning. Read more about this project in the Medium article Boosting Sales With Machine Learning.

Our simple scikit learn Random Forest algorithm obtain an accuracy of 86,4% on the testing data.

Unfortunately, we can not provide you with the raw text dataset we've used to train our algorithm, as it contains sensitive company information (who our customers are). However, we have added our own vectorized & transformed data in the /data folder (which is the final input to the RF algorithm). Feel free to play around with this data and see if you can beat our accuracy.

To run create your own lead qualifier, you'll need to run these scripts on your own customer data, which you can do using the FullContact API.

This script trains an algorithm on your input data. It expects two excel sheet named qualified and disqualified in the input folder. These sheets need to contain two columns:

  1. URL
  2. Description

Run the script:

python run.py

It'll dump three files to your disc:

  • algorithm
  • vectorizer
  • tfidf_vectorizer

Copy paste these into the 'qualify_leads/algorithms' folder, and it'll be ready to start predicting.

This is the script that actually predicts the quality of your leads. Add an excel sheet named 'data' in the '/input' folder. Use the same format as the example file that's already there.

Run the script:

python run.py

Got questions? Email me at [email protected].

leadqualifier's People

Contributors

perborgen avatar

Watchers

Subhash Ramesh 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.