GithubHelp home page GithubHelp logo

graal-research / domain_adaptation_of_linear_classifiers Goto Github PK

View Code? Open in Web Editor NEW
9.0 10.0 5.0 19 KB

Learning algorithm described in "A New PAC-Bayesian Perspective on Domain Adaptation" (see http://arxiv.org/abs/1506.04573)

License: BSD 2-Clause "Simplified" License

Python 100.00%

domain_adaptation_of_linear_classifiers's Introduction

---------------------------------------------------------------------------
DOMAIN ADAPTATION OF LINEAR CLASSIFIERS (aka DALC)
Version 0.90 (November 2, 2015), Released under the BSD-license
---------------------------------------------------------------------------
Author:
    Pascal Germain. Groupe de Recherche en Apprentissage Automatique
    de l'Universite Laval (GRAAL).

Reference:
    Pascal Germain, Amaury Habrard, Francois Laviolette, and Emilie Morvant.
    A New PAC-Bayesian Perspective on Domain Adaptation.
    International Conference on Machine Learning (ICML) 2016.
    http://arxiv.org/abs/1506.04573
----------------------------------------------------------------------------

Thank you for looking at my code!

This program have been tested using Python 3.6 under Linux and MacOS.
It requires the NumPy and SciPy libraries.

I prepared three small scripts to use DALC by the command line:
1) dalc_learn.py: Execute the learning algorithm
2) dalc_classify.py: Execute the classification function
3) dalc_reverse_cv.py: Compute a "reverse cross-validation" score

Further usage instructions can be obtained by the following commands:
python dalc_learn.py --help
python dalc_classify.py --help
python dalc_reverse_cv.py --help

The data used in the paper experiments is available here (in svmlight format):
http://researchers.lille.inria.fr/pgermain/data/amazon_tfidf_svmlight.tgz

Pascal Germain.

domain_adaptation_of_linear_classifiers's People

Contributors

pgermain avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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