r/learnmachinelearning • • Jan 08 '19 Bravo

All the math you might need for machine learning [list of resources] (feel free to add and comment)

746 Upvotes
  1. https://mml-book.github.io/ Well, this is literally almost all the math necessary for machine learning. Covering everything in great detail requires more than ~400 pages, but overall this is the most detailed guide on the mathematics used in machine learning.

  2. http://cs229.stanford.edu/section/cs229-linalg.pdf http://cs229.stanford.edu/section/cs229-prob.pdf These concise guides belong to the famous CS229 course by Andrew Ng and are very helpful for refreshing one's knowledge of linear algebra and probability theory. Don't expect it to be comprehensive. Expectedly, the primary purpose of the notes is to serve as a brief refresher that you can use to find out which subjects you should revisit.

  3. https://www.deeplearningbook.org/contents/linear_algebra.html https://www.deeplearningbook.org/contents/prob.html Very close in quality and coverage to the notes above. By the way, both the notes from Stanford and DL Book also include additional notes on optimization, information theory, and some other subjects. Those, however, are decently covered in mml-book.

  4. https://gwthomas.github.io/docs/math4ml.pdf These notes spend less time on each subject, which doesn't make them bad though. I would recommend using this guide as a checklist of math prerequisites.

  5. https://ipvs.informatik.uni-stuttgart.de/mlr/marc/teaching/18-Maths/paper.pdf Math for intelligent systems. The preface promises that this course will recap the essentials of linear algebra, optimization, probabilities, and statistics, which definitely sounds ambitious. Unlike other resources from the list, I have only briefly skimmed through the notes.

  6. https://explained.ai/matrix-calculus/index.html Matrix calculus you might need for machine learning.

  7. https://www.math.uwaterloo.ca/~hwolkowi/matrixcookbook.pdf A collection of facts and properties related to matrices.

  8. http://vmls-book.stanford.edu/vmls.pdf This is a great book on applied linear algebra in the context of machine learning. Not much time is spent on theoretical aspects, which is probably good considering the applied orientation of the book.

  9. http://web.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf Luckily free book on convex optimization.

  10. https://seeing-theory.brown.edu/ I wish I was taught statistics using an approach like this.

  11. https://the-learning-machine.com/article/machine-learning/linear-algebra https://the-learning-machine.com/article/machine-learning/calculus https://the-learning-machine.com/article/machine-learning/unconstrained-optimization A set of truly visual courses that help you not only understand the subject but also see what's going on under the mathematical hood.

  12. https://probabilitycourse.com/ A free and high-quality book to learn probability and statistics. I believe the author has reached some sort of balance between rigor and intuition.


r/learnmachinelearning • • Nov 30 '24

Scikit Learn ML algorithms u need

Post image
744 Upvotes

r/learnmachinelearning • • Sep 22 '26 Bravo Heartwarming Mindblown

Tutorial How to learn machine learning in 2026: the complete order, from someone who teaches it (long)

740 Upvotes

Quick background so you know where this comes from. I am a visiting professor and I currently teach NLP. Last semester my courses were on continual learning and applied NLP. Before that I spent years in big tech and in startups in engineering and research roles, and I finished my PhD last year. I see the same question here almost every day: "what should I learn next?", "do I need the math?", "I finished the course, now what?". So I sat down and wrote out, from my own experience of learning this, working in it, and now teaching it, what most people need to know and in what order to get a job in AI and, more importantly, keep it.

I am on summer break from teaching right now, so I have time and I would like to help as many learners as I can. Comment below or DM me with anything: a concept you are stuck on, what to learn for a specific job, whether your plan makes sense. I will answer.

Here is the roadmap. It is long on purpose. Learning ML on your own is mostly a problem of order: the material is not secret, it is spread across courses, books, and blog posts, and the usual reason people stall is that they hit a concept that assumed three others they skipped. This names every concept before your first model, in four stages, so you can see what is ahead and check off what you already have.

A note on time. The estimates assume 8 to 10 focused hours a week and that you do exercises, not just reading or watching videos. Reading/videos alone is definitely faster, but much less of it sticks (from my experience students dont usually remember most things even after a few weeks).

Stage 1: Python (3 to 5 weeks)

