The repository contains codes and some experimental data for Structured Prediction of Network Response (SPIN) algorithm, which appears in International Conference on Machine Learning (ICML 2014). The algorithm assumes a network structure as prior (e.g. Facebook) and a set of actions (e.g. posts or messages) performed on the network. Given a new action, the algorithm predicts the response network, a DAG, that indicates activated nodes and activation order.