24d6f5e42d775949e191122091826eefa7bf1246,docs/examples/plot_viterbi.py,,,#,27

Before Change


plt.axhline(0.5, color="r", alpha=0.5, label="Descision threshold")
plt.xlabel("Time")
plt.axis("tight")
plt.legend()
plt.tight_layout()

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// which looks much like the first plot, but with the decision threshold

After Change


fig, ax = plt.subplots()
ax.plot(times, p, label="P[V=1|x]")
ax.axhline(0.5, color="r", alpha=0.5, label="Descision threshold")
ax.set(xlabel="Time")
ax.legend();

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// which looks much like the first plot, but with the decision threshold
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: librosa/librosa
Commit Name: 24d6f5e42d775949e191122091826eefa7bf1246
Time: 2020-06-27
Author: bmcfee@users.noreply.github.com
File Name: docs/examples/plot_viterbi.py
Class Name:
Method Name:


Project Name: librosa/librosa
Commit Name: 24d6f5e42d775949e191122091826eefa7bf1246
Time: 2020-06-27
Author: bmcfee@users.noreply.github.com
File Name: docs/examples/plot_pcen_stream.py
Class Name:
Method Name:


Project Name: mne-tools/mne-python
Commit Name: ef7c95fd4ec9256753f81e7572d3ecd9d44eff36
Time: 2019-05-14
Author: larson.eric.d@gmail.com
File Name: tutorials/sample-datasets/plot_sleep.py
Class Name:
Method Name: