A system for predicting optimal deep brain stimulation, DBS, parameters for a patient, the system comprising: a DBS system controlled to send each of a plurality of DBS signals to one or more electrodes surgically implanted within one or more regions of a patient brain, wherein in sending the plurality of DBS signals, the DBS system is controlled to perform a sweep of one or more DBS parameters, with each of the plurality of DBS signals comprising a different combination of DBS parameters; a brain response acquisition system synchronized with the DBS system and controlled to collect brain response data resulting from each of the plurality of DBS signals; and a prediction system operably connected to the brain response acquisition system, the prediction system comprising a processor programmed to: extract statistical metrics of brain response in the patient brain from the brain response data; access a DBS functional atlas comprising brain response maps derived from DBS treatment at optimal DBS parameter settings for a plurality of diseases; and predict optimal DBS parameters for the patient based on the statistical metrics of brain response and the DBS functional atlas wherein, in sweeping the one or more DBS parameters, the DBS system is controlled such that an order, in which the DBS signals comprising the combinations of DBS parameters are used for the stimulations, is randomized. a DBS system controlled to send each of a plurality of DBS signals to one or more electrodes surgically implanted within one or more regions of a patient brain, wherein in sending the plurality of DBS signals, the DBS system is controlled to perform a sweep of one or more DBS parameters, with each of the plurality of DBS signals comprising a different combination of DBS parameters; a brain response acquisition system synchronized with the DBS system and controlled to collect brain response data resulting from each of the plurality of DBS signals; and a prediction system operably connected to the brain response acquisition system, the prediction system comprising a processor programmed to: extract statistical metrics of brain response in the patient brain from the brain response data; access a DBS functional atlas comprising brain response maps derived from DBS treatment at optimal DBS parameter settings for a plurality of diseases; and predict optimal DBS parameters for the patient based on the statistical metrics of brain response and the DBS functional atlas wherein, in sweeping the one or more DBS parameters, the DBS system is controlled such that an order, in which the DBS signals comprising the combinations of DBS parameters are used for the stimulations, is randomized. extract statistical metrics of brain response in the patient brain from the brain response data; access a DBS functional atlas comprising brain response maps derived from DBS treatment at optimal DBS parameter settings for a plurality of diseases; and predict optimal DBS parameters for the patient based on the statistical metrics of brain response and the DBS functional atlas wherein, in sweeping the one or more DBS parameters, the DBS system is controlled such that an order, in which the DBS signals comprising the combinations of DBS parameters are used for the stimulations, is randomized.