add ideal filter for likelihood filter detection, fix for training files in bulk detection mode