Example #1
0
 def __init__(self,
              ngramlength=4,
              data_type='ngram_notes',
              activation=None,
              kernel='rbf',
              chords_in_ngram=False,
              notes=None,
              softmax=False,
              oversampling=False):
     Base.__init__(self)
     self.clf = None
     self.ngramlength = ngramlength
     self.data_type = data_type
     self.activation = activation
     self.kernel = kernel
     self.chords_in_ngram = chords_in_ngram
     self.notes = notes
     self.softmax = softmax
     self.oversampling = oversampling
Example #2
0
 def __init__(self,
              data_type,
              activation=None,
              kernel=None,
              ngramlength=None,
              chords_in_ngram=False,
              notes=None,
              softmax=False,
              oversampling=False):
     Base.__init__(self)
     self.knn = KNN()
     self.omm = OMM()
     self.data_type = data_type
     self.activation = activation
     self.kernel = kernel
     self.ngramlength = ngramlength
     self.chords_in_ngram = chords_in_ngram
     self.notes = notes
     self.softmax = softmax
     self.oversampling = oversampling
Example #3
0
	def __init__(self):
		Base.__init__(self)
		self.clf = None
Example #4
0
 def __init__(self):
     Base.__init__(self)
     self.clf = None
     self.chords = None