Skip to content

sankajithdjinasena/UserBehaviorClassPredictor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“± Mobile Device Usage and User Behavior

This project analyzes mobile device usage patterns to classify users into behavior classes (from light to extreme usage). It covers the full data science lifecycleβ€”from data cleaning and EDA to building and deploying a machine learning model.

🧠 Objective

To explore, model, and predict user behavior based on mobile device usage data using a Random Forest Classifier and visualize insights through a Power BI dashboard and Flask web app.


πŸ“Š Dataset

  • Source: Kaggle Dataset
  • Records: 700 user entries
  • Features:
    • Device Model
    • Operating System
    • App Usage Time (minutes/day)
    • Screen On Time (hours/day)
    • Battery Drain (mAh/day)
    • Number of Installed Apps
    • Data Usage (MB/day)
    • Age
    • Gender
    • User Behavior Class (Target Variable)

βš™οΈ Process Workflow

  1. Data Inspection – Overview of features, missing values, data types
  2. Data Cleaning – Removing duplicates, handling outliers
  3. Preprocessing – Label encoding categorical data
  4. Exploratory Data Analysis (EDA) – Visualizations and insights on usage patterns
  5. Feature Correlation – Using heatmaps to study relationships
  6. Model Building – RandomForestClassifier (scikit-learn)
  7. Model Evaluation – Accuracy, classification report, confusion matrix
  8. Deployment – Flask web app with Heroku
  9. Dashboard – Power BI report for visualization

βœ… Results

  • The classifier demonstrated high accuracy and performance across all metrics.
  • Strong correlation observed between screen-on time, app usage, battery drain, and behavior class.
  • Flask app allows live user behavior class prediction based on inputs.
  • Power BI dashboard provides dynamic data exploration and insights.

πŸš€ Live Demo


🧰 Technologies Used

Purpose Tool/Library
Data Manipulation Pandas
Data Visualization Matplotlib, Seaborn
Machine Learning Scikit-learn
Web Deployment Flask, Heroku
Dashboard Visualization Power BI

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages