acb8ac5145cfd88fdbd2d381b34883b2c212c8c5,examples/miscellaneous/plot_isotonic_regression.py,,,#,14
Before Change
plt.plot(x, y, "r.", markersize=12)
plt.plot(x, y_, "b.-", markersize=12)
plt.plot(x, lr.predict(x[:, np.newaxis]), "b-")
plt.gca().add_collection(lc)
plt.legend(("Data", "Isotonic Fit", "Linear Fit"), loc="lower right")
plt.title("Isotonic regression")
plt.show()
After Change
x_test = np.linspace(-10, 110, 1000)
ax1.plot(x_test, ir.predict(x_test), "C1-")
ax1.plot(ir.X_thresholds_, ir.y_thresholds_, "C1.", markersize=12)
ax1.set_title("Prediction function (%d thresholds)" % len(ir.X_thresholds_))
plt.show()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: scikit-learn/scikit-learn
Commit Name: acb8ac5145cfd88fdbd2d381b34883b2c212c8c5
Time: 2020-06-25
Author: drehbleistift@gmail.com
File Name: examples/miscellaneous/plot_isotonic_regression.py
Class Name:
Method Name:
Project Name: autoreject/autoreject
Commit Name: beeddd09c5550a13447104d282f2dbc756620e52
Time: 2018-05-05
Author: denis.engemann@gmail.com
File Name: examples/plot_auto_repair.py
Class Name:
Method Name:
Project Name: suavecode/SUAVE
Commit Name: 34601ba110fe6beb653d13664dce0301b46a51aa
Time: 2016-08-25
Author: davi.bianchi@embraer.com.br
File Name: trunk/SUAVE/Components/Energy/Converters/Internal_Combustion_Engine.py
Class Name:
Method Name: