Skip to content

Tech Layoffs & Job Postings - Dashboard and Prediction Models

Notifications You must be signed in to change notification settings

singleton2787/tech-layoffs-dashboard

 
 

Repository files navigation

State of the Tech Labor Market

Header

Source: Capital Search

According to layoffs.fyi, since the beginning of this year, over 85,000 people in the tech industry have lost their jobs. Given these massive numbers, I thought it would be helpful to take a deeper look at the state of the industry to get a sense of what is really going on behind the scenes -- and to see whether there is hope for any of us out there who are looking for a job.

To tackle this problem, I ran a classification model targeting whether a company will need to execute more than one round of layoffs as well as a time series model forecasting future job postings. To bring it all together, I created an interactive dashboard, split into three sections.

The first will give a general sense of economic conditions in the sector more generally, the second will take a closer look at recent layoffs and predict whether companies will experience multiple rounds or just a one off, and the third will focus on job postings. If you're just curious on what the state of the industry looks like, the first tab will be the most useful. If you're in the industry, and haven't been laid off, the layoff tab is where you can go to predict whether your company may be needing to do another round. If you've been laid off and are looking at a job, your focus will be the job postings forecast - will more jobs be available in the near future for you to apply to?

The Data

The data for this project came from several sources:

Modeling

I ran two types of models, the first a SARIMA Time Series Forecast for Job Postings, and the second a classification model predicting whether a company will need to do more than one round of layoffs.

Job Postings Time Series Forecast

  • The data showed a clear upward trend and 52-week seasonality: image

  • The final model passed all assumptions, and resulted in a RMSE of ~ 0.1 image image

  • Forecast: image

Layoff Frequency Prediction - Classification Model

image

  • The final model was an XG Boost Classifier, and included categorical data - industry, country, number of employees, status - as well as continuous data - revenue estimate, year of the first round of layoffs, amount raised in the first round of layoffs, Crunchbase trend score, number of acquisitions, number of funding rounds.

image

image

Dashboard Demo

image image image

Conclusion / Next Steps

  • THERE IS HOPE. Job postings should remain stable for the next year, meaning there are opportunities for laid off employees
  • Larger companies tend to see more rounds of layoffs: be proactive if you are an employee at one of these firms
  • Potential next steps include: gathering more company data to feed into classification model, gathering data describing the specific roles laid off, salary, & types of jobs posted to match laid off employees with job postings that may fit their background, building out dashboard with more data on the industry and adding an interactive component to the layoff tab

For More Information

Reproducibility

For instructions on how to run the notebooks in this repo and set up a virtual environment, please see the environment instructions file.

Repository Structure

.
├── modeling.ipynb
├── eda_dashboard.ipynb
├── README.md
├── assets <-- image files for Plotly dashboard
├── images
├── data
│   └── data.zip
├── presentation.pdf
├── env_instructions.txt
├── requirements.txt
└── runtime.txt

About

Tech Layoffs & Job Postings - Dashboard and Prediction Models

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 100.0%