Christoph Kaeding 8 жил өмнө
parent
commit
16268af9fa

+ 2 - 2
activeLearning/activeLearningLinGPemocApprox.py

@@ -20,8 +20,8 @@ class Classifier(activeLearningLinGPprototype.ClassifierPrototype):
 
 
     activeLearningLinGPprototype.ClassifierPrototype.__init__(self, sigmaN=sigmaN, configFile=configFile)
     activeLearningLinGPprototype.ClassifierPrototype.__init__(self, sigmaN=sigmaN, configFile=configFile)
     self.usePde = helperFunctions.getConfig(configFile, 'activeLearning', 'usePde', usePde, 'bool', True)
     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.cachedClusters = None
     self.cachedApprox = None
     self.cachedApprox = None