Skip to content

Instantly share code, notes, and snippets.

View cidetraq's full-sized avatar

Nicholas Randall cidetraq

View GitHub Profile
@cidetraq
cidetraq / processor_pipeline_nicholas.py
Created January 4, 2019 21:18
getting some object oriented errors with kmeans_process function not recognized
class SequenceFeatureEnricher(object):
def __init__(self, regression_features=True, std_features=True, kmeans_features=True, masknan: float = None, n_clusters=8):
self.regression_features = regression_features
self.std_features = std_features
self.kmeans_features= kmeans_features
self.n_clusters=n_clusters
self.masknan = masknan
self.sample_sequences = []
self.sequence_features = []