Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update _kliep.py
  • Loading branch information
ymouad authored Feb 25, 2022
commit 899bb5ce9af093b6d98210e384daa49c96c3d203
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