def __init__(self, class_labels, tdict):
        self.k = len(class_labels)
        # self.centroids = [np.zeros((len(tdict), 1))]*self.k # centroid vector for each class
        self.centroids = []
        self.lbl_dict = dict(zip(class_labels, range(self.k)))
        self.class_labels = class_labels
        self.tdict = tdict
        self.ctermcnt = np.zeros((self.k, 1))           # total number of terms in a class
constructor will get a list of the class labels, a dictionary of terms (as created before).
dataset/ETHPy150Open erfannoury/TextClassification/Rocchio.py/Rocchio.__init__