brand banner

Notes.

47 notes

  • How many sig figs to keep when doing calculations

  • Simple facts about p-value and hypothesis testing

  • Bessel's Correction, adding in quadrature, SEM

  • As t moves, x and y move at once. The rate of change of f is the directional derivative along the velocity (x'(t), y'(t)), and a dot product is a sum — so each intermediate variable contributes its own term.

  • Law of total probability (marginalization), law of total expectation, and how averaging binary cross-entropy over real and fake images gives the GAN discriminator loss.

  • Why the median minimises absolute error and the mean minimises squared error, by nudging the guess.

  • Reading e^(it) as motion: the velocity is always a 90 degree rotation of the position, so the point moves around the unit circle at unit speed and t is arc length.

  • Evaluating the integral of exp(-x^2) over the real line by squaring it and switching to polar coordinates.

  • A mathematical textbook connecting likelihood, entropy, KL divergence, statistical estimation, and probabilistic machine learning, with worked examples and solved exercises.

  • One hidden coin connects conditional independence, Bayesian updating, prediction, Naive Bayes, and maximum-likelihood estimation.

  • Harmonic Mean

    Equal-distance average speed, F1-score, parallel resistance, and HM ≤ GM ≤ AM.

  • How boundary conditions determine reflection phase and amplitude ratios, and how dispersion differs from an ordinary change in wavelength.

  • Young's double-slit experiment (§7.2): bright-fringe surfaces

  • How Handwired replaces control flow with numeric data flow, and what that does—and does not—make possible.

  • Notes
  • The bounded ratio (a-b)/(a+b) behind Michelson contrast, chi-squared histogram distance, and Fresnel reflection.

  • Understanding the kernel trick in SVMs, focusing on the roles of alpha and the inference formula.

  • The sigmoid and logit functions connect unbounded linear predictions to probabilities through log-odds.

  • Regularization

    Resources on regularization connect Lᵖ norms and their geometry to sparse model weights.

  • Compare integration by parts with substitution and use LIATE to choose the factors in a worked example.

  • Rewrite every factor in terms of the substitution variable, even when a factor does not match the substitution’s derivative.

  • L'Hôpital's Rule

    Use a logarithm to rewrite an indeterminate exponential limit as a quotient suitable for L’Hôpital’s rule.

  • Review reciprocal and absolute-value inequalities, then prove the reverse triangle inequality for real numbers.

  • Compare formal uncertainty propagation with significant-figure rules, and distinguish standard deviation from standard error.

  • Assignment 1

    Review the logarithm exponent swap rule and proof by induction for COMP 3804 Assignment 1.

  • Adding a constant feature folds the intercept into linear regression’s weight vector without conflating it with statistical bias.

  • Kinematics

    Connect jerk, acceleration, velocity, and position through units and integrals, then solve a bird-and-runner distance puzzle.

  • Measurements

    Count significant figures and use scientific notation to distinguish measured digits from placeholder zeroes.

  • AirBoard

    AirBoard is a portable digital whiteboard system engineered to allow teachers to make handwritten annotations on any flat surface using infrared diodes (~940nm), optical sensors, Computer Vision, and perspective transform.

  • Background

    Recap of prereq knowledge for COMP 3804 (Fall 2025).

  • DriveSafe AI

    Driver risk assessment from dashcam footage, using a ResNet50 + LSTM model to classify driving as safe, collision, tailgating, or weaving.

  • Early DriveSafe notes on driving behavior classification, training data, model evaluation, and ways to incorporate temporal information from video.

  • Some basic LaTeX snippets common used in Linear Algebra.

  • The Canadian government treats Nonprofits, Not-for-Profits, and Charities differently. This article explains the differences between these three types of organizations.

  • Recreation of the 'Superliminal' game's 'Forced Perspective' effect using Three.js. Used Raycaster, Quaternion Rotations, Bounding Boxes, and Linear Transformations.

  • Explains how Object3D.applyMatrix4() in Three.js modifies an object's geometry directly without affecting its world matrix, and clarifies the difference between local transformations and world-space transformations.

  • 3 best approaches to efficiently raycast from the camera and cover the entire surface of an object in Three.js.

  • yang-ts-parser

    CLI tool to automagically parse and compile YANG models into Typescript types with respect to Nokia SDN extended RESTCONF implementation. Lexer/parser grammar based on ANTLRv4.


© 2026 James Yap

Personal Website and Knowledge Base