← Open Source
jacopotagliabue

MLSys-NYU-2022

Slides, scripts and materials for the Machine Learning in Finance Course at NYU Tandon, 2022.

TutorialsMLE roadmapJupyter Notebook
Open on GitHub
Momentum
+0stars in 24 hours0.0%
558
Stars
64
Forks
+0
This week
4
Contributors
Created 2022-07-29 · Updated 2026-10-01 · #17066 today
Top developers
jacopotagliabueEthanRosenthalZepengLiu1

jacopotagliabue/MLSys-NYU-2022 is ranked 17,066 with 558 stars.

Same-category comparison

jacopotagliabue/MLSys-NYU-2022 is ranked 17,066 among these 8 peers; daviddao/deep-learning-book is ranked 17,061.

Same-category comparison
NameRankMetrics
PacktPublishing/Building-Agentic-AI-Systems17,057
Language:
Jupyter Notebook
Stars:
558
Forks:
268
Description:
Building Agentic AI Systems, published by Packt.
SkalskiP/sports17,058
Language:
Jupyter Notebook
Stars:
558
Forks:
41
Description:
Cool experiments at the intersection of Computer Vision and Sports ⚽🏃.
Tongjilibo/build_MiniLLM_from_scratch17,059
Language:
Python
Stars:
558
Forks:
66
daviddao/deep-learning-book17,061
Stars:
558
Forks:
1,899
Description:
:book: MIT Deep Learning Book in PDF format.
TannerGilbert/Tutorials17,077
Language:
Jupyter Notebook
Stars:
557
Forks:
604
Description:
Code for some of my articles.
PacktPublishing/Hands-On-Machine-Learning-with-CPP17,087
Language:
C++
Stars:
556
Forks:
141
Description:
Hands-On Machine Learning with C++, published by Packt.
https-deeplearning-ai/sc-claude-code-files17,099
Language:
Jupyter Notebook
Stars:
556
Forks:
860
maykulkarni/Machine-Learning-Notebooks17,101
Language:
Jupyter Notebook
Stars:
556
Forks:
247
Description:
Machine Learning notebooks for refreshing concepts.
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguageJupyter Notebook
CategoryTutorials
SubcategoryMLE roadmap
KeywordsFinance
Stars558
Forks64
Contributors4
Created date2022-07-29
Updated date2026-10-01
Stars in 1 day0
Stars in 7 days0
Rank17,066
Previous rank16,857
Rank change-209
7-day stars rank15,890
Previous 7-day stars rank15,895
7-day stars rank change5
Total stars rank17,788
Previous total stars rank17,754
Total stars rank change-34
CountryUSA
README summary

MLSys-NYU-2022 Slides, scripts and materials for the _Machine Learning in Finance_ course at NYU Tandon, 2022. Overview DISCLAIMER: A significant part of our course is class participation (this is why, in the end, we have universities and not *just* books and repos! ), and no amount of scripts can provide the same level of educational content, or a comparable experience. Please note that this course changes substantially every year, so the best way to keep up to date with

us is. TL;DR: This repository contains some of the teaching materials by Prof. Ethan Rosenthal and myself for the 2022 course in ML at the NYU Tandon School of Engineering. The course is presented as an introduction to Machine Learning with Finance use cases and industry-standard tools. We open source slides, code snippets and assignments after the class is completed, hoping to benefit the broader community of Machine Learning students and practitioners; I had a calculus book that

said, "What one fool can do, another can. ", and I wish more and more fools could become proficient at building reliable, trust-worthy, well-crafted ML systems. We feel there are now enough books and YouTube videos for people interested purely in the theory of ML; moreover, practitioners produce a much bigger marginal value when bringing into the class their day-to-day experience, which, for the time being, cannot be as easily found on YouTube. Therefore, the course we

run is very practical and focuses on the intuitive understanding of ML problems and their solutions _through real-world tools_: we emphasize the importance of good coding habits, and the use of industry standard methodology, over complex modelling and formulas (alas, we do indeed sometimes need to talk about math). The whole course runs in 14 weeks, but we cover arguments that would keep you busy for a lifetime: every lecture, every slide, every code snippet are the result of

many explicit and implicit trade-offs - what should we cover, what should we not? While no material can substitute for real-world interactions and our great sense of humour, we leave for the open source community to judge how useful the trade-offs we picked actually are. At a glance Main themes The course is structured around 14 weeks: 13 weeks of lectures, and 1 final demo day for students (organized in teams) to present an end-to-end machine

learning project that showcases what they learned in the course. Main topics, roughly in order of appearance: Introduction to ML in Finance: use cases, tools, the rise of MLOps. Python setup for scientific computing: notebooks, environments, dependencies. ML best practices: dataset split, hyper-parameter tuning. MLOps best practices: experiment tracking, DAG-based pipelines, deployment. Rounded evaluation: slice-based metrics, behavioral testing. Introduction to embeddings: skip-gram, similarity in a latent space. Use case deep dive II: recommender systems. Repo structure

This year's repository is structured by week: each week has its folder, with a self-contained , scripts / notebooks and slides.

Frequently asked questions

How many stars and forks are recorded?

jacopotagliabue/MLSys-NYU-2022 has 558 stars and 64 forks.

What is the repository rank?

jacopotagliabue/MLSys-NYU-2022 is ranked 17,066.

What language and category are recorded?

