9e62f772ee6e7e1b346640533f5122154f102b5a,code/traditional/JDA/JDA.py,,,#,116
Before Change
src_domain, tar_domain = scipy.io.loadmat(src), scipy.io.loadmat(tar)
Xs, Ys, Xt, Yt = src_domain["feas"], src_domain["label"], tar_domain["feas"], tar_domain["label"]
jda = JDA(Xs, Ys, Xt, Yt, kernel_type="primal", dim=30, lamb=1, gamma=1)
acc, ypre, list_acc = jda.fit_predict()
print(acc)
After Change
src, tar = "data/" + domains[i], "data/" + domains[j]
src_domain, tar_domain = scipy.io.loadmat(src), scipy.io.loadmat(tar)
Xs, Ys, Xt, Yt = src_domain["feas"], src_domain["label"], tar_domain["feas"], tar_domain["label"]
jda = JDA(kernel_type="primal", dim=30, lamb=1, gamma=1)
acc, ypre, list_acc = jda.fit_predict(Xs, Ys, Xt, Yt)
print(acc)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 7
Instances
Project Name: jindongwang/transferlearning
Commit Name: 9e62f772ee6e7e1b346640533f5122154f102b5a
Time: 2018-11-15
Author: jindongwang@outlook.com
File Name: code/traditional/JDA/JDA.py
Class Name:
Method Name:
Project Name: jindongwang/transferlearning
Commit Name: 9e62f772ee6e7e1b346640533f5122154f102b5a
Time: 2018-11-15
Author: jindongwang@outlook.com
File Name: code/traditional/BDA/BDA.py
Class Name:
Method Name:
Project Name: jindongwang/transferlearning
Commit Name: 9e62f772ee6e7e1b346640533f5122154f102b5a
Time: 2018-11-15
Author: jindongwang@outlook.com
File Name: code/traditional/MEDA/MEDA.py
Class Name:
Method Name:
Project Name: jindongwang/transferlearning
Commit Name: 9e62f772ee6e7e1b346640533f5122154f102b5a
Time: 2018-11-15
Author: jindongwang@outlook.com
File Name: code/traditional/TCA/TCA.py
Class Name:
Method Name:
Project Name: jindongwang/transferlearning
Commit Name: 9e62f772ee6e7e1b346640533f5122154f102b5a
Time: 2018-11-15
Author: jindongwang@outlook.com
File Name: code/traditional/JDA/JDA.py
Class Name:
Method Name: