The suspect, believed to be homeless, attacked Brianna Kupfer with a knife just before 2 p.m. Thursday, the Los Angeles Police Department said.