Skip to content
All Work

Online Learning Course Completion Prediction (Machine Learning)

Analyses learner behaviour on platforms like Coursera, Udemy and edX and predicts each learner's course completion rate with a Random Forest model, showing which factors drive success.

PythonPandasScikit-learnMatplotlibSeabornJupyter Notebook

    Business Problem

    Online course platforms lose many learners before completion and need to know which factors predict success.

    Objective

    Predict the course completion rate from demographic and behavioural factors and find the key drivers.

    Dataset

    online_learning_platform_usage_dataset.csv: age group, role, platform, learning device, hours per week, learning purpose, satisfaction score and completion rate (target).

    Tech Stack

    Random Forest Regressor with feature importance; notebook plus a script pipeline (Predict_Completion.py).

    Data Preparation

    • Handled missing values
    • Removed duplicates
    • Encoded categorical variables with dummy variables

    Analysis Process

    • Exploration of roles, age groups and learning devices
    • Random Forest regression of completion percentage
    • Feature importance analysis (e.g. hours per week, satisfaction score)

    Key Insights

      Business Recommendations

        Outcome

        An automated way to forecast learner completion, helping institutions and creators improve engagement.

        Next Project

        Student Performance Data Cleaning and Analysis (Python)

        View Case Study