You need Python because every ML library, tutorial, and job posting assumes it, and you need a specific slice of it: the parts that show up in data loading, model code, and debugging. Web frameworks, async, and metaprogramming can wait until a project needs them.

The order I think works well, unit by unit:

  1. Getting started: why Python for ML, running it, choosing an editor, syntax basics.

  2. Environments: installing Python, virtual environments, package managers, project layout and imports. Many "it works on my machine" problems in ML are environment problems.

  3. Variables and objects: numbers, booleans and None, comparisons.

  4. Strings: literals, indexing and slicing, immutability, string methods, f-strings.

  5. Lists: basics, changing lists, nesting and copying. Copying is where beginners get bitten.

  6. Tuples and sets.

  7. Dictionaries: basics, safe access and iteration, nested dicts and comprehensions. Model configs and checkpoints are dictionaries.

  8. Control flow: conditionals, loops, loop helpers like enumerate and zip.

  9. Comprehensions, iterables, iterators, generators. Data pipelines are built out of these.

  10. Functions: defining them, flexible signatures with *args and **kwargs, scope and its pitfalls, lambdas.

  11. Type hints: reading them and the common shapes. Library docs are written in them.

  12. Classes: why classes exist, defining one, inheritance, dunder methods, dataclasses and method decorators. Every PyTorch model is a class that inherits from nn.Module.

  13. Errors: exceptions, reading a traceback, handling exceptions, context managers.

  14. Files and data I/O: reading and writing files, paths with pathlib, structured data like JSON and CSV.

  15. Modules and the standard library: imports, scripts as modules, the standard library you will use, and a map of the ML ecosystem (NumPy, pandas, scikit-learn, PyTorch).

  16. Pythonic patterns for ML: decorators as a reader, dynamic attribute access, everyday idioms, debugging habits.

Stage 2: The math ML actually uses (6 to 10 weeks)

One of the questions people ask most is how much math they need. The pieces below cover what most ML work needs. Proving theorems is not one of them. I'm coming from a research background, where you need to read an equation in a paper or a docstring and know what it is doing, and you need to know why training breaks when it does, which is usually a math reason.

Six sub-tracks, in this order.

Mathematical toolkit (1 week). This is notation, and skipping it is why equations look scary. Functions, composition and inverses. Exponents and logarithms. Trig functions and the unit circle. Summation and product notation. Argmin and argmax. Hat, tilde, and bar notation. The update arrow. Set membership and shape notation. Combinatorics. Big-O notation.

Linear algebra (3 weeks). Most models are matrix multiplication with something nonlinear in between.

  • Unit 1: scalars, vectors and matrices, span, basis and linear independence, collinearity, matrix multiplication as a linear map, transpose, outer products and other views of matrix multiplication, the Hadamard product, identity, diagonal and symmetric matrices.

  • Unit 2: systems of linear equations and Gaussian elimination, determinant, inverse and singular matrices, rank, column space and null space, trace.

  • Unit 3: the dot product, norms, lengths and distances, angles and cosine similarity, cross product, orthogonality and orthogonal matrices, invariance and equivariance, orthogonal projections, orthonormal basis, least squares.

  • Unit 4: eigenvalues and eigenvectors, change of basis, eigendecomposition, positive semi-definite matrices, Rayleigh quotient and condition number, singular value decomposition, low-rank approximation, QR and Cholesky factorizations.

  • Unit 5: tensors and tensor operations, broadcasting, einsum notation.

Calculus and optimization (2 weeks). Training is calculus: the gradient says which way to move each parameter.

  • Unit 1: limits and continuity, derivatives, partial derivatives, gradients, the Jacobian, the chain rule, matrix calculus, backpropagation through a linear layer, automatic differentiation.

  • Unit 2: the Hessian, Taylor expansion and linearization, convex functions and sets, critical points, local minima and saddle points, definiteness and the eigenvalue test.

