6d989a86124ec05d1fdaaeca7fd890509375844e,doc/source/notebooks/advanced/ordinal_regression.pct.py,,pred_log_density,#Any#,102
Before Change
ys = np.arange(y_data.max()+1)
densities = []
for y in ys:
Ytest = np.ones_like(Xtest) * y
// Predict the log density
densities.append(m.predict_log_density((Xtest, Ytest)))
return np.hstack(densities).T
After Change
ys = np.arange(Y_data.max()+1)
densities = []
for y in ys:
Ytest = np.full_like(Xtest, y)
// Predict the log density
densities.append(m.predict_log_density((Xtest, Ytest)))
return np.hstack(densities).T
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 3
Instances Project Name: GPflow/GPflow
Commit Name: 6d989a86124ec05d1fdaaeca7fd890509375844e
Time: 2020-03-16
Author: st--@users.noreply.github.com
File Name: doc/source/notebooks/advanced/ordinal_regression.pct.py
Class Name:
Method Name: pred_log_density
Project Name: GPflow/GPflow
Commit Name: 6d989a86124ec05d1fdaaeca7fd890509375844e
Time: 2020-03-16
Author: st--@users.noreply.github.com
File Name: doc/source/notebooks/advanced/ordinal_regression.pct.py
Class Name:
Method Name:
Project Name: scipy/scipy
Commit Name: 053f7c3f352a7ae6d9d2567f585012a0cf6089cf
Time: 2019-08-08
Author: endolith@gmail.com
File Name: scipy/signal/tests/test_savitzky_golay.py
Class Name:
Method Name: test_sg_coeffs_deriv
Project Name: scipy/scipy
Commit Name: 053f7c3f352a7ae6d9d2567f585012a0cf6089cf
Time: 2019-08-08
Author: endolith@gmail.com
File Name: scipy/linalg/tests/test_solvers.py
Class Name:
Method Name: test_solve_discrete_are
Project Name: scipy/scipy
Commit Name: 053f7c3f352a7ae6d9d2567f585012a0cf6089cf
Time: 2019-08-08
Author: endolith@gmail.com
File Name: scipy/signal/tests/test_savitzky_golay.py
Class Name:
Method Name: test_sg_filter_interp_edges