MIT 6.390 Intro to Machine Learning: 7 Convolutional Neural Networks (Repost)

  6.390 - Intro to Machine Learning

Reposted from Chapter 7: Convolutional Neural Networks of the MIT 6.390 Intro to Machine Learning course notes, © Massachusetts Institute of Technology and the 6.390 (formerly 6.036) course staff, licensed under CC BY-NC-SA 4.0. Changes made on 2026-11-20: converted from the course website to Markdown; side notes and boxed notes shown as quotes; links to other chapters point to the original site; a figure from MathWorks left out, since the course license doesn’t cover it. This post is shared under the same license.

So far, we have studied what are called fully connected neural networks, in which all of the units in one layer are connected to all of the units in the next layer. This is a good arrangement when we don’t know anything about the kind of mapping from inputs to outputs that we will be asking the network to approximate. However, if we do know something about our problem, it is better to build that knowledge into the structure of the neural network. Doing so can save computation time and significantly reduce the amount of training data required to arrive at a solution that generalizes robustly.

Read more

MIT 6.390 Intro to Machine Learning: 8 Representation Learning (Repost)

  6.390 - Intro to Machine Learning

Reposted from Chapter 8: Representation Learning of the MIT 6.390 Intro to Machine Learning course notes, © Massachusetts Institute of Technology and the 6.390 (formerly 6.036) course staff, licensed under CC BY-NC-SA 4.0. Changes made on 2026-11-20: converted from the course website to Markdown; side notes and boxed notes shown as quotes; links to other chapters point to the original site. This post is shared under the same license.

In previous chapters, we have largely focused on supervised learning, using training samples that have both features/inputs and corresponding labels/outputs, to learn models that predict labels for new data. A recurring theme, however, has been the importance of how data is represented. In Chapter 5, we saw that choosing the right feature transformation can make the difference between a model that works and one that doesn’t. In Chapter 7, we saw that convolutional neural networks learn hierarchical features automatically from data. This chapter steps back to ask a broader question: can we learn good representations of data directly, and why would we want to?

Read more

MIT 6.390 Intro to Machine Learning: 9 Transformers (Repost)

  6.390 - Intro to Machine Learning

Reposted from Chapter 9: Transformers of the MIT 6.390 Intro to Machine Learning course notes, © Massachusetts Institute of Technology and the 6.390 (formerly 6.036) course staff, licensed under CC BY-NC-SA 4.0. Changes made on 2026-11-20: converted from the course website to Markdown; side notes and boxed notes shown as quotes; links to other chapters point to the original site. This post is shared under the same license.

Transformers are a very recent family of architectures that were originally introduced in the field of natural language processing (NLP) in 2017, as an approach to process and understand human language. Since then, they have revolutionized not only NLP but also other domains such as image processing and multi-modal generative AI. Their scalability and parallelizability have made them the backbone of large-scale foundation models, such as GPT, BERT, and Vision Transformers (ViT), powering many state-of-the-art applications.

Read more

MIT 6.390 Intro to Machine Learning: 10 Non-parametric Models (Repost)

  6.390 - Intro to Machine Learning

Reposted from Chapter 10: Non-parametric Models of the MIT 6.390 Intro to Machine Learning course notes, © Massachusetts Institute of Technology and the 6.390 (formerly 6.036) course staff, licensed under CC BY-NC-SA 4.0. Changes made on 2026-11-20: converted from the course website to Markdown; side notes and boxed notes shown as quotes; links to other chapters point to the original site; a figure reproduced from Breiman et al. (1984) left out, since the course license doesn’t cover it. This post is shared under the same license.

Neural networks have adaptable complexity in the sense that we can try different architectures and use cross-validation to pick one that works well on our data. In this chapter we turn to models that adapt their complexity automatically to the training data: the name non-parametric is misleading: these methods do have parameters, but the size of the parameterization can grow as we acquire more data, rather than being fixed in advance.

Read more

MIT 6.390 Intro to Machine Learning: 11 Markov Decision Processes (Repost)

  6.390 - Intro to Machine Learning

Reposted from Chapter 11: Markov Decision Processes of the MIT 6.390 Intro to Machine Learning course notes, © Massachusetts Institute of Technology and the 6.390 (formerly 6.036) course staff, licensed under CC BY-NC-SA 4.0. Changes made on 2026-11-20: converted from the course website to Markdown; side notes and boxed notes shown as quotes; links to other chapters point to the original site. This post is shared under the same license.

