<commit_before>import numpy as np
import pandas as pd

import disaggregator as dag<commit_msg>add skeleton hmm_disaggregator class which inherits from the base disaggregator classes<commit_after>#!/usr/bin/python
from disaggregator import DeviceInstance, DeviceType, MeteringUnit

class HMMDeviceInstance(DeviceInstance):
    '''HMMDeviceInstance'''

    def learn_parameters(self):
        pass
class HMMDeviceType(DeviceType):
    '''HMMDeviceInstance'''

    def generate_data(self, timeframe):
        pass

    def learn_parameters(self):
        pass

    def probability_present(self, aggregated_data):
        pass

class HMMMeteringUnit(MeteringUnit):
    '''HMMDeviceInstance'''

    def learn_device_types(self, data, possible_device_types):
        pass

    def learn_disaggregator_parameters(self, timeframe=None):
        pass

    def disaggregate(self, aggregated_data):
        disaggregated_data = None
        confidences = None
        return disaggregated_data, confidences
{'fraction_non_alphanumeric': 0.07135678391959799, 'fraction_numerical': 0.0, 'mean_word_length': 4.055837563451776, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2471752', 'n_tokens_mistral': 303, 'n_tokens_neox': 275, 'n_words': 70}