This project aims to predict maternal mortality rates in Benin using a regression model. The model takes into account factors such as the number of sage femmes per 10,000 inhabitants, the number of hospitals, and whether the region has access to water.
![Screenshot 2023-05-13 at 19 36 54](https://private-user-images.githubusercontent.com/57854451/238149438-49df03e8-b47e-404b-a5b5-64791d2585ac.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2MTEyMDIsIm5iZiI6MTcyNDYxMDkwMiwicGF0aCI6Ii81Nzg1NDQ1MS8yMzgxNDk0MzgtNDlkZjAzZTgtYjQ3ZS00MDRiLWE1YjUtNjQ3OTFkMjU4NWFjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI1VDE4MzUwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg1ZmUyOWI1MDY3MTMwNGMwNjY5ZDI0OTZkZmM3MmRiOWQwM2MxYjI4MWFhNmJjZDZkNTg2ZWVhYjVhZGY3MzUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.-D5N3_RJl4L94mj7xhCJharWDfobEvUBpR6JgL851aA)
The data used in this project includes information on the number of sage femmes per 10,000 inhabitants, the number of hospitals, and whether each region has access to water. This data was collected from various sources and preprocessed to prepare it for use in the machine learning model.
A regression model was used to predict maternal mortality rates in Benin. The model was trained on a dataset that included information on the number of sage femmes per 10,000 inhabitants, the number of hospitals, and whether each region has access to water. The performance of the model was evaluated using metrics such as mean squared error (MSE) and root mean squared error (RMSE).
To use this code, you will need to have Python and scikit-learn installed. You can install scikit-learn by running pip install scikit-learn
in your terminal. Once you have the dependencies installed, you can run the code by navigating to the project directory and running python <filename>.py
.
This code is licensed under the MIT license.