Hi👋

I’m Renyi Qu. Welcome to my minimalist AI handbook.

Each model/method is decomposed in the following structure:

  • Why: Why do we need it? What’s the motivation? What’s the problem?
  • What: What’s the intuition? What’s the mechanism? What are the components?
  • How: How do we use it? How do we apply it?
  • When: When can we use it? What are the assumptions/conditions?
  • Where: Where can we apply it?
  • Pros & Cons: What should we consider when using it?

Common notations include (section-specific notations take higher priority):

  • mathematical expression or equation : scalar / concept abstraction
  • mathematical expression or equation : vector
  • mathematical expression or equation : matrix / random variable
  • mathematical expression or equation : set
  • mathematical expression or equation : norm (for continuous vectors) / count (for discrete vectors)
  • mathematical expression or equation : count
  • mathematical expression or equation : estimator
  • mathematical expression or equation : #samples in the input batch
  • mathematical expression or equation : #features in the input sample
  • mathematical expression or equation : #classes in the training set
  • mathematical expression or equation : sample index
  • mathematical expression or equation : feature index
  • mathematical expression or equation : class index
  • mathematical expression or equation : training set
  • mathematical expression or equation : class set
  • mathematical expression or equation : all values of mathematical expression or equation th feature for samples from mathematical expression or equation th class
  • mathematical expression or equation : input matrix of shape mathematical expression or equation (add mathematical expression or equation if bias is needed)
  • mathematical expression or equation : output vector of shape mathematical expression or equation
  • mathematical expression or equation : params (add mathematical expression or equation if bias is needed)