Even really excellent, qualified trainers have had dogs killed by horses - it's happened right here on Chaz. I'm not sure how much training will keep a dog safe if they've got tendencies to act inappropriately around horses, or even doing things like chasing a squirrel or something past a horse.