Probability and statistics (3 weeks). A loss function is a probabilistic assumption in disguise, and evaluation is statistics.

  • Unit 1: random variables and distributions, PMF vs PDF, dependent and independent variables, joint, marginal and conditional probability, sum and product rules, the union bound, independence, the chain rule of probability, Bayes' theorem.

  • Unit 2: Bernoulli and binomial, Poisson, continuous distributions, the Gaussian, Beta, degrees of freedom, kernel density estimation, the CDF, percentiles, the exponential family.

  • Unit 3: expectation, variance and moments, covariance and correlation, conditional expectation, the multivariate Gaussian and covariance matrices, Mahalanobis distance.

  • Unit 4: the law of large numbers, the central limit theorem, standard error and confidence intervals, hypothesis tests and p-values.

  • Unit 5: maximum likelihood estimation, maximum a posteriori estimation, Bayesian inference, priors and posteriors, the posterior predictive, conjugate priors, bias and variance of an estimator.

  • Unit 6: Monte Carlo estimation, importance sampling, rejection sampling, Markov chain Monte Carlo, the reparameterization trick, bootstrap resampling.

Information theory (3 days). This is where cross-entropy comes from. Self-information, entropy, differential entropy, the maximum entropy principle, cross-entropy, KL divergence, mutual information.

Numerical computation (2 days). Why your loss turned into NaN. Floating-point representation, overflow and underflow in exponentials, the log-sum-exp trick, the exponential moving average.

You can move on when you can read the softmax cross-entropy loss as an equation and say why it is written with logs.

Stage 3: PyTorch (2 weeks)

Learn the tensor library before you learn models, because most model bugs turn out to be tensor bugs: a wrong shape, a wrong dtype, a view that was secretly a copy, a gradient that did not flow.

  • Unit 1: what PyTorch is, what a tensor is, creating tensors, tensor datatypes, tensor attributes, storage and layout, views and copies, reshaping, indexing and joining, a first look at autograd.

  • Unit 2: operating on tensors, elementwise math, broadcasting, matrix multiplication, reduction, comparison and selection.

  • Unit 3: PyTorch and NumPy, reproducibility and random number generators, devices, serialization, utilities and housekeeping.

You can move on when you can take a tensor of shape (batch, seq, features), describe what every dimension holds, and reshape it without guessing.

Stage 4: ML foundations (10 to 14 weeks)

This is the core and it is the longest stage. Deep learning specializations build on the following five units. One line per concept, in teaching order that I think makes the most sense.

Unit 1: From one neuron to a classifier

  • How machines learn: a model, a loss, and a rule for changing the model to reduce the loss.

  • The ML taxonomy: supervised, unsupervised, semi-supervised, self-supervised, and reinforcement learning, and which one your problem is.

  • The no free lunch theorem: no single model is best for every problem, which is why you learn several.

  • Data for ML: what a dataset is, features and labels, and why data quality bounds model quality.

  • The original perceptron: a weighted sum and a threshold, the first learning machine.

  • The modern artificial neuron: a weighted sum, a bias, and a nonlinear activation.

  • Linear regression: the simplest model, a line fit to points, and the template for everything after it.

  • Loss functions: a single number that says how wrong the model is, chosen to match the task.

  • Mean squared error: the default regression loss, and why it punishes big misses hardest.

  • Mean absolute error: the same idea with a linear penalty, and when outliers make it the better choice.

  • RMSE: mean squared error in the units of the target, so a human can read it.

  • Huber loss: squared near zero, linear far away, for data with a few wild points.

  • Choosing a loss function: the decision procedure, given the task and the data.

  • Information theory: measuring surprise in bits, the language classification losses are written in.

  • Entropy: the average surprise of a distribution.

  • Cross-entropy: the average surprise when you predict with one distribution and the truth follows another.

  • KL divergence: the gap between cross-entropy and entropy, the part the model can reduce.

  • Maximum likelihood estimation: pick the parameters that make the observed data most probable.

  • Loss functions as distributional assumptions: MSE assumes Gaussian noise, cross-entropy assumes a categorical, and knowing this tells you which loss to use.

  • Gradient descent: compute the slope of the loss for every parameter and step downhill.

  • Backpropagation: the chain rule applied efficiently backward through the model to get every gradient at once.

  • The training loop: forward pass, loss, backward pass, update, repeated over batches and epochs.

  • Dataloaders: how data gets batched, shuffled, and fed to the loop.

  • Sigmoid for binary classification: squashing a number into a probability between 0 and 1.

  • Logistic regression: linear regression through a sigmoid, the simplest classifier.

  • Binary cross-entropy: the loss for a yes/no prediction, and why it is computed from logits.

  • Multiclass classification with softmax: turning a vector of scores into a probability over classes.

  • Model confidence: what a predicted probability does and does not tell you.

  • Stable softmax: subtracting the max before exponentiating so it does not overflow.

  • Multilabel classification: when an input can have several labels, and why that changes the loss.

  • The geometric limit of one neuron: one neuron draws one line, and many problems are not linearly separable.

