项目作者: Aganonce

项目描述 :
Python implementation of K-SC
高级语言: Python
项目地址: git://github.com/Aganonce/pyksc.git
创建时间: 2019-05-21T18:50:17Z
项目社区:https://github.com/Aganonce/pyksc

开源协议:

下载


Python K-SC Implementation

This program is a rudimentary python implementation of K-SC built for maximum customizability.[1]

Running

First run pip install -r requirements.txt.

To run K-SC, follow the example below:

  1. from KSC import KSC
  2. res, cent = KSC(k=3, iname="data/MemePhr.txt", delta=5, oname="results/MemePhr", plot=True)

References

[1]: Yang, Jaewon, and Jure Leskovec. “Patterns of temporal variation in online media.” Proceedings of the fourth ACM international conference on Web search and data mining. ACM, 2011.