All Projects → dingran → Quant Notes

dingran / Quant Notes

Quantitative Interview Preparation Guide, updated version here ==>

Projects that are alternatives of or similar to Quant Notes

Basic Mathematics For Machine Learning
The motive behind Creating this repo is to feel the fear of mathematics and do what ever you want to do in Machine Learning , Deep Learning and other fields of AI
Stars: ✭ 300 (+66.67%)
Mutual labels:  jupyter-notebook, statistics, linear-algebra, probability, calculus
Strategems.jl
Quantitative systematic trading strategy development and backtesting in Julia
Stars: ✭ 106 (-41.11%)
Mutual labels:  finance, quantitative-finance, quantitative-trading, optimization
data-science-notes
Open-source project hosted at https://makeuseofdata.com to crowdsource a robust collection of notes related to data science (math, visualization, modeling, etc)
Stars: ✭ 52 (-71.11%)
Mutual labels:  statistics, calculus, linear-algebra, probability
Turingtrader
The Open-Source Backtesting Engine/ Market Simulator by Bertram Solutions.
Stars: ✭ 132 (-26.67%)
Mutual labels:  finance, quantitative-finance, quant, quantitative-trading
Quant Finance Resources
Courses, Articles and many more which can help beginners or professionals.
Stars: ✭ 36 (-80%)
Mutual labels:  quantitative-finance, quant, linear-algebra, probability
Qlib
Qlib is an AI-oriented quantitative investment platform, which aims to realize the potential, empower the research, and create the value of AI technologies in quantitative investment. With Qlib, you can easily try your ideas to create better Quant investment strategies. An increasing number of SOTA Quant research works/papers are released in Qlib.
Stars: ✭ 7,582 (+4112.22%)
Mutual labels:  finance, quantitative-finance, quant, quantitative-trading
Hackermath
Introduction to Statistics and Basics of Mathematics for Data Science - The Hacker's Way
Stars: ✭ 1,380 (+666.67%)
Mutual labels:  jupyter-notebook, statistics, linear-algebra, calculus
Teaching
Teaching Materials for Dr. Waleed A. Yousef
Stars: ✭ 435 (+141.67%)
Mutual labels:  statistics, linear-algebra, probability, optimization
Awesome Quant
A curated list of insanely awesome libraries, packages and resources for Quants (Quantitative Finance)
Stars: ✭ 8,205 (+4458.33%)
Mutual labels:  finance, quantitative-finance, quant, quantitative-trading
Math Php
Powerful modern math library for PHP: Features descriptive statistics and regressions; Continuous and discrete probability distributions; Linear algebra with matrices and vectors, Numerical analysis; special mathematical functions; Algebra
Stars: ✭ 2,009 (+1016.11%)
Mutual labels:  statistics, finance, linear-algebra, probability
Zvt
modular quant framework.
Stars: ✭ 1,801 (+900.56%)
Mutual labels:  quantitative-finance, quant, quantitative-trading
Bulbea
🐗 🐻 Deep Learning based Python Library for Stock Market Prediction and Modelling
Stars: ✭ 1,585 (+780.56%)
Mutual labels:  finance, quantitative-finance, quantitative-trading
Competitiveprogrammingquestionbank
This repository contains all the popular competitive programming and DSA questions with solutions.
Stars: ✭ 122 (-32.22%)
Mutual labels:  interview-questions, interview-preparation, coding-interviews
Tradingstrategies
Algorithmic trading strategies
Stars: ✭ 120 (-33.33%)
Mutual labels:  finance, quantitative-finance, quantitative-trading
Hyperlearn
50% faster, 50% less RAM Machine Learning. Numba rewritten Sklearn. SVD, NNMF, PCA, LinearReg, RidgeReg, Randomized, Truncated SVD/PCA, CSR Matrices all 50+% faster
Stars: ✭ 1,204 (+568.89%)
Mutual labels:  jupyter-notebook, statistics, optimization
Financial Machine Learning
A curated list of practical financial machine learning tools and applications.
Stars: ✭ 2,172 (+1106.67%)
Mutual labels:  finance, quant, quantitative-finance
Technical Interview Guide
My learning material for technical interviews!
Stars: ✭ 76 (-57.78%)
Mutual labels:  interview-questions, interview-preparation, coding-interviews
Leetcode Sol Res
Clean, Understandable Solutions and Resources for LeetCode Online Judge Algorithm Problems.
Stars: ✭ 1,647 (+815%)
Mutual labels:  interview-questions, interview-preparation, coding-interviews
Algorithms Leetcode Javascript
Algorithms resolution in Javascript. Leetcode - Geeksforgeeks - Careercup
Stars: ✭ 157 (-12.78%)
Mutual labels:  interview-questions, interview-preparation, coding-interviews
Interview Preparations
This repository contains coding assessments and their solutions for various IT companies
Stars: ✭ 148 (-17.78%)
Mutual labels:  interview-questions, interview-preparation, coding-interviews

Preparations for DS/AI/ML/Quant

What is this

A short list of resources and topics covering the essential quantitative tools for data scientists, AI/machine learning practitioners, quant developers/researchers and those who are preparing to interview for these roles.

At a high-level we can divide things into 3 main areas:

  1. Machine Learning
  2. Coding
  3. Math (calculus, linear algebra, probability, etc)

