Random stimuli configured and delivered to deliver stimulation to body tissue near the stimulation capsule are characterized by the stimulation parameters, random stimulation delivery mechanism (s), and non-systematic setting and modification of stimulation parameters And a gastrointestinal stimulator including a control circuit in communication with the physical stimulus delivery mechanism configured to change the characteristics of the stimulus applied to the body tissue. The algorithm can be adapted to the patient and have a learning mechanism that is responsive to data being received from the patient. [Selection] Figure 1刺激を刺激カプセルの近くの身体組織に与えるように構成され、供給されるランダム刺激は、刺激パラメータによって特徴付けられる、ランダム刺激供給メカニズム(複数可)、ならびに刺激パラメータを非体系的に設定および変更し、それにより身体組織に与えられる刺激の特性を変更するように構成される、前記物理刺激供給メカニズムと通信する制御回路を含む胃腸刺激装置。アルゴリズムは、患者に適合され得、患者から受信されているデータに応答する学習機構を有し得る。【選択図】図1