jacopotagliabue/MLSys-NYU-2022 has 558 stars, uses Jupyter Notebook and belongs to Tutorials.

Which repository is closest in rank?

jacopotagliabue/MLSys-NYU-2022 is compared with daviddao/deep-learning-book, ranked 17,061 with 558 stars.

README

MLSys-NYU-2022

Slides, scripts and materials for the Machine Learning in Finance course at NYU Tandon, 2022.

Overview

DISCLAIMER: A significant part of our course is class participation (this is why, in the end, we have universities and not just books and repos!), and no amount of scripts can provide the same level of educational content, or a comparable experience. Please note that this course changes substantially every year, so the best way to keep up to date with us is... by enrolling in the Master!

TL;DR: This repository contains some of the teaching materials by Prof. Ethan Rosenthal and myself for the 2022 course in ML at the NYU Tandon School of Engineering. The course is presented as an introduction to Machine Learning with Finance use cases and industry-standard tools.

We open source slides, code snippets and assignments after the class is completed, hoping to benefit the broader community of Machine Learning students and practitioners; I had a calculus book that said, "What one fool can do, another can.", and I wish more and more fools could become proficient at building reliable, trust-worthy, well-crafted ML systems.

We feel there are now enough books and YouTube videos for people interested purely in the theory of ML; moreover, practitioners produce a much bigger marginal value when bringing into the class their day-to-day experience, which, for the time being, cannot be as easily found on YouTube.

Therefore, the course we run is very practical and focuses on the intuitive understanding of ML problems and their solutions through real-world tools: we emphasize the importance of good coding habits, and the use of industry standard methodology, over complex modelling and formulas (alas, we do indeed sometimes need to talk about math).

The whole course runs in 14 weeks, but we cover arguments that would keep you busy for a lifetime: every lecture, every slide, every code snippet are the result of many explicit and implicit trade-offs - what should we cover, what should we not? While no material can substitute for real-world interactions and our great sense of humour, we leave for the open source community to judge how useful the trade-offs we picked actually are.

At a glance

Main themes

The course is structured around 14 weeks: 13 weeks of lectures, and 1 final demo day for students (organized in teams) to present an end-to-end machine learning project that showcases what they learned in the course. Main topics, roughly in order of appearance:

  • Introduction to ML in Finance: use cases, tools, the rise of MLOps.
  • Python setup for scientific computing: notebooks, environments, dependencies.
  • ML best practices: dataset split, hyper-parameter tuning.
  • Modelling: classification, regression.
  • Use case deep dive I: fraud detection.
  • MLOps best practices: experiment tracking, DAG-based pipelines, deployment.
  • Rounded evaluation: slice-based metrics, behavioral testing.
  • Introduction to embeddings: skip-gram, similarity in a latent space.
  • Use case deep dive II: recommender systems.

Repo structure

This year's repository is structured by week: each week has its folder, with a self-contained README, scripts / notebooks and slides. The choice results in some redundancy (especially in the second part, where the same training loop is used several times), but provides more clarity for students pacing themselves through the course, and highlights the highly modular nature of the syllabus.

As part of the course, we emphasize the importance of virtual environments and submitting properly structured projects (notebooks are great, but we leave them for experimentation!). Each week contains a devoted requirements.txt file to make sure the scripts are reproducible.

Changelog

Compared to 2021 edition, most material is indeed new and re-vamped. As a non-exhaustive list:

  • new intro to Python / coding good practices;
  • fraud detection as a finance-specific ML use case;
  • NLP section has been replaced by a RecSys deep dive;
  • new section on the importance of metrics, and expanded discussion on evaluating models;
  • new tools: Metaflow sandbox and Streamlit apps.

Tooling overview

Intro to Python and Git

Python is the main language for Machine Learning, but it is surprisingly hard to set up a working environment. We introduce virtualenv and basics of git to get you started.

Metaflow

Metaflow is an open-source tool designed to simplify building, maintaining and deploying ML pipelines (e.g. here). Starting this year, Outerbounds provided us with free sandbox accounts (thank you!).

Streamlit

Streamlit turns Python scripts into web apps in minutes, helping with prototyping and sharing the results of our pipelines. Streamlit apps can be used to display artifacts from Metaflow, and make the model interactive for non-technical stakeholders.

Comet

Comet is a machine learning platform that can help you manage, visualize, and optimize training runs. We use Comet to keep track of our experiments, and document our progress with the rest of our team and technical stakeholders (thank you for the free account!).

Flask

Flask is a micro web framework written in Python. It allows us to build (in Python) APIs that serve predictions made by our trained model in real-time, and display the results in the browser.

Acknowledgments

Thanks to all outstanding people quoted and linked in the slides: this course is possible only because we truly stand on the shoulders of giants. Special thanks also to:

  • Hugo for being our fantastic guest speaker on Metaflow;
  • Chip for being our fantastic guest speaker on MLOps;
  • Ciro for being our fantastic guest speaker on industry applications of ML and ML careers;
  • Gideon for fantastic support and free Comet accounts for all the students.

Suggested complementary / additional readings

The main topics - Regression, Classification, Time Series, Fraud Detection, MLOps, RecSys etc. - are all huge, and we could obviously just scratch the surface. Aside from all the references to be found in the slides and READMEs, these are few good places to further explore this world.

Machine Learning

MLOps

Contacts

For questions, feedback, comments, please drop me a message at: jacopo dot tagliabue at nyu.edu.

Nearby in the ranking
Similar items