ae32c93dda05262199bfa0a5b144e4b8990145b2,tslearn/docs/examples/plot_sax_mindist_knn.py,,,#,82
Before Change
start = time.time()
knn.fit(X_train, y_train)
predictions = knn.predict(X_test)
acc_euclidean = accuracy_score(y_test, predictions)
time_euclidean = time.time() - start
accuracies[dataset] = (acc_sax, acc_euclidean)
times[dataset] = (time_sax, time_euclidean)
After Change
numpy.random.seed(0)
// Generate a random walk time series
data_loader = UCR_UEA_datasets()
datasets = [
("SyntheticControl", 16),
("GunPoint", 64),
("FaceFour", 128),
("Lightning2", 256),
("Lightning7", 128),
("ECG200", 32),
("Plane", 64),
("Car", 256),
("Beef", 128),
("Coffee", 128),
("OliveOil", 256)
]
accuracies = {}
times = {}
for dataset, w in datasets:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: rtavenar/tslearn
Commit Name: ae32c93dda05262199bfa0a5b144e4b8990145b2
Time: 2019-09-29
Author: givdwiel.vandewiele@ugent.be
File Name: tslearn/docs/examples/plot_sax_mindist_knn.py
Class Name:
Method Name:
Project Name: ray-project/ray
Commit Name: d9c4dea7cf57f653eb24833aec97e57b5a829a66
Time: 2020-09-24
Author: krfricke@users.noreply.github.com
File Name: python/ray/tune/examples/xgboost_example.py
Class Name:
Method Name: train_breast_cancer
Project Name: titu1994/DenseNet
Commit Name: 3a3dc678e50e60f9cf05e95e992ab873046c1b8f
Time: 2016-12-05
Author: titu1994@gmail.com
File Name: cifar10.py
Class Name:
Method Name: