An electrocoagulation with membrane bioreactor technique (EC-MBR) was developed to treat domestic wastewater and prevent membrane fouling. To support the new design, experiments were conducted on a few levels. The structure and distribution of organic matter removal utilizing the membrane are investigated using a laboratory-scale (EC-MBR) treatment of domestic wastewater. The study's goals were to assess the removal efficiency of organic matter (biological oxygen demand (BOD) and chemical oxygen demand (COD) in Al-Hawraa's wastewater, as well as its links to statistical indicators. It was chosen to sample and evaluate effluent from domestic wastewater using EC-MBR with operating temperature (25 0C), pH (7-8), DO (4-6) mg/L, beginning and final concentrations of BOD (184-6 mg/L), and COD (489-20 mg/L) using biological and electrochemical treatment procedures. According to the results, the organic matter removal efficiency may be calculated using the multilinear regression (MLR) and neural network (NN) models in the SPSS modeler. In addition, the results showed that the entire reactor had good BOD and COD maximum removal efficiencies of 96.7% and 95.9%, respectively. Finally, the highest accuracy of the MLR algorithm for COD and BOD is 99.6 for both, whereas the maximum accuracy of the NN algorithm for COD and BOD is 99.2 % and 99.1%, respectively. To choose the best algorithm for analysis and modeling the outcomes, a comparative study has been achieved to compare the results of two algorithms that used in this study. Therefore, for this study MLR algorithm was chosen.