The invention disclosed herein relates to methods and systems for modulating activity of a nervous system component. Neural pattern recognition is used to identify a neurological and/or psychiatric disease or disorder based on input generated by electric signals indicative of the subject's brain activity. In an embodiment, the method comprises receiving an input from one or more sensors, each sensor configured to sense a particular characteristic indicative of a neurological or psychiatric condition or state; developing treatment parameters based on the input received from the one or more sensors; and generating neural modulation signals for delivery to a nervous system component through one or more output devices in accordance with one or more developed treatment parameters.