9e62f772ee6e7e1b346640533f5122154f102b5a,code/traditional/CORAL/CORAL.py,CORAL,__init__,#CORAL#,15
Before Change
:param Xt: nt * n_feature
:param Yt: nt * 1
"""
self.Xs, self.Ys, self.Xt, self.Yt = Xs, Ys, Xt, Yt
def fit(self):
"""
After Change
class CORAL:
def __init__(self):
super(CORAL, self).__init__()
def fit(self, Xs, Xt):
"""
Perform CORAL on the source domain features
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: jindongwang/transferlearning
Commit Name: 9e62f772ee6e7e1b346640533f5122154f102b5a
Time: 2018-11-15
Author: jindongwang@outlook.com
File Name: code/traditional/CORAL/CORAL.py
Class Name: CORAL
Method Name: __init__
Project Name: jindongwang/transferlearning
Commit Name: 9e62f772ee6e7e1b346640533f5122154f102b5a
Time: 2018-11-15
Author: jindongwang@outlook.com
File Name: code/traditional/CORAL/CORAL.py
Class Name: CORAL
Method Name: __init__
Project Name: donlnz/nonconformist
Commit Name: 3918919f8b6232f5c095e2134111caff004403cb
Time: 2015-03-27
Author: henrik.linusson@gmail.com
File Name: nonconformist/nc.py
Class Name: RegressorNc
Method Name: __init__
Project Name: donlnz/nonconformist
Commit Name: 3918919f8b6232f5c095e2134111caff004403cb
Time: 2015-03-27
Author: henrik.linusson@gmail.com
File Name: nonconformist/nc.py
Class Name: ProbEstClassifierNc
Method Name: __init__