Firas
Asmi

I build models, then measure how much to trust them.

Final-year engineering student in statistics and data science at ESSAI, Tunis — actuarial science track, ranked fourth in my cohort, admitted through the national competitive examination after two years of preparatory classes in mathematics and physics. Looking for a six-month final-year internship from March 2027, in France or Europe.

4 Class rank, cohort
15.82 / 20 Second year, honours
19.13 / 20 Forecasting methods
18.38 / 20 Econometrics
Selected work 01
01

Survival of a 905-firm cohort

Python · R · SQL · Monte Carlo · stratified sampling

Field survey, international benchmarking and a five-year forward simulation, run during a research internship at Hammamet Valley Hub. The estimate comes with its interval, because a single number would have hidden how far the projection actually moves.

70 80 90 79%
Three-year survival. Point estimate 79%, Monte Carlo interval 77–82, stratified sample of 150 drawn from 905. Sensitivity analysis showed the survival parameter moves the projection further than the choice of macroeconomic scenario — the reverse of what the framing implied.
02

A neural network from first principles

Python · NumPy

Matrix algebra, gradient descent and backpropagation implemented without a high-level framework, then validated on real data. Written to understand what the frameworks do, not to replace them.

Source ↗

03

A web extraction agent driven by prompt

LangChain · LangGraph · Selenium · Streamlit

An agentic pipeline converting scraped HTML to Markdown, then to structured CSV — the shape of the output governed by the user's prompt rather than a fixed schema. Running as a Hugging Face Space.

Source ↗ Live demo ↗

04

Credit scoring and forward-looking LGD

Python · WoE / IV · IFRS 9 · macro stress scenarios

A scoring system and a loss-given-default model built to the IFRS 9 expected-credit-loss framework: variables discretised by weight of evidence, selected by information value, provisioning measured against stressed macroeconomic paths.

Academic — code on request

05

Ten years of Tunisian weather, clustered

R · rvest · ggplot2 · k-means · HAC

Automated collection of meteorological records for fifteen cities since 2015, then time-series analysis and classification of those cities by climatic profile. The dataset is published openly.

Source & dataset ↗

06

Telecom anomaly detection by fine-tuning

Hugging Face · Transformers

A language model fine-tuned to detect and correct network anomalies, benchmarked against the heuristic baselines it was meant to replace.

Methods & tools 02
Languages
Python · R · SQL / MySQL · SAS · Java · C · MATLAB
Learning
scikit-learn · TensorFlow · Hugging Face Transformers · LangChain · LangGraph · NLP
Statistics
Econometrics · time series (ARIMAX, SARIMAX, Prophet) · survey sampling · PCA and MCA · k-means and hierarchical clustering · Monte Carlo · hypothesis testing
Actuarial science
Third-year specialisation at ESSAI · insurance pricing · cohort survival models · stochastic processes · probability theory
Credit risk
Credit scoring · WoE / IV · PD, LGD, EAD · IFRS 9 expected credit loss · Basel III
Data
Neo4j (certified) · Power BI · Streamlit · pandas · statsmodels · Git · LaTeX
Languages spoken
Arabic (native) · French (DELF B2) · English (working)
Record 03
2024—2027 Engineering degree, statistics & information analysis ESSAI, Tunis. Actuarial science track — one of the two third-year specialisations. Ranked 4th in the cohort; second year passed with honours.
2022—2024 Preparatory classes, mathematics & physics IPEIN, Nabeul. Admitted to ESSAI through the national competitive examination.
2026 Top 5 nationally — road risk insurance competition Dynamic pricing and road-risk prediction, with INSAT and an insurance company. Among the five best teams in the country.
2026 Top 10 — life insurance chatbot hackathon A retrieval-augmented conversational agent over insurance products, presented to a panel of banking professionals.
2025 IndabaX Tunisia · Neo4j certification Africa's reference gathering for machine learning research, hosted at SUPCOM. Workshop facilitator at the ESSAI Machine Learning Club.