1. A processing system configured to define the values of the parameters used by a neurostimulator to generate an instance of stimulation therapy for delivery to a patient to treat a neurological condition, wherein the defining is performed by a mapping function module of the processing system, the mapping function module comprising: a table stored in a memory, which table correlates each of a plurality of neurological event types to a stimulation parameter subspace; an analyzer configured to compare a neurological event detected by the neurostimulator to the plurality of neurological event types in the table and to determine a ranking for the detected neurological event corresponding to a probability that the detected neurological event is a particular one of the plurality of neurological event types; and an output configured to provide an output signal to a control module of the neurostimulator, the output signal comprising a recommended stimulation parameter subspace, which recommended stimulation parameter subspace corresponds to the stimulation parameter subspace correlated in the table with the ranking for the detected neurological event.