d6e0fa2abbc9820d294589d6ab6be1b12024f7f2,tslearn/docs/examples/classification/plot_shapelet_distances.py,,,#,31

Before Change


for i, y in enumerate(numpy.unique(y_train)):
	for k, ts in enumerate(X_train[y_train == y]):
		fig_ax3.plot(ts.flatten(), c=viridis(i / 3), alpha=0.25)
fig_ax3.set_title("Input time series")

// Create a scatter plot of the 2D distances for the time series of each class.
for i, y in enumerate(numpy.unique(y_train)):
    fig_ax4.scatter(distances[y_train == y][:, 0],

After Change


fig_ax2.set_title("Shapelet $\mathbf{s}_2$")

// Create the time series of each class
for i, subfig in enumerate([fig_ax3a, fig_ax3b, fig_ax3c, fig_ax3d]):
    for k, ts in enumerate(X_train[y_train == i + 1]):
        subfig.plot(ts.flatten(), c=viridis(i / 3), alpha=0.25)
fig.text(x=.15, y=.02, s="Input time series", fontsize=12)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: rtavenar/tslearn
Commit Name: d6e0fa2abbc9820d294589d6ab6be1b12024f7f2
Time: 2020-06-07
Author: romain.tavenard@univ-rennes2.fr
File Name: tslearn/docs/examples/classification/plot_shapelet_distances.py
Class Name:
Method Name:


Project Name: scikit-learn-contrib/imbalanced-learn
Commit Name: 153f6e0ff5729fc22b68d5f6e0fd05edf96d8c2c
Time: 2019-11-17
Author: g.lemaitre58@gmail.com
File Name: examples/datasets/plot_make_imbalance.py
Class Name:
Method Name:


Project Name: inferno-pytorch/inferno
Commit Name: d795f811eb13a20e18aa30c435cef0ad99e830ea
Time: 2018-08-10
Author: thorsten.beier@iwr.uni-heidelberg.de
File Name: examples/plot_unet_tutorial.py
Class Name:
Method Name: