Skip to content
/ scpp Public

A Study on SCPP: Shared Cascade Point Process

Notifications You must be signed in to change notification settings

kokikwbt/scpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SCPP: Shared Cascade Poisson Process

Unofficial Python implemetation of:
Discovering latent influence in online social activities via shared cascade poisson processes, Iwata, T., Shah, A. and Ghahramani, Z. In KDD. 2013.

DEMO

Command line options

  • --input_fn: csv file name
  • --output_dir: name of an output directory (default: 'out/tmp')
  • --gamma: initial value of the decay parameter (default: 1)
  • --beta: initial value of the Dirichlet paramter (default: 1)
  • --a: hyperparameter for Gamma distribution (default: 1)
  • --b: hyperparameter for Gamma distribution (default: 1)
  • --tol: tolerance for early stopping (default: 100)
  • --max_iter: maximum number of the EM iteration (default: 20)
  • --time_col: column name of timestamps (default: 'date')
  • --item_col: column name of items (default: 'item')
  • --user_col: column name of users (default: 'user')
  • --n_sample: number of samples/events from original records (default: 100000)
  • --sampling_rate: sampling rate when encoding timestamps (default: 'D')

Reference