Skip to content

Commit 6594126

Browse files
Update FE
1 parent 1859de6 commit 6594126

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

adapt/FE.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ def fit(self, X, y, src_index, tgt_index, **fit_params):
3333
src_index: iterable
3434
indexes of source labeled data in X, y
3535
36+
tgt_index: iterable
37+
indexes of target labeled data in X, y
38+
3639
fit_params: key, value arguments
3740
Arguments to pass to the fit method (epochs, batch_size...)
3841
@@ -58,7 +61,7 @@ def fit(self, X, y, src_index, tgt_index, **fit_params):
5861
return self
5962

6063

61-
def predict(self, X, domain):
64+
def predict(self, X, domain="target"):
6265
"""
6366
Predict method: return the prediction of estimator
6467
on the augmented features

0 commit comments

Comments
 (0)