You wrote the program, you set the thresholds, you are responsible. You can't absolve yourself by saying "the computer did it". It wouldn't stand up in court.