All projects

Bankruptcy Prediction

University · 2024
Period
2024
Technologies
Python · pandas · scikit-learn · TensorFlow/Keras · Jupyter
Bankruptcy Prediction — Concept illustration · no real company or results
Concept illustration · no real company or results

Where it started

A university project starting with a question. What useful information about bankruptcy risk can I draw from company data?

Problems and decisions

Choosing the metric

Bankruptcies are the rare class. Missing one may cost more than a false alarm. I also used F3, which gives recall more weight than precision, to examine that trade-off.

Comparing strategies

I compared models and thresholds to see how detected cases and false alarms change, and studied feature importance with Random Forest.

How it works

  1. A Python notebook prepares and standardizes tabular data with pandas, NumPy and scikit-learn tools.
  2. Random Forest supports feature-importance analysis. Experiments compare RF configurations with Support Vector Machines.
  3. Neural-network experiments use TensorFlow/Keras to examine architecture, regularization and signs of overfitting.
  4. Decision thresholds and feature sets are compared through F3-score, ROC curves and charts saved in the notebook.

What I learned

This project taught me to read a score alongside the errors behind it. Changing the metric or threshold changes which cases are detected. I want that trade-off to be clear whenever I compare models.

Current status

Exploratory university project. The charts document runs saved in the notebook. Testing the conclusions would require an independent evaluation on new data.

Source

An interesting problem?

Tell me what you want to build or improve, who will use it and what constraints you have. I’ll get back to you so we can work out where to start.