aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authornunzip <np.scarh@gmail.com>2018-12-12 18:45:56 +0000
committernunzip <np.scarh@gmail.com>2018-12-12 18:45:56 +0000
commitd8b633d900cacb2582e54aa3b9c772a5b95b2e87 (patch)
tree5d6d2d451d4381f2aac68eb07ed59581758adb5e /lib
parent0445bc882ebf9bc90e259efbb2d608d5b5c1c259 (diff)
downloadvz215_np1915-d8b633d900cacb2582e54aa3b9c772a5b95b2e87.tar.gz
vz215_np1915-d8b633d900cacb2582e54aa3b9c772a5b95b2e87.tar.bz2
vz215_np1915-d8b633d900cacb2582e54aa3b9c772a5b95b2e87.zip
Fix top comments
Diffstat (limited to 'lib')
-rw-r--r--lib/kmean.py6
-rw-r--r--lib/rerank.py2
2 files changed, 8 insertions, 0 deletions
diff --git a/lib/kmean.py b/lib/kmean.py
index 64ab166..01224e0 100644
--- a/lib/kmean.py
+++ b/lib/kmean.py
@@ -1,3 +1,9 @@
+#!/usr/bin/env python
+# Author: Vasil Zlatanov, Nunzio Pucci
+# EE4 Pattern Recognition coursework
+#
+# usage: kmean.py
+
from logging import debug
import numpy as np
from sklearn.cluster import KMeans
diff --git a/lib/rerank.py b/lib/rerank.py
index 6fb5b7b..fc9f020 100644
--- a/lib/rerank.py
+++ b/lib/rerank.py
@@ -1,3 +1,5 @@
+#https://github.com/zhunzhong07/person-re-ranking/tree/master/CUHK03-NP
+
from scipy.spatial.distance import cdist
import numpy as np
from logging import debug