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