aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xevaluate.py7
-rwxr-xr-xopt.py1
2 files changed, 0 insertions, 8 deletions
diff --git a/evaluate.py b/evaluate.py
index 0f8fe48..99e5eed 100755
--- a/evaluate.py
+++ b/evaluate.py
@@ -8,21 +8,14 @@
# [-K KMEAN] [-A] [-P PCA]
import matplotlib.pyplot as plt
-from mpl_toolkits.mplot3d import Axes3D
import sys
-import random
import os
import json
import scipy.io
-from random import randint
-from sklearn.neighbors import KNeighborsClassifier
from sklearn.neighbors import NearestNeighbors
-from sklearn.neighbors import DistanceMetric
from sklearn.cluster import KMeans
from sklearn.decomposition import PCA
-from sklearn.discriminant_analysis import LinearDiscriminantAnalysis as LDA
from sklearn.model_selection import train_test_split
-from sklearn.preprocessing import StandardScaler
from sklearn.metrics import confusion_matrix
from sklearn.metrics import accuracy_score
import argparse
diff --git a/opt.py b/opt.py
index 29acea4..fb5c089 100755
--- a/opt.py
+++ b/opt.py
@@ -30,7 +30,6 @@ import numpy as np
from numpy import genfromtxt
from numpy import linalg as LA
from timeit import default_timer as timer
-from scipy.spatial.distance import cdist
sys.path.append('lib')
from rerank import re_ranking
from kmean import create_kmean_clusters