This project focuses on predicting freelancer earnings based on job-related features such as category, experience level, country, and other factors. Using data preprocessing and machine learning techniques, the goal is to estimate the potential earnings (USD) for freelancers.
- Dataset: freelancer_earnings_bd.csv
- Target Variable: Earnings_USD
- Features: Job Category, Experience Level, Location, Skills, etc.
- Objective: Build a regression model that predicts freelancer earnings to provide insights into the freelance economy.
- Loaded dataset using Pandas
- Inspected structure, missing values, and summary statistics
- Dropped irrelevant columns (
Freelancer_ID) - Encoded categorical variables using
LabelEncoder - Standardized numerical features with
StandardScaler
- Distribution of earnings by experience level
- Correlation heatmap between numerical features
- Train-test split
- Random Forest Regressor for prediction
- (Future scope: try XGBoost, Linear Regression, etc.)
- Metrics: R² Score, Mean Absolute Error (MAE), Root Mean Squared Error (RMSE)
Clone the repository:
git clone https://github.com/your-username/Freelancer-Price-Prediction.git
cd Freelancer-Price-PredictionInstall dependencies:
pip install -r requirements.txtRun the notebook:
jupyter notebookThe project uses the following Python libraries:
pandas
numpy
matplotlib
seaborn
scikit-learn
gradio
- Add XGBoost / LightGBM models for comparison
- Deploy the model with Gradio / Streamlit
- Hyperparameter tuning with GridSearchCV
- Visual dashboard for better interpretability