Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
# initialize BinnedSpikeTrain attributes
for attrib in self.__attributes__:
exec("self." + attrib + " = None")
self._extern_ = None
self._ds = None
# self._extern_map = None
# create shortcuts to super() methods that are overridden in
# this class
self._fit = PHMM.fit
self._score = PHMM.score
self._score_samples = PHMM.score_samples
self._predict = PHMM.predict
self._predict_proba = PHMM.predict_proba
self._decode = PHMM.decode
self._sample = PHMM.sample