DOC: Write linear regression example