GitXplorerGitXplorer
t

rwa-da

public
9 stars
4 forks
0 issues

Commits

List of commits on branch master.
Unverified
7707daf51f8baccf460907638a8012ed60ac0ffd

Renamed method and changed paper title

ttwanvl committed 7 years ago
Unverified
f623e435b735dcd6a7a6681081253341176dfe63

Renamed method to RWA

ttwanvl committed 7 years ago
Unverified
78ecddb738e0f28b20bc4e8bf2a3bdb470032f49

Evaluation: other methods

ttwanvl committed 7 years ago
Unverified
bd8d4df7b8113fcfbc1a956b4ef51cec0bd0e402

Removed unused flag

ttwanvl committed 7 years ago
Unverified
a45840676a66f612957f3ec6055f244ea032ad6b

Swapped names of all and 400 features on amazon data.

ttwanvl committed 7 years ago
Unverified
4f2094d9af127afa25e4aed803c0974fdc5a972e

Feature extraction in Keras

ttwanvl committed 7 years ago

README

The README file for this repository.

Unsupervised Domain Adaptation with Random Walks on Target Labelings

This is the implementation of the RWA method for domain adaptation, plus accompanying code to test it on a variety of datasets.

The method itself is implemented in src/rwa/predict_rwa.m. Example:

addpath src/rwa
addpath src/evaluation
data = load_dataset('amazon');
% Predict labels of 'dvd' target domain using 'books' as source
% Preprocess data: divide by standard deviation over both domains
[x_src, x_tgt] = preprocess(data.x{1}, data.y{1}, data.x{2}, 'joint-std');
y = predict_rwa(x_src, data.y{1}, x_tgt);
mean(y == data.y{2})

The method requires that the MATLAB/octave bindings for liblinear are installed. These can be downloaded from https://www.csie.ntu.edu.tw/~cjlin/liblinear/

As a starting point for the experiments, look at src/evaluation/run_methods.m.

If you use this code, please cite

Unsupervised Domain Adaptation with Random Walks on Target Labelings
Twan van Laarhoven, Elena Marchiori
2018

Additional information can be found at http://twanvl.nl/research/domain-adaptation-2017/ The datasets used in the experiments can also be downloaded there.

Comparison methods

The comparison methods can be downloaded from:

License

The RWA method and evaluation code is provided under the MIT license (see file LICENSE). The comparison methods may be subject to other licenses.