Exemple #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
Exemple #2
0
 def __init__(self, params, numCSP=4):
     self.params = params
     self.trainResult = TrainResult()
     self.trainData = []
     self.labels = np.zeros((0))
     self.numCSP = numCSP
Exemple #3
0
 def __init__(self, params, customFreq):
     self.params = params
     self.customFreq = customFreq
     self.trainResult = TrainResult()
     self.trainData = []
     self.labels = np.zeros((0))
Exemple #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))