예제 #1
0
 def __init__(self, params, neuralFun, numEpochs, batchSize, imgSize):
     self.params = params
     self.params.imgSize = imgSize
     self.trainResult = TrainResult()
     self.trainData = []
     self.labels = np.zeros((0))
     self.batchSize = batchSize
     self.numEpochs = numEpochs
     self.neuralFun = neuralFun
예제 #2
0
 def __init__(self, params, numCSP=4):
     self.params = params
     self.trainResult = TrainResult()
     self.trainData = []
     self.labels = np.zeros((0))
     self.numCSP = numCSP
예제 #3
0
 def __init__(self, params, customFreq):
     self.params = params
     self.customFreq = customFreq
     self.trainResult = TrainResult()
     self.trainData = []
     self.labels = np.zeros((0))
예제 #4
0
 def __init__(self, params, mode='Classic'): #modes: 'Classic', 'CustomFreqs', 'IndepChan'
     self.params = params
     self.mode = mode
     self.trainResult = TrainResult()
     self.trainData = []
     self.labels = np.zeros((0))