Christoph Kaeding 8 роки тому
батько
коміт
16268af9fa
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      activeLearning/activeLearningLinGPemocApprox.py

+ 2 - 2
activeLearning/activeLearningLinGPemocApprox.py

@@ -20,8 +20,8 @@ class Classifier(activeLearningLinGPprototype.ClassifierPrototype):
 
     activeLearningLinGPprototype.ClassifierPrototype.__init__(self, sigmaN=sigmaN, configFile=configFile)
     self.usePde = helperFunctions.getConfig(configFile, 'activeLearning', 'usePde', usePde, 'bool', True)
-    self.approxMode = helperFunctions.getConfig(self.configFile, 'activeLearning', 'approxMode', 'rnd', 'str', True)
-    self.approxSize = helperFunctions.getConfig(self.configFile, 'activeLearning', 'approxSize', 500, 'int', True)
+    self.approxMode = helperFunctions.getConfig(configFile, 'activeLearning', 'approxMode', 'rnd', 'str', True)
+    self.approxSize = helperFunctions.getConfig(configFile, 'activeLearning', 'approxSize', 500, 'int', True)
 
     self.cachedClusters = None
     self.cachedApprox = None