Consider a robot learning to navigate through a maze, a game-playing AI developing strategies through self-play, or a self-driving car making driving decisions in real-time. These problems share a common challenge: the agent must make a sequence of decisions where each choice affects future possibilities and rewards. Unlike static prediction tasks where we learn a one-time mapping from inputs to outputs, these problems require reasoning about the consequences of actions over time.

Read more

MIT 6.390 Intro to Machine Learning: 12 Reinforcement Learning (Repost)

  6.390 - Intro to Machine Learning

Reposted from Chapter 12: Reinforcement Learning of the MIT 6.390 Intro to Machine Learning course notes, © Massachusetts Institute of Technology and the 6.390 (formerly 6.036) course staff, licensed under CC BY-NC-SA 4.0. Changes made on 2026-11-20: converted from the course website to Markdown; side notes and boxed notes shown as quotes; links to other chapters point to the original site. This post is shared under the same license.

Reinforcement learning (RL) is a type of machine learning where an agent learns to make decisions by interacting with an environment. Unlike other learning paradigms, RL has several distinctive characteristics:

Read more

MIT 6.390 Intro to Machine Learning: Appendix A Matrix Calculus (Repost)

  6.390 - Intro to Machine Learning

Reposted from Appendix A: Matrix Calculus of the MIT 6.390 Intro to Machine Learning course notes, © Massachusetts Institute of Technology and the 6.390 (formerly 6.036) course staff, licensed under CC BY-NC-SA 4.0. Changes made on 2026-11-20: converted from the course website to Markdown; side notes and boxed notes shown as quotes; links to other chapters point to the original site. This post is shared under the same license.

A.1 Single-variable Calculus

We all know how to calculate a derivative in single-variable calculus. If we have an input variable \(x \in \mathbb{R}\) and a function \(f(x): \mathbb{R} \rightarrow \mathbb{R}\), then:

Read more

MIT 6.390 Intro to Machine Learning: Appendix B Optimizing Neural Networks (Repost)

  6.390 - Intro to Machine Learning

Reposted from Appendix B: Optimizing Neural Networks of the MIT 6.390 Intro to Machine Learning course notes, © Massachusetts Institute of Technology and the 6.390 (formerly 6.036) course staff, licensed under CC BY-NC-SA 4.0. Changes made on 2026-11-20: converted from the course website to Markdown; side notes and boxed notes shown as quotes; links to other chapters point to the original site. This post is shared under the same license.

B.1 Momentum and adaptive learning rates

B.1.1 Running averages

We’ll start by looking at the notion of a running average. It’s a computational strategy for estimating a possibly weighted average of a sequence of data. Let our data sequence be \(c_1, c_2, \ldots\); then we define a sequence of running average values, \(C_0, C_1, C_2, \ldots\) using the equations

Read more

MIT 6.390 Intro to Machine Learning: Appendix C Supervised learning in a nutshell (Repost)

  6.390 - Intro to Machine Learning

Reposted from Appendix C: Supervised Learning in a Nutshell of the MIT 6.390 Intro to Machine Learning course notes, © Massachusetts Institute of Technology and the 6.390 (formerly 6.036) course staff, licensed under CC BY-NC-SA 4.0. Changes made on 2026-11-20: converted from the course website to Markdown; side notes and boxed notes shown as quotes; links to other chapters point to the original site. This post is shared under the same license.

In which we try to describe the outlines of the “lifecycle” of supervised learning, including hyperparameter tuning and evaluation of the final product.

Read more

Scientific Agent Skills (Repost)

  GitHub · K-Dense-AI

Reposted from the Scientific Agent Skills README on GitHub, as it stood on 11 November 2026 (version 2.72.0). Copyright (c) 2025 K-Dense Inc., used under the MIT License; the full license notice is at the end of this post. A Chinese translation is on the Chinese blog.

A collection of 177 scientific and research skills for AI agents, created by K-Dense. The skills cover biology, chemistry, medicine, physics, engineering, Earth science, data analysis, and scientific communication. Each provides guidance for a specific package, data source, or workflow, including the scientific conventions and validation checks needed to use it.

Read more