Depending on the type of roles, the emphasis can be quite different. For example, AI/ML interviews might go deeper into the latest deep learning models, while quant interviews might cast a wide net on various kinds of math puzzles. Interviews for research-oriented roles might be lighter on coding problems or at least emphasize on algorithms instead of software designs or tooling.

List of resources

A minimalist list of the best/most practical ones:

Machine Learning:

Coding:

Math:

  • Calculus and Linear Algebra: undergrad class would be the best, refresher notes from CS229 link
  • Probability: Harvard Stats110 link; book from the same professor
  • Statistics: Shaum's Outline link
  • Numerical Methods and Optimization: these are two different topics really, college courses are probably the best bet. I have yet to find good online courses for them. But don't worry, most interviews won't really touch on them.

List of topics

Here is a list of topics from which interview questions are often derived. The depth and trickiness of the questions certainly depend on the role and the company.

Under topic I try to add a few bullet points of the key things you should know.

Machine learning

  • Models (roughly in decreasing order of frequency)
    • Linear regression
      • e.g. assumptions, multicollinearity, derive from scratch in linear algebra form
    • Logistic regression
      • be able to write out everything from scratch: from definitng a classficiation problem to the gradient updates
    • Decision trees/forest
      • e.g. how does a tree/forest grow, on a pseudocode level
    • Clustering algorithms
      • e.g. K-means, agglomerative clustering
    • SVM
      • e.g. margin-based loss objectives, how do we use support vectors, prime-dual problem
    • Generative vs discriminative models
      • e.g. Gaussian mixture, Naive Bayes
    • Anomaly/outlier detection algorithms (DBSCAN, LOF etc)
    • Matrix factorization based models
  • Training methods
    • Gradient descent, SGD and other popular variants
      • Understand momentum, how they work, and what are the diffrences between the popular ones (RMSProp, Adgrad, Adadelta, Adam etc)
      • Bonus point: when to not use momentum?
    • EM algorithm
    • Gradient boosting
  • Learning theory / best practice (see Andrew's advice slides)
    • Bias vs variance, regularization
    • Feature selection
    • Model validation
    • Model metrics
    • Ensemble method, boosting, bagging, bootstraping
  • Generic topics on deep learning

Coding essentials

The bare minimum of coding concepts you need to know well.

  • Data structures:
    • array, dict, link list, tree, heap, graph, ways of representing sparse matrices
  • Sorting algorithms:
    • see this from brilliant.org
  • Tree/Graph related algorithms
    • Traversal (BFS, DFS)
    • Shortest path (two sided BFS, dijkstra)
  • Recursion and dynamic programming

Calculus

Just to spell things out

  • Derivatives
    • Product rule, chain rule, power rule, L'Hospital's rule,
    • Partial and total derivative
    • Things worth remembering
      • common function's derivatives
      • limits and approximations
    • Applications of derivatives: e.g. this
  • Integration
    • Power rule, integration by sub, integration by part
    • Change of coordinates
  • Taylor expansion
    • Single and multiple variables
    • Taylor/McLauren series for common functions
    • Derive Newton-Raphson
  • ODEs, PDEs (common ways to solve them analytically)

Linear algebra

  • Vector and matrix multiplication
  • Matrix operations (transpose, determinant, inverse etc)
  • Types of matrices (symmetric, Hermition, orthogonal etc) and their properties
  • Eigenvalue and eigenvectors
  • Matrix calculus (gradients, hessian etc)
  • Useful theorems
  • Matrix decomposition
  • Concrete applications in ML and optimization

Probability

Solving probability interview questions is really all about pattern recognition. To do well, do plenty of exercise from this and this. This topic is particularly heavy in quant interviews and usually quite light in ML/AI/DS interviews.

  • Basic concepts
    • Event, outcome, random variable, probability and probability distributions
  • Combinatorics
    • Permutation
    • Combinations
    • Inclusion-exclusion
  • Conditional probability
    • Bayes rule
    • Law of total probability
  • Probability Distributions
    • Expectation and variance equations
    • Discrete probability and stories
    • Continuous probability: uniform, gaussian, poisson
  • Expectations, variance, and covariance
    • Linearity of expectation
      • solving problems with this theorem and symmetry
    • Law of total expectation
    • Covariance and correlation
    • Independence implies zero correlation
    • Hash collision probability
  • Universality of Uniform distribution
    • Proof
    • Circle problem
  • Order statistics
    • Expectation of min and max and random variable
  • Graph-based solutions involving multiple random variables
    • e.g. breaking sticks, meeting at the train station, frog jump (simplex)
  • Approximation method: Central Limit Theorem
  • Approximation method: Poisson Paradigm
    • Definition, examples (duplicated draw, near birthday problem)
  • Poisson count/time duality
    • Poisson from poissons
  • Markov chain tricks
    • Various games, introduction of martingale

Statistics

  • Z-score, p-value
  • t-test, F-test, Chi2 test (know when to use which)
  • Sampling methods
  • AIC, BIC

[Optional] Numerical methods and optimization

  • Computer errors (e.g. float)
  • Root finding (newton method, bisection, secant etc)
  • Interpolating
  • Numerical integration and difference
  • Numerical linear algebra
    • Solving linear equations, direct methods (understand complexities here) and iterative methods (e.g. conjugate gradient)
    • Matrix decompositions/transformations (e.g. QR, LU, SVD etc)
    • Eigenvalue (e.g. power iteration, Arnoldi/Lanczos etc)
  • ODE solvers (explicit, implicit)
  • Finite-difference method, finite-element method
  • Optimization topics: TBA
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].