Unit 2: Deep neural networks

  • The multilayer perceptron: stacking layers of neurons so the model can draw curves, not just lines.

  • Terminology check: layers, hidden units, width, depth, weights, and biases, named precisely.

  • The universal approximation theorem: a wide enough network can represent almost any function, and why that does not mean it will learn it.

  • Why depth helps: deep networks reuse features and need far fewer units than a single wide layer.

  • Parameter counting: how to count what a layer adds, so you can size a model.

  • Parameters vs hyperparameters: what the optimizer learns versus what you set by hand.

  • Why activation functions exist: without a nonlinearity, any stack of layers collapses into one line.

  • The step function: the original activation, and why its zero gradient makes it untrainable.

  • Sigmoid: smooth, bounded, and prone to killing gradients at the extremes.

  • Tanh: sigmoid centred at zero, which trains a little better.

  • ReLU: zero below zero, identity above, the default for most networks.

  • Leaky ReLU: a small slope below zero so units cannot die.

  • GELU: a smooth ReLU used in transformers.

  • Choosing an activation function: the practical rule for each layer type.

  • Weight initialization: why the starting values decide whether signals shrink or blow up through the layers.

  • Xavier/Glorot initialization: the scaling that keeps variance steady for sigmoid and tanh.

  • Kaiming/He initialization: the scaling that does the same for ReLU.

  • Orthogonal initialization: preserving norms exactly, useful for recurrent layers.

  • Initialization in practice: what PyTorch does by default and when to override it.

  • Vanishing gradients: gradients shrinking to nothing as they pass backward through many layers.

  • Exploding gradients: the opposite, gradients growing until the update wrecks the weights.

  • Gradient clipping: capping the gradient norm so one bad batch cannot blow up training.

  • Dead neurons: ReLU units stuck at zero forever, and how to detect them.

  • The diagnostic mindset: reading symptoms of a failing network back to their cause.

Unit 3: Training that works

  • The problem with vanilla gradient descent: one learning rate for every parameter, and full-dataset gradients that are too slow.

  • The optimizer arc: how each optimizer below fixes one weakness of the one before it.

  • SGD: gradient descent on a mini-batch, noisy but fast.

  • Batch size effects: how batch size changes gradient noise, speed, and generalization.

  • Momentum: keeping a running average of past gradients so steps stop zigzagging.

  • AdaGrad: a per-parameter learning rate that shrinks as a parameter accumulates gradient.

  • RMSProp: AdaGrad with a decaying average, so the learning rate does not shrink to zero.

  • Adam: momentum plus RMSProp, with bias correction, the default optimizer.

  • AdamW: Adam with weight decay applied correctly, the default for transformers.

  • When to use which optimizer: the practical decision, by model type.

  • Learning rate: the single most important hyperparameter, and how to find a good one.

  • Learning rate scheduling: changing the learning rate over training instead of holding it fixed.

  • Linear warmup: starting small so the first updates do not wreck a fresh network.

  • Cosine annealing: decaying smoothly to near zero by the end of training.

  • Step decay: cutting the learning rate at fixed points.

  • ReduceLROnPlateau: cutting it when the validation loss stops improving.

  • Train, validation, test: three splits, each with one job, and why you never touch the test set until the end.

  • Checkpointing: saving model and optimizer state so training can resume and the best model is kept.

  • Reproducibility: seeds, deterministic operations, and why two runs still differ.

