概念
Training, inferencing, bias and fit
Training builds a model from data. Inferencing uses it. Bias and fit tell you how well it learned.
本课尚未翻译,暂以英文显示。
- 1Collect example data.
- 2Training: an algorithm learns from it.
- 3The result is a model.
- 4New data arrives later.
- 5Inference: the model turns it into a prediction.
分步说明
- 1Collect example data.
- 2Training: an algorithm learns from it.
- 3The result is a model.
- 4New data arrives later.
- 5Inference: the model turns it into a prediction.
Training builds the model once. Inferencing runs again and again on new data.
Bias
- Means
- Results are skewed against some groups or cases.
- Sign
- Quality differs between groups.
Fairness
- Means
- Similar treatment and quality for all groups.
- Sign
- Results hold up for every group.
Underfitting
- Means
- The model is too simple and misses patterns.
- Sign
- Poor on training and new data.
Overfitting
- Means
- The model memorized its training data.
- Sign
- Great on training data, poor on new data.
Good fit
- Means
- The model learned the pattern, not the noise.
- Sign
- Good on training and new data.
| Term | Means | Sign |
|---|---|---|
| Bias | Results are skewed against some groups or cases. | Quality differs between groups. |
| Fairness | Similar treatment and quality for all groups. | Results hold up for every group. |
| Underfitting | The model is too simple and misses patterns. | Poor on training and new data. |
| Overfitting | The model memorized its training data. | Great on training data, poor on new data. |
| Good fit | The model learned the pattern, not the noise. | Good on training and new data. |
1 / 3
Bias
- Means
- Results are skewed against some groups or cases.
- Sign
- Quality differs between groups.
Fairness
- Means
- Similar treatment and quality for all groups.
- Sign
- Results hold up for every group.
| Term | Means | Sign |
|---|---|---|
| Bias | Results are skewed against some groups or cases. | Quality differs between groups. |
| Fairness | Similar treatment and quality for all groups. | Results hold up for every group. |
2 / 3
Underfitting
- Means
- The model is too simple and misses patterns.
- Sign
- Poor on training and new data.
Overfitting
- Means
- The model memorized its training data.
- Sign
- Great on training data, poor on new data.
| Term | Means | Sign |
|---|---|---|
| Underfitting | The model is too simple and misses patterns. | Poor on training and new data. |
| Overfitting | The model memorized its training data. | Great on training data, poor on new data. |
3 / 3
Good fit
- Means
- The model learned the pattern, not the noise.
- Sign
- Good on training and new data.
| Term | Means | Sign |
|---|---|---|
| Good fit | The model learned the pattern, not the noise. | Good on training and new data. |
是什么
Training is when an algorithm studies example data and builds a model. An algorithm is the method that learns. The model is the result: what it learned. Inferencing is when the finished model gets new data and gives an answer, called a prediction.
Training is done once in a while and costs a lot of computing. Inferencing happens every time someone uses the model, so most running cost sits there.
是什么
Bias means the model gives unfair or skewed results, often because the training data was skewed. Fairness is the goal: similar quality for all groups. Fit is how well the model matches the data. Underfitting is too simple a model. Overfitting is a model that memorized its training data. Domain 4 covers bias and variance in depth.
要记住
- Algorithm: the learning method. Model: what training produced.
- Training builds the model. Inferencing uses it on new data.
- Bias: skewed or unfair results, often from skewed data.
- Underfitting: too simple, poor on training and new data.
- Overfitting: great on training data, poor on new data.
要记住
- A good fit works well on data the model has not seen.
考试中
- “Using a trained model to make predictions” points to inferencing.
- “Performs well on training data but poorly on new data” points to overfitting.
- “Too simple to capture the pattern” points to underfitting.