Skip to content

Commit

Permalink
Merge pull request #24 from ymouad/master
Browse files Browse the repository at this point in the history
doc: Update _kliep.py
  • Loading branch information
antoinedemathelin authored Feb 25, 2022
2 parents e919420 + 899bb5c commit 85b9498
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions adapt/instance_based/_kliep.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ class KLIEP(BaseAdaptEstimator):
.. math::
\max_{\\alpha_i } \sum_{x_i \in X_T} \log(
\sum_{x_j \in X_T} \\alpha_i K_{\sigma}(x_j, x_i))
\max_{\\alpha_i } \sum_{x_j \in X_T} \log(
\sum_{x_i \in X_T} \\alpha_i K_{\sigma}(x_j, x_i))
Subject to:
Expand Down Expand Up @@ -320,4 +320,4 @@ def _cross_val_jscore(self, Xs, Xt, sigma, cv):
) + EPS
))
cv_scores.append(j_score)
return cv_scores
return cv_scores

0 comments on commit 85b9498

Please sign in to comment.