I don't know for sure, but I think mine would go after a ferret and possibly hurt it...
They chase bunnies and birds out of our yard, I think with the intent of catching them

but who knows if it's just for fun.
Considering the yorkie was bred to be a ratter, I personally wouldn't risk it!