Recode-Hive / Stackoverflow-Analysis

Stack overflow is a professional community for developers. This repo analysis 3 years of developer Survey done by Stackoverflow and do visualization and predict the salary of Data Scientist in future.
https://stackoverflow-analysis.streamlit.app/
MIT License
110 stars 102 forks source link

[Feature Request]: Predicting Salaries Using RandomForestRegressor #286

Open nidhivmehta opened 2 weeks ago

nidhivmehta commented 2 weeks ago

Is there an existing issue for this?

Feature Description

I want to add a feature that utilizes a RandomForestRegressor model to predict yearly compensation (ConvertedCompYearly) based on features extracted from 'Survey_results_sample_2023.csv' dataset. The features for prediction includes:

YearsCode: Numeric representation of years of coding experience, handling non-numeric values like 'Less than 1 year' and 'More than 50 years'. EdLevel: Categorical feature indicating the highest level of education completed by respondents. Country: Categorical feature denoting the country of residence of the respondents.

Use Case

This predictive model serves as a tool to estimate yearly compensation for developers. This capability is useful for both individual developers and hiring managers who are seeking for insights into salary expectations across different demographics.

Benefits

Community and Industry Relevance

Below, I have attached the output of the input salary

  1. The model predicts a yearly compensation of $43822 for someone with 5 years of coding experience, a Bachelor’s degree from the United States.
  2. The model predicts a yearly compensation of $79370 for someone with 10 years of coding experience, a Master’s degree from Canada.
  3. The model predicts a yearly compensation of $33485 for someone with 3 years of coding experience, some college/university study without earning a degree from Germany.

Priority

High

Record

github-actions[bot] commented 2 weeks ago

Hi there! Thanks for opening this issue. We appreciate your contribution to this open-source project. We aim to respond or assign your issue as soon as possible.

sanjay-kv commented 2 weeks ago

To highlight we dont need different folder or separate file for this analysis do it in the main file.