class trainingClass: def __init__(self, size, output_wavefile): self.Training_info = GMM(size, output_wavefile); def Training_feature_Mean(self): Mean_training = self.Training_info.GMM_Model_Mean() return Mean_training def Training_feature_Weight(self): Weight_training = self.Training_info.GMM_Model_Weight() return Weight_training def Training_feature_Covar(self): Covar_training = self.Training_info.GMM_Model_Covar() return Covar_training def adjustFeatures(self,name,mainF): self.Training_info.adjustFeatures(name,mainF);
def Training_feature_Mean(output_wavefile): Training_info = GMM(32, output_wavefile) Mean_training = Training_info.GMM_Model_Mean() return Mean_training