ycemsubakan / sourceseparation_misc

45 stars 11 forks source link

The function tset puzzled me. #1

Open Choubelle opened 5 years ago

Choubelle commented 5 years ago

The function tset in timit_utilities.py puzzled me. Why you choice the indices of the minimum values to get the test file? I don't know why? Is there some mathematical explain?

ycemsubakan commented 5 years ago

I guess you are referring to these lines:

 d = array( [[abs(t1-t2) for t1 in l1] for t2 in l2])
i = argmin( d)

What it is doing is, it finds to recordings that match the best in terms of length, and we use those as test mixtures.