Giter Site home page Giter Site logo

jbdatascience / dom_adapt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from caus-am/dom_adapt

0.0 1.0 0.0 8.95 MB

Code for the NIPS 2018 paper "Domain Adaptation by Using Causal Inference to Predict Invariant Conditional Distributions"

Prolog 2.97% Python 8.82% R 88.21%

dom_adapt's Introduction

dom_adapt

Code for the NIPS 2018 paper "Domain Adaptation by Using Causal Inference to Predict Invariant Conditional Distributions"

Installation instructions:

The code expects a Clingo solver in the folder ASP (point 1) and a few R packages (point 2):

  1. Download the new clingo (http://sourceforge.net/projects/potassco/files/clingo) from the website and rename it as "clingo"

You can try running:

./ASP/clingo

to see whether your clingo installation is working.

  1. Install the R packages:
source('http://bioconductor.org/biocLite.R')
biocLite(c('graph','RBGL','gmp','RcppArmadillo'))
install.packages(c('deal','combinat','hash','bnlearn','foreach','doMC','caTools','expm'))

Installing 'pcalg' may require you to install also a few other packages (e.g. robustbase, ggm):

install.packages(c('pcalg')
  1. Start R in the R/ directory and run:
source('load.R')
loud()

dom_adapt's People

Contributors

crt2019 avatar saramagliacane avatar

Watchers

 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.