Scope: The Reddit post shows one image, with Questions 1–5. The instructions mention 15 questions, but Questions 6–15 aren’t visible. This is an independent solution, not an official answer key.
Follow the only path from b to the output
The task is to differentiate f(x,y) = a x² log(by + c) with respect to b, keeping the other scalars fixed.
Exam answer: ∂f/∂b = ax²y / (by + c), assuming a natural log and by + c > 0.
ELI5: Turn the b knob a little. The multiply-and-add stage changes by y times that tweak. The log then shrinks or amplifies the change by 1/(by+c). The final multiplier, ax², scales it one last time.
Actually backpropagate
Forward: u = by + c → v = ln(u) → f = s·v, with s = ax². Backward: start from ∂f/∂f = 1 and pass the sensitivity left:
- At
v:∂f/∂v = s. - At
u:∂f/∂u = s · (1/u). - At
b:∂f/∂b = (s/u) · y.
The s branch contributes no extra term because s does not depend on b. If y = 0 and the log is defined, the derivative is zero: the knob is disconnected.
Numerical check
Set a = 2, x = 2, y = 3, b = 1, c = 1. The formula gives 6. Nudging b in both directions by 0.00001 gives a centered finite-difference estimate of about 6.0000000001.
A point can have zero loss and still support the fit
The solid line is the prediction; the dashed lines are the ±ε error tolerance.
(a) B, E, H, I are the intended support vectors. H and I are outside; B and E are drawn on the tube walls and are treated as active in the diagram.
(b) A, B, C, D, E, F, G have zero loss. H and I do not.
ELI5: Imagine an allowance of $2. An error of exactly $2 is free, but it sits right at the point where a tiny change can start costing you. An error of $3 costs only the $1 beyond the allowance.
r = observed y − predicted y
ε-insensitive loss = max(0, |r| − ε)
Inside the tube, both residual constraints are slack and their dual coefficients vanish. Outside the tube, a slack variable is positive and the corresponding coefficient is C in standard SVR with linear slack penalty. On a wall, a constraint is tight and its coefficient can be nonzero even though the point’s loss is zero.
What the drawing cannot strictly prove
A wall point can have a zero coefficient in a degenerate solution. Only the fitted coefficients prove whether B and E are support vectors in the strict dual sense; the list above is the natural exam reading. See Smola and Schölkopf’s SVR tutorial.
Follow local neighbors, not competing centers
The desired split is one cluster of circles and one cluster of four plus signs.
(a) DBSCAN is the reliable choice for this diagram. Ordinary Euclidean fuzzy c-means can split the broad group of circles and attach its right side to the plus signs.
(b) Try DBSCAN ε ≈ 3 grid units and MinPts = 3 (counting the point itself). With fuzzy c-means, c = 2 and m = 2 did not recover the desired split on the approximate digitization.
ELI5: DBSCAN asks whether nearby people can pass a message along a chain. Fuzzy c-means asks everyone how close they are to each of two meeting points. In a big crowd next to four people, putting both meeting points near the crowd can reduce the overall travel cost.
Why ε ≈ 3 works
The plus signs are roughly two grid units apart along the sides, so each can find itself and two adjacent plus signs within the radius. The shortest cross-group distance in the reconstruction is about 4.28 units, so radius 3 cannot bridge the groups. The circles form a connected network of core points and reachable border points at that setting. Too small a radius can fragment the circles; a radius large enough to connect core points across the gap can merge the groups.
Why fuzzy membership doesn't fix the split
Fuzzy c-means minimizes the sum of membershipᵐ × squared distance to center over all points and centers. With Euclidean distance and ordinary memberships, the largest membership goes to the nearer center. Here a single straight separator could divide the markers; the issue is where the algorithm puts the two centers, not whether such a line exists.
Reconstruction check and limits
With the approximate coordinates used above, an alternating fuzzy c-means fit at m = 2 from 100 two-point random initializations gave the same hard grouping: all four pluses together with 11 circles, and the other 18 circles in the second group. This is a test of a standard setup, not proof that every imaginable initialization, metric, or weighted variant must fail. See the original DBSCAN paper for core and density reachability.
Change what each SVM learns from
Exam answer: (1) Train on different bootstrap samples of rows. (2) Train on different subsets of features. Both keep each SVM linear but can move its decision boundary.
- Bagging rows: sample the training rows with replacement for each model. Some marginal examples are omitted or repeated, changing which points set or violate the margin and how much their errors matter.
- Random feature subspaces: give each model a different subset of columns. E.g., for spam, one model sees message text and another sees sender and link features. Each fits an ordinary linear decision function in its own subspace.
ELI5: Either show each judge a different set of examples or let each judge inspect different clues. You want judges who are individually competent but don’t make exactly the same mistakes.
Combine hard predictions by majority vote, or combine decision scores with attention to score scales. Averaging raw linear scores is itself linear in the original features after zero-filling missing coefficients; majority votes of thresholded scores need not be. Simply changing the seed of a solver on the same convex problem is not a dependable way to create meaningful diversity.
σ controls how many neighbors matter
The task is to map 50-dimensional observations into two dimensions. The input distribution gives each point a probability budget over its neighbors; the map is optimized to reflect those relationships.
(a) Very large σ gives nearly uniform input similarities: almost everyone is equally important. Very small σ puts nearly all mass on the closest neighbor (or splits it among tied closest neighbors).
(b) Pick a target perplexity and binary-search for the corresponding bandwidth, ordinarily a separate σi per point. If restricted to one shared σ, tune it against an aggregate criterion such as mean row entropy.
ELI5: σ is how far your point can see. If it can see practically forever, it stops telling close friends from strangers. If it can barely see, it knows its closest friend and forgets the rest of the neighborhood.
p(j | i) ∝ exp(−dist(xᵢ, xⱼ)² / (2σᵢ²))
perplexity = exp(−Σⱼ p(j | i) · ln p(j | i))
Perplexity is the effective number of neighbors: a uniform distribution over three choices has perplexity 3; one choice with all the mass has perplexity 1. If current perplexity is too low, raise σ; if it is too high, lower σ. A point in a denser region typically needs a smaller σ than one in a sparse region for the same target.
Two notation traps and what KL is doing
The sheet appears to print x distances in the map distribution. Read those as distances between y coordinates. Taken literally with x on both sides, the loss would be constant in Y. Also, the sheet writes a row-wise objective; standard t-SNE instead uses symmetrized joint input probabilities and globally normalized Student-t map probabilities. The σ limits are about the input Gaussian and hold either way.
KL from input to map penalizes assigning tiny map probability to a neighbor with large input probability. At tiny σ, that mostly asks each point to preserve its closest ties, not to recover a global layout. At huge σ, the input offers virtually no guidance about which pairs are special; it does not uniquely prescribe a uniformly spread plot.