Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

Ā© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

mohamedsilima53-droid/tanzania-life-standard-predictor

Domain:

socioeconomic

Record type:

model
Creator:
moh
Host:
machine learning model to predict life standard of people within the country # šŸ  Tanzania Life Standard Predictor - Streamlit App ## šŸ“‹ Overview This is a web application that predicts life standard in Tanzania (Tajiri, Hali ya Kawaida, or Maskini) based on socioeconomic factors. ## šŸš€ How to Run Locally ### Prerequisites - Python 3.8 or higher - pip ### Installation Steps 1. **Install required packages:** ```bash pip install -r requirements.txt ``` 2. **Make sure you have the model files in the same directory:** - `model.pkl` - `label_encoders.pkl` - `scaler.pkl` *(These files are generated by running the Jupyter notebook: `ml_project.ipynb`)* 3. **Run the Streamlit app:** ```bash streamlit run app.py ``` 4. **Open your browser:** - The app will automatically open at `localhost` - If it doesn't open automatically, navigate to that URL manually ## šŸ“¦ Files Needed for Deployment ``` your-project-folder/ │ ā”œā”€ā”€ app.py # Main Streamlit application ā”œā”€ā”€ requirements.txt # Python dependencies ā”œā”€ā”€ model.pkl # Trained ML model ā”œā”€ā”€ label_encoders.pkl # Categorical encoders ā”œā”€ā”€ scaler.pkl # Feature scaler └── README.md # This file ``` ## 🌐 Deploy to Streamlit Cloud (FREE!) ### Step 1: Prepare Files 1. Make sure all files are in your project folder 2. Run the Jupyter notebook first to generate the .pkl files ### Step 2: Push to GitHub ```bash # Initialize git (if not already done) git init # Add all files git add . # Commit git commit -m "Tanzania Life Standard Predictor App" # Create a new repository on GitHub # Then push to GitHub git remote add origin github.com git branch -M main git push -u origin main ``` ### Step 3: Deploy on Streamlit Cloud 1. Go to share.streamlit.io 2. Sign in with GitHub 3. Click "New app" 4. Select your repository 5. Choose the branch (main) 6. Set the main file path: `app.py` 7. Click "Deploy"! ### Your app will be live at: ``` your_username-your_ …

Visit

github.com

Tasks

text classification

Similar

Caellwyn/Tanzania-Well-Repair-PredictorBKitainge/Tanzania-Water-Wells-Condition-Predictorercydann/Tanzania-Water-Well-Conditions-PredictorghPRao/Pump-It-Tanzania-Well-Predictoradamacoulibalyad670-droid/https-github.com-adamacoulibalyad670-droid-bamanakan-tts-appfatakifgodelive-droid/lingala

Caellwyn/Tanzania-Well-Repair-Predictor

This repo demonstrates a classification model to predict repair needs for water wells in Tanzania #

BKitainge/Tanzania-Water-Wells-Condition-Predictor

Tanzanian Water Wells Dataset # TANZANIA WATER WELLS PROJECT # Project Summary: Building a Classif

ercydann/Tanzania-Water-Well-Conditions-Predictor

# TANZANIA WATER WELLS PROJECT # Project Summary: Building a Classifier to Predict Water Well Condi

ghPRao/Pump-It-Tanzania-Well-Predictor

Address the problem of broken wells and communities without access to clean water in Tanzania to pri

adamacoulibalyad670-droid/https-github.com-adamacoulibalyad670-droid-bamanakan-tts-app

https://github.com/adamacoulibalyad670-droid/bamanakan-tts-app.git import torch import soundfile as

fatakifgodelive-droid/lingala

learn lingala