Unit 4: Generalization

  • Generalization: performing well on data the model never saw, which is what matters in the end.

  • Reading a loss curve: what the train and validation curves say about what is going wrong.

  • Overfitting: the model memorizes the training set and fails on new data.

  • Underfitting: the model is too simple or too under-trained to fit even the training set.

  • The bias-variance tradeoff: error from being too simple versus error from being too sensitive to the training sample.

  • Model complexity and dataset size: how much model your data can support.

  • The curse of dimensionality: why data gets sparse fast as features are added.

  • Double descent: why very large models can generalize well after passing through a bad zone.

  • Sample complexity bounds: rough answers to "how much data do I need?"

  • Regularization: any change that trades training fit for better generalization.

  • Weight decay (L2 regularization): shrinking weights toward zero every step.

  • L1 regularization: pushing weights to exactly zero, which selects features.

  • Dropout: randomly zeroing units during training so no unit can rely on another.

  • Max-norm regularization: capping the norm of each weight vector.

  • Label smoothing: training toward slightly soft targets so the model is not overconfident.

  • Early stopping: stop when validation loss stops improving, the cheapest regularizer.

  • Hyperparameter search: grid, random, and smarter searches, and what to search first.

Unit 5: Evaluation and diagnostics

  • Can you trust the number?: the ways an evaluation score lies to you.

  • Validation contamination: tuning on the validation set until it stops measuring anything.

  • Train/test leakage: information from the test set reaching training, and the common ways it happens.

  • Cross-validation: rotating the validation split so every example is scored once.

  • Stratified cross-validation: keeping class proportions equal across folds.

  • When not to use cross-validation: time series, huge datasets, and grouped data.

  • Classification metrics: the family, and why accuracy is rarely the one you want.

  • Accuracy: fraction correct, and how class imbalance makes it meaningless.

  • Precision and recall: of the things flagged, how many were right, and of the real things, how many were found.

  • The precision-recall tradeoff: moving the threshold buys one at the cost of the other.

  • F1 score: one number that balances precision and recall.

  • The confusion matrix: the full table of right and wrong by class, which every other metric is computed from.

  • ROC curve and AUC: performance across every threshold at once.

  • AUC-PR: the same idea on the precision-recall curve, better for rare classes.

  • MCC: a single balanced score that works on imbalanced data.

  • Regression metrics: the family for continuous targets.

  • R²: fraction of variance explained.

  • MAPE: percentage error, readable across scales, dangerous near zero.

  • Selecting a performance measure: matching the metric to what the model is for.

  • Gradient flow: checking that gradients reach every layer.

  • NaN debugging: the causes, in the order to check them.

  • Efficiency as evaluation: a model is also judged by what it costs to run.

  • Parameter count, FLOPs, latency, throughput, model size: the five cost numbers and what each one constrains.

  • Launch, monitor, and maintain: what changes once a model is serving real inputs.

  • Practical methodology: the procedure for a new problem, starting with a baseline and ending with a shipped model.

You can move on when you can take a new dataset, train a network that beats a sensible baseline, explain from the loss curves what it is doing, and pick the metrics your boss should care about.

Stage 5: Pick a direction

After the foundations, the field splits by data type. Natural language processing (NLP) covers tokenization, embeddings, language modeling, attention, and transformers. Computer vision covers images, classical processing, convolutions, vision transformers, detection, and segmentation. Theres also RL, fun agentic stuff, continual learning, and many many more subtopics.

The part most roadmaps leave out: keeping it

The list above is around 350 concepts. Reading them once rarely keeps them. Most people who finish a video course or a textbook can define only a fraction of it two months later, which is why "I did the course but I can't build anything" is such a common complaint here.

Three things fix this. Do exercises on every concept, not just the ones with code, because recall builds memory and recognition does not. Come back to each concept on a schedule, sooner if you got it wrong, later if you got it right. That is spaced repetition, and in my students it is usually the difference between finishing and knowing. And write the code from scratch at least once for anything you will use every week: a training loop, a loss function, an evaluation script.

Again, I am on break and happy to help. Ask anything in the comments or DM me: about any concept above, about AI in general, or about getting a job in it. If this helps, save it and come back to it as you tick things off. I also wrote a more detailed version of this roadmap on my blog, with time estimates per unit and what "done" looks like for each stage, so if anyone wants it just say so in the comments and I will share it.

EDIT:
A lot of you asked where to actually learn these in order, I answered in the comments.


r/learnmachinelearning • • Jan 30 '21

