Logistic regression modeling for context-based classification | Synapse