Hi, I notice that you use both `threshold` and `delta` in loss calculation, what's the purpose of these two arguments?