6aa0f1f4e275098948d4b312530119e5d95b8884,ot/da.py,,jcpot_barycenter,#,749
Before Change
M = dist(Xs[d], Xt, metric=metric)
M = M / np.median(M)
dom["K"] = np.exp(-M/reg)
all_domains.append(dom)
distribT = unif(np.shape(Xt)[0])
After Change
log["all_domains"] = all_domains
return couplings, bary, log
else:
return couplings, bary
def distribution_estimation_uniform(X):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: rflamary/POT
Commit Name: 6aa0f1f4e275098948d4b312530119e5d95b8884
Time: 2020-03-31
Author: ievgen.redko@univ-st-etienne.fr
File Name: ot/da.py
Class Name:
Method Name: jcpot_barycenter
Project Name: tensorflow/privacy
Commit Name: cec011e2a797a32a9b102a69d2d799256de7ca98
Time: 2020-06-08
Author: galenandrew@google.com
File Name: tensorflow_privacy/privacy/dp_query/quantile_adaptive_clip_sum_query.py
Class Name: QuantileAdaptiveClipSumQuery
Method Name: get_noised_result
Project Name: carpedm20/ENAS-pytorch
Commit Name: 92c6ee78097c4c19837005168f77111e78dcbf0b
Time: 2018-03-04
Author: dukebw@mcmaster.ca
File Name: trainer.py
Class Name: Trainer
Method Name: train_shared