10932ba9be0a77cf5cf899d4f28981dde82b6410,tslearn/docs/examples/classification/plot_shapelet_distances.py,,,#,30

Before Change



// We will plot our distances in a 2D space
distances = shp_clf.transform(X_train).reshape((-1, 2))
weights, biases = shp_clf.model_.layers[-1].get_weights()

// Create a grid for our two shapelets on the left and distances on the right
viridis = cm.get_cmap("viridis", 4)

After Change



// We will plot our distances in a 2D space
distances = shp_clf.transform(X_train).reshape((-1, 2))
weights, biases = shp_clf.get_weights("classification")

// Create a grid for our two shapelets on the left and distances on the right
viridis = cm.get_cmap("viridis", 4)
fig = plt.figure(constrained_layout=True)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: rtavenar/tslearn
Commit Name: 10932ba9be0a77cf5cf899d4f28981dde82b6410
Time: 2020-06-07
Author: givdwiel.vandewiele@ugent.be
File Name: tslearn/docs/examples/classification/plot_shapelet_distances.py
Class Name:
Method Name:


Project Name: NeuromorphicProcessorProject/snn_toolbox
Commit Name: 9b254aaf76efaa0a3789a67137c9817684862cf9
Time: 2019-07-11
Author: bodo.rueckauer@intel.com
File Name: snntoolbox/simulation/target_simulators/loihi_target_sim.py
Class Name: SNN
Method Name: build_dense


Project Name: keras-team/keras
Commit Name: ee179f7da155c3cb8129b954db828906886ad4e4
Time: 2015-06-08
Author: francois.chollet@gmail.com
File Name: keras/layers/core.py
Class Name: AutoEncoder
Method Name: get_output