4396573e860d553825702006aa335989356b45c8,inaSpeechSegmenter/segmenter.py,Segmenter,batch_process,#Segmenter#,267

Before Change


        fg = featGenerator(linput.copy())
        for i, (mspec, loge, difflen) in enumerate(fg):
            if verbose == True:
                print(i, linput[i], loutput[i])
            lseg = self.segment_feats(mspec, loge, difflen, 0)
            seg2csv(lseg, loutput[i])
        
def seg2csv(lseg, fout=None):

After Change


            mspec, loge, difflen = feats
            //if verbose == True:
            //    print(i, linput[i], loutput[i])
            b = time.time()
            lseg = self.segment_feats(mspec, loge, difflen, 0)
            seg2csv(lseg, loutput[len(lmsg) -1])
            lmsg[-1] += " " + str(time.time() -b)
        return lmsg

def seg2csv(lseg, fout=None):
    df = pd.DataFrame.from_records(lseg, columns=["labels", "start", "stop"])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: ina-foss/inaSpeechSegmenter
Commit Name: 4396573e860d553825702006aa335989356b45c8
Time: 2020-05-10
Author: ddoukhan@ina.fr
File Name: inaSpeechSegmenter/segmenter.py
Class Name: Segmenter
Method Name: batch_process


Project Name: scikit-optimize/scikit-optimize
Commit Name: 8ff14b18b3bd1ee751c75c57d953eae153f3a088
Time: 2016-08-08
Author: manojkumarsivaraj334@gmail.com
File Name: skopt/gp_opt.py
Class Name:
Method Name: gp_minimize


Project Name: PacktPublishing/Deep-Reinforcement-Learning-Hands-On
Commit Name: 3735a6f690676bf2ab29f57ca1a02c1c63565b6c
Time: 2018-02-20
Author: max.lapan@gmail.com
File Name: ch16/02_breakout_es.py
Class Name:
Method Name: