4 Matching Annotations
  1. Nov 2019
    1. self.ytr[min_index]

      chon majmooe tafazole pixel be pixel tak be take train image ha az i omin train image ro hesab kardim, pas index ei ke kamtarin majmooe tafazol maale un bashe, neshoon dahande ine ke kudum test image be in tasvire test shabih tare.

    2. np.sum

      hala ke tafazole pixel be pixel hame tasvir haye train az tasvire "i"om test darim, miaam masalan baraye tasvire "j"om train az "i" test, in tafazole pixel be pixel ro jam mikonim, hasel mishe majoome tafazolate pixel be pixel "j"omin train az "i"omin test.

    3. self.Xtr - X[i,:]

      az avalin satre marice Xtr shuru mikone, hame sutun haye Xtr un satro az hame sutun haye matrice X satre i omesh kam mikone. In kaaro be ezaye hame satr haye Xtr anjam mide. Yani ma mifahmim tafazole pixel be pixel hame tasvir haye Xtr ( har satre Xtr pixel haye ye tasvire az train e) az i omin satr (tasvire) X( shamele tasavire test) chie.