Part of the collection of my work in finance automation showcasing how I use Python, SQL, JavaScript, and GCP to solve complex financial problems and build data-driven tools.
A machine learning project that predicts company bankruptcy from financial statement ratios, developed as coursework for CSM010 (Applied Machine Learning).
Auditors are required under ISA 570 to evaluate whether a company can continue as a going concern. This process involves assessing multiple financial ratios collectively — a task that is complex, subjective, and historically unreliable. Research suggests auditors issue clean opinions to approximately 42% of companies that file for bankruptcy within the following year.
This project explores whether machine learning classifiers can outperform that benchmark by learning patterns from historical financial data.
Taiwanese Bankruptcy Prediction Dataset — UCI Machine Learning Repository
StandardScaler applied for models sensitive to feature magnitude; tree-based models trained on unscaled dataPrimary metric: recall — in an audit context, false negatives (missed bankruptcies) are more costly than false positives.
The Decision Tree Classifier achieved 81% recall on the test set, substantially better than the ~58% implied by historical audit industry data. Random Forest delivered the best precision; Decision Tree won on recall and AUC.
The decision tree’s rules were extracted and visualised (see Appendices in the notebook) to make predictions interpretable to non-technical auditors.
This model is scoped to the audit planning phase (ISA 570.10 — identifying conditions that may cast doubt on going concern). It is not intended to replace the full audit assessment, but to flag companies warranting deeper investigation.
Key challenges for real-world deployment:
scikit-learn — classification, preprocessing, feature selection, resampling, metricspandas — data manipulationmatplotlib — feature importance plots, decision tree visualisation```