To help Wall Street buy tens of thousands of houses, Martin Kay and his colleagues taught a computer to spot a sunny kitchen.