anchor.diff:  ## Collecting Data
   
   Next, let's collect training data for this Engine. By default,
  -the Lead Score Engine Template supports the following entities: **user**, **page**, and **item**. An user view a page, and buy an item.
  -
  -Note that a "sessionId" property is required for these events to indicate these events happen in the same session. When the user first visit your site and views a page in the session, you should also specify the optional "referrral ID" and optional "browser" information. This is needed to determine who refer the user to land on your site and the browser information.
  + Lead Score Engine Template supports the following entities: **user**, **page**, and **item**. An user views a page, and buys an item.
  +
  +Note that a "sessionId" property is required to indicate these events happen in the same session. In the first visit of a user, you should specify the optional "referrral ID" and "browser" information. These are used to determine where the user comes from and the browser information.
   
   <%= partial 'shared/quickstart/install_sdk' %>
   
  
positive.code: 
  ## Import Sample Data
  
  For demonstration purpose, a python script is provided to import sample data. It imports 50 sessions of events. In each session, randomly select an user (with user ID "u1" to "u10") to lamd on a page (randomly selected from example.com/page1 to example.com/page20) with referrerId (randomly selected from referrer1.com to referrer10.com) and browser information, the user may view more pages, and may or may not buy an item (with item ID "i1" to "i50").
  
  NOTE: You need to install Python SDK to run the import script. Please follow [Python SDK README](https://github.com/PredictionIO/PredictionIO-Python-SDK) to install.
  
  
negative.code: 
  ## Usage
  
  ### Event Data Requirements
  
  By default, the template requires the following events to be collected:
  
  - 'page view' events with session ID
  - the first page view event can optionally provide the browser and referrer ID
  - user 'buy' event with session ID
  
  The landing page ID, referrer ID, browser information and user's buy event will be used to train the model.
  
  NOTE: You can customize what the "conversion" event is. It's "buy" item event by default but it can be modified to others such as "subscribe". 
  
  #### Input Query:
  
  - Landing page ID
  - Referrer ID
  - Browser
  
  #### Output PredictedResult:
  
  