

Khalil Kafrouni
Verified Expert in Engineering
Data Scientist and Developer
Nice, France
Toptal member since September 16, 2020
Khalil is a data scientist and AI team lead with 7 years of experience and a keen eye for finding hidden patterns in data. He's built and sold an AI startup that brings data analysis to the fingertips of eCommerce stores. Khalil has managed and architected the analytics and reporting infrastructure for America's biggest healthcare staffing company, serving over 2,000 hospitals, and has led data science teams and ML projects across many companies, from small businesses to Fortune 500 firms.
Portfolio
Experience
- Python - 7 years
- Mathematical Modeling - 6 years
- Data Science - 6 years
- Business Intelligence (BI) - 5 years
- SQL - 4 years
- Spark - 4 years
- eCommerce - 3 years
- Marketing Analytics - 3 years
Preferred Environment
Visual Studio Code (VS Code), Tableau, Jupyter Notebook, Jupyter
The most amazing...
...thing I've built was an AI startup that enables Shopify store owners to have a data analyst at the ready round the clock to answer their difficult questions.
Work Experience
Appointed Lecturer, Python for Quantitative Finance
SKEMA Business School
- Appointed to teach the Python for Quantitative Finance course at SKEMA Business School's master's program in financial markets and investments (FMI) starting Fall 2026.
- Developed the course curriculum to cover data preprocessing with Pandas, time series analysis fundamentals, working with financial databases, building MonteCarlo simulations, and developing backtests.
- Contributed to this course that culminates in a project where the students build an exotic options pricer.
Sr. Data Scientist
FleetRover Inc
- Built a freight rate forecasting model that predicted short-term price movements at the lane level, enabling carriers to optimize bid timing and capture favorable rates, directly improving margins and overall revenue realization across the platform.
- Developed a data-driven price signal framework that classified market conditions as favorable or unfavorable for immediate bidding, reducing carrier exposure to adverse rate fluctuations and improving cost predictability in a volatile freight market.
- Quantified and modeled supply/demand imbalances in freight markets to generate forward-looking rate expectations, providing a systematic approach to pricing decisions.
Sr. Data Scientist, Demand and Revenue Forecasting
FCP Euro LLC
- Developed and maintained demand forecasting models for an automotive eCommerce platform, leveraging machine learning techniques to predict part-level sales across thousands of SKUs, improving inventory planning accuracy, and reducing stockouts.
- Built revenue forecasting pipelines that integrated historical sales data, seasonal trends, and market signals to generate actionable forward-looking projections, enabling data-driven decision-making for finance and operations stakeholders.
- Collaborated cross-functionally with merchandising, supply chain, and finance teams to translate complex model outputs into clear business insights, driving alignment on inventory investment strategies and revenue targets.
Founder | Developer
Spikie AI
- Built an AI data analyst for Shopify stores. It allows store owners to answer complex data analysis questions in seconds.
- Architected the infrastructure that pulls data from Shopify into Big Query and added the ability to analyze it and generate reports.
- Exited the startup after selling it at the pre-revenue stage for an eCommerce marketing service provider.
Manager, Reporting and Analytics
AMN Healthcare - Main
- Led the design, development, and management of all user-facing dashboards for the biggest healthcare staffing company in the US, serving 12,000 hospitals.
- Built and optimized the ETL that fed data into the dashboards, improving major speed and data accuracy.
- Managed a user base of over 12,000 hospitals successfully, providing support to ensure efficient utilization of the reporting tools.
Senior Data Scientist
The Relationship Corp
- Reduced the company's marketing costs by 30% by analyzing the customer lifetime value and using probabilistic modeling to predict which marketing campaigns would not break even.
- Increased the return on investment by 13% by examining patterns in user data and presenting new payment plans that increased the conversion and retention rate.
- Eliminated more than 20,000 fraudulent profiles after running statistical analyses on their behavioral data and building a fraud detection framework.
Data Scientist
FantasySpin
- Engineered a robust tournament reward algorithm, balancing the allocation of coins to winners to ensure a sustainable gaming/gambling company profit margin.
- Leveraged analytical skills to assess and fine-tune the algorithm, ensuring a strategic alignment between company profits and user satisfaction, contributing to the overall success of the gaming/gambling platform.
- Implemented various optimizations to the computations in the background so that they run seamlessly and have no adverse effect on the user experience.
Data Reporting Expert (Sisense)
AMN Healthcare
- Developed customer-facing analytics dashboards that enabled healthcare facilities to monitor their roster of medical providers, keep an eye on any soon-to-expire documents, and keep track of insurance requirements.
- Built data models that powered the business intelligence side of the operations.
- Administered the company's BI implementation in Sisense.
Data Scientist
AddShoppers
- Developed statistical models to identify underperforming email campaigns and eliminate them, allowing the company to achieve a 10% reduction in email volume without an impact on revenue.
- Built reporting dashboards to monitor the company's KPIs on a daily basis along with the SQL data models that powered them.
- Developed statistical simulations to test the company's entity resolution algorithm.
Founder and Developer
Robin AI
- Built an AI app that enables eCommerce stores to bring back their customers who are at risk of churning by targeting them with a unique promotion at just the right time.
- Developed the back and front end from end to end and managed the hosting and architecture of the project.
- Had a 5% bringback rate on the churn prediction model.
Marketing Analyst
Roadie Music
- Increased customer outreach and reduced marketing costs by analyzing the marketing data set and identifying underperforming channels.
- Reduced marketing inefficiency by analyzing the reach of marketing blog articles based on their time of publication and focusing efforts on the most effective times.
- Recommended a more granular market segmentation after analyzing the users' app behavior and finding differences between unexpected demographics.
Experience
Algorithmic Trading
Lifetime Value Prediction for a Subscription-based Business
Customer Conversion Prediction for Online Freemium-model Businesses
This model is used to identify the users who are most likely to transact, so more incentives can be directed toward them, and those who are least likely to transact, so marketing efforts can be directed toward other users who might end up converting.
Email Volume Optimizer
Predicting Optimal Bid Timing
Education
Master's Degree in Financial Markets and Investments
SKEMA Business School - France
Bachelor of Engineering Degree in Mechanical Engineering
American University of Beirut - Beirut, Lebanon
Skills
Libraries/APIs
NumPy, Pandas, OpenAI API, Scikit-learn, TensorFlow
Tools
Jupyter, Tableau, Microsoft Excel, Microsoft Power BI, MATLAB, Mathematica, Sisense, Google Analytics, BigQuery, Apache Airflow
Languages
SQL, Python, Snowflake, C++, Scala
Paradigms
Business Intelligence (BI), ETL, Quantitative Research
Platforms
Jupyter Notebook, Visual Studio Code (VS Code), Google Cloud Platform (GCP), Shopify, Cloud Run
Storage
Data Pipelines, MySQL, JSON, PostgreSQL
Frameworks
Spark, Django
Other
Numerical Analysis, Mathematical Modeling, Reporting, Marketing Analytics, Product Analytics, Presentations, SaaS, Recurring Revenue Modeling, Predictive Modeling, Predictive Analytics, Machine Learning, Data Science, Dashboards, eCommerce, Data Reporting, BI Reporting, Reports, Metrics, CSV, Digital Marketing, Exploratory Data Analysis, Artificial Intelligence (AI), LangChain, AI Agents, AI Chatbots, Chatbots, Mathematics, APIs, Data Engineering, Data Analysis, Google BigQuery, Dashboards, Data Analysis, Marketing Analytics, SQL, Statistics, Revenue Analysis, Web Scraping, Probability Theory, Customer Lifetime Value (CLV), A/B Testing, Excel 365, Bayesian Statistics, Causal Inference, Multimodal Models, Microsoft Power BI, Fraud Investigation, Data Aggregation, Market Research, Decision Trees, Data Visualization, Metabase, Data Analytics, Quantitative Finance, Stock Trading, Financial Risk Management, Finance, Finance APIs, Trading, Entrepreneurship, Development, Large Language Models (LLMs), Email Marketing, Deep Learning, Statistical Modeling, Time Series Analysis, Forecasting, Algorithmic Trading, Option Pricing, Time Series Forecasting
How to Work with Toptal
Toptal matches you directly with global industry experts from our network in hours—not weeks or months.
Share your needs
Choose your talent
Start your risk-free talent trial
Top talent is in high demand.
Start hiring