소스 검색

Removed not used Neighbourhood search in _BMB function.

Kristian Schultz 4 년 전
부모
커밋
af90286eed
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      library/convGAN2.py

+ 2 - 2
library/convGAN2.py

@@ -345,8 +345,8 @@ class ConvGAN2(GanBaseClass):
         ## neb -> oversampling neighbourhood
         ## gen -> convex combinations generated from each neighbourhood
 
-        neigh = NearestNeighbors(self.neb)
-        neigh.fit(data_maj)
+        #neigh = NearestNeighbors(self.neb)
+        #neigh.fit(data_maj)
         # bmbi = [
         #     neigh.kneighbors([data_min[i]], self.neb, return_distance=False)
         #     for i in range(len(data_min))