Ada Lovelace

She was also a gambling enthusiast - in her late 40s she lost more than £3,000 on horse racing.

An excerpt from the article 21 facts about Ada Lovelace

Gambling inspired her to create a mathematical model of high stakes betting in 1851. The idea failed, however, and she lost thousands of pounds.