f0a81e2d218aa41b538de5e5cfebcc149f758dc5,examples/rbm_tutorial.py,BinomialRBM,fit,#BinomialRBM#Any#Any#Any#Any#Any#Any#Any#,239
Before Change
if ep % log_every == 0:
fidelity_ = self.fidelity(vis, psi)
print ("Epoch = ",ep,"\tFidelity = %.5f" %fidelity_.item())
fidelity_list.append(fidelity_)
epoch_list.append(ep)
// Save fidelities at the end of training.
After Change
plt.ylim([0.0,1.05])
plt.xlabel("epoch",fontsize=20)
//plt.ylabel("F",fontsize=20)
plt.xticks(fontsize=20)
plt.yticks(fontsize=20)
plt.gca().text(0.95, 0.2, "F = "+"{:.3}".format(fidelity_.item()),
verticalalignment="bottom", horizontalalignment="right",
color="k", fontsize=20,transform=plt.gca().transAxes)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: PIQuIL/QuCumber
Commit Name: f0a81e2d218aa41b538de5e5cfebcc149f758dc5
Time: 2018-07-20
Author: gtorlai@uwaterloo.ca
File Name: examples/rbm_tutorial.py
Class Name: BinomialRBM
Method Name: fit
Project Name: tensorflow/models
Commit Name: a90db800a369032192560bd0fddde5b007340473
Time: 2018-05-07
Author: mironov@gmail.com
File Name: research/differential_privacy/pate/ICLR2018/rdp_flow.py
Class Name:
Method Name: plot_rdp_curve_per_example
Project Name: tensorflow/models
Commit Name: a90db800a369032192560bd0fddde5b007340473
Time: 2018-05-07
Author: mironov@gmail.com
File Name: research/differential_privacy/pate/ICLR2018/rdp_flow.py
Class Name:
Method Name: plot_rdp_total