I created a video about Neural Networks that is specifically aimed at Python developers! If you understand the Code, you understand how to create a Neural Network from Scratch! The video took me 200h to create and is fully animated! Hope it helps you guys :)

Thumbnail
youtube.com
740 Upvotes

r/learnmachinelearning • • Feb 12 '25

How to use Kaggle to land your first ML job / internship

739 Upvotes

Hi there. I am a Lead Data Scientist with 14 years of experience. I also help Data Scientists and ML Engineers find jobs. I have been recruiting Data Scientists / ML Engineers for 7 years now. Kaggle has been very key in my professional journey. I use Kaggle now to introduce high school students to the world of Data Science.

Recently I wrote a blog post on how participating in Kaggle can help you break the infamous "no experience, no job; no job, no experience" loop.

Key points:

- find the Kaggle competition as close as possible to the use case of the company you are interviewing with

- learn from winning solutions' writeups and code, and you will get knowledge in some ways superior to your hiring manager

- be smart about how to use this knowledge: Kaggle winning solutions are often impractical for production. Rather than stating bold claims, frame it as questions.

The post: https://jobs-in-data.com/blog/how-to-use-kaggle-to-land-your-first-ml-job


r/learnmachinelearning • • Oct 18 '20

Discussion Saw Jeff Bezos a few days back trying these Giant hands. And now I found out that this technology is using Machine learning. Can anyone here discuss how did they do it with Machine learning

739 Upvotes

r/learnmachinelearning • • May 23 '20

Project A few weeks ago I made a little robot playing a game . This time I wanted it to play from visual input only like a human player would . Because the game is so simple I only used basic image classification . It sort of working but still needs a lot of improvement .

739 Upvotes

r/learnmachinelearning • • Apr 23 '20

Stanford release Andrew Ng's Machine Learning lecture from Autumn 2018 on YT

Thumbnail
youtube.com
739 Upvotes

r/learnmachinelearning • • Apr 19 '26

Meme What was the hardest part of learning ML? This is for me currently

Post image
738 Upvotes

r/learnmachinelearning • • Jan 06 '21

Project I made a ML algorithm that can morph any two images without reference points. Here is an example of how it works.

732 Upvotes

r/learnmachinelearning • • Feb 19 '20

Data visualisation in Python

Post image
729 Upvotes

r/learnmachinelearning • • Feb 11 '20

AI play T rex game based on screenshot, using reinforcement learning.(sorry for not using screenshot as my Macbook pro cannot handle the intense computation)

726 Upvotes

r/learnmachinelearning • • Apr 20 '23

Linear regression model

Post image
723 Upvotes

r/learnmachinelearning • • Feb 14 '21

Successfully wrote my first back-propagation algorithm!

Thumbnail
gallery
720 Upvotes

r/learnmachinelearning • • Nov 30 '20

Trained an LSTM NN to play NES Punchout using my custom ML library

719 Upvotes

r/learnmachinelearning • • Aug 06 '26

Meme Academics finally calls out industry's modus operandi. A little too late though now they have all the power.

Post image
716 Upvotes

r/learnmachinelearning • • Jan 17 '22

✍️Using ML to Generate Documentation

716 Upvotes

r/learnmachinelearning • • Jun 19 '24

Help I made a giant graph of topics in ML!

Post image
714 Upvotes

r/learnmachinelearning • • Jan 21 '25

Fully FREE Google ML courses

710 Upvotes

r/learnmachinelearning • • Feb 26 '25

Meme "AI Engineering is just a fad"

Post image
706 Upvotes

r/learnmachinelearning • • Nov 05 '20

Project "I forced a bot to watch over 1,000 hours of SpongeBob SquarePants and then asked it to write a SpongeBob SquarePants episode of its own."

704 Upvotes

I saw this tweet and found out that he’s actually a comedian who didn’t really train a bot. I couldn't find anyone who had tried so I did it myself. Turns out there's only around 100 hours of SpongeBob SquarePants though.

I fine-tuned the 'small' 124M GPT 2 model using gpt-2-simple on SpongeBob SquarePants episode transcripts that I scraped from the Transcripts Wiki. The GitHub repo with the code I used to generate the results is here. I plan to do more TV shows myself, but I would love to see other people try this with their favorite TV shows. The following is one of my favorite results out of the ones I generated.

