1d62b0c431c821671ef8f251d14cc8ae79b93c76,examples/ensemble/plot_balance_cascade.py,,,#,18

Before Change


for iy, e in enumerate(X_res_vis):
    ax2.scatter(e[y_resampled[iy] == 1, 0], e[y_resampled[iy] == 1, 1],
                label="Class /Ǘ", alpha=0.5, edgecolor=almost_black,
                facecolor=np.random.rand(3,), linewidth=0.15)
ax2.set_title("Balance cascade")

plt.show()

After Change


ax2.set_title("Balance cascade")

// make nice plotting
for ax in (ax1, ax2):
    ax.spines["top"].set_visible(False)
    ax.spines["right"].set_visible(False)
    ax.get_xaxis().tick_bottom()
    ax.get_yaxis().tick_left()
    ax.spines["left"].set_position(("outward", 10))
    ax.spines["bottom"].set_position(("outward", 10))
    ax.set_xlim([-6, 8])
    ax.set_ylim([-6, 6])
    ax.legend()

plt.tight_layout()
plt.show()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: scikit-learn-contrib/imbalanced-learn
Commit Name: 1d62b0c431c821671ef8f251d14cc8ae79b93c76
Time: 2017-03-30
Author: g.lemaitre58@gmail.com
File Name: examples/ensemble/plot_balance_cascade.py
Class Name:
Method Name:


Project Name: scikit-learn-contrib/imbalanced-learn
Commit Name: 1d62b0c431c821671ef8f251d14cc8ae79b93c76
Time: 2017-03-30
Author: g.lemaitre58@gmail.com
File Name: examples/ensemble/plot_easy_ensemble.py
Class Name:
Method Name:


Project Name: glm-tools/pyglmnet
Commit Name: 750d6a20cb203261e17d5f2709a00ec62a37dfed
Time: 2016-07-20
Author: pavan.ramkumar@gmail.com
File Name: tests/test_pyglmnet.py
Class Name:
Method Name: test_glmnet