Having done a lot of mtbiking in Nor Cal in mtn lion territory and have seen them, would I ride alone? No.

Commute on a paved trail in suburbia? Probably because there are a lot more readily available tasty snacks, like little Fifi.