Sample Results

Sandy, you need to get that nut off my back. [shivering]

A nut?! [picks up a nut]

Thats not what I was talking about! [pulls the nut off his back]

Thats not what I meant by... You got him! [shivering]

Thats not what I meant! [hangs up the nut and pulls back the nut]

Thats not what I meant by... [stops and looks around]

Where is it? Where is it? Whats the big... [stops and looks around again]

...scam? Is it going on out here? [starts pulling out his back]

Thats not where... [the nut lands on Sandys hand]

Where is it? Thats not where. Sandy, I dont think you should be doing that.

Sandy! You dont know what youre talking about.

Oh, Sandy, I know that this isnt what Im talking about.

Oh, thats okay. Its not like I dont know anything about nuttastic. [takes a deep breath]

Okay, Ill just take this. [takes the nut, puts it in a jar, and puts it in a blender]

[blends the nut, the blender, and the blender all talk at once]

Okay, this is it! [in a trance]

Sandy, you didnt do a good job. Im sorry, SpongeBob, but you failed again. [in a deeper trance]

Sandy, did you hear that? [jumps up and slams his face into a barrel]

You failed again. [stops and turns around]

Okay, okay, Sandy, I know that. I just cant imagine what Im into all the time. Im a nutcase.

[he jumps up and slams his face into the barrel]

Youre not. [jumps up on top of a barrel, picks up SpongeBob, and throws him]

You failed again. Im a nutcase. Patrick, what are you doing?

Im a nutcase. I need to get a nut. What are you doing? [jumps up on top of SpongeBob]

I need to get a big nut. Patrick, I want to talk to you.

No, I dont want to talk to you. I want to talk to... [Patrick turns around, and turns around twice, turning SpongeBob around]

Patrick, you failed again. Sandy! [starts knocking on the door, and Sandy comes in]

Look, I really am sorry for everything I did. [hanging onto the barrel, shoving it down, and then banging on it]

Not only that, but you showed up late for work? [crying]

My brain was working all night to make up for the hours I wasted on making up so much cheese.

[hanging on the barrel, then suddenly appearing] Patrick, what are you...

[Patrick turns around, and looks at him for his failure] Sandy? [crying]

I know what you did to me brain. [turns around, and runs off the barrel. Sandy comes in again]

[screams] What the...? [gets up, exhausted]

Oh, Patrick, I got you something. [takes the nut off of SpongeBobs head]

Thats it. [takes the nut from SpongeBobs foot] Thats it. [takes the nut off his face. He chuckles, then sighs]

Thats the last nut I got. [walks away] Patrick, maybe you can come back later.

Oh, sure, Im coming with you. [hangs up the barrel. Sandy walks into SpongeBobs house] [annoyed]

Nonsense, buddy. You let Gary go and enjoy his nice days alone. [puts her hat on her head]

You promise me? [she pulls it down, revealing a jar of chocolate]

You even let me sleep with you? [she opens the jar, and a giggle plays]

Oh, Neptune, that was even better than that jar of peanut chocolate I just took. [she closes the door, and Gary walks into his house, sniffles]

Gary? [opens the jar] [screams, and spits out the peanut chocolate]

Gary?! [SpongeBob gets up, desperate, and runs into his house, carrying the jar of chocolate. Gary comes back up, still crying]

SpongeBob! [SpongeBob sees the peanut chocolate, looks in the jar, and pours it in a bucket. Then he puts his head in the bucket and starts eating the chocolate. Gary slithers towards SpongeBobs house, still crying]

SpongeBobs right! [SpongeBob notices that some of the peanut chocolate is still in the bucket, so he takes it out. Then he puts the lid on the bucket, so that no


r/learnmachinelearning • • May 17 '22

Take a look at this machine learning cheat sheet for the top machine learning algorithms, their advantages and disadvantages, and key use-cases.

Post image
703 Upvotes

r/learnmachinelearning • • Feb 07 '22 Bravo

Discussion LSTM Visualized

702 Upvotes

r/learnmachinelearning • • Jan 12 '20

gradient descent visualisation in linear regression.

699 Upvotes