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