March 8, 2023

2.1 What to Do if My Network Fails to Train

image-20230307235457606

1 Model Bias

image-20230323131344456

Solution: Redesign model to make it more flexible

image-20230323131440148

2 Optimization Issue

image-20230323131110970

Model Bias v.s. Optimization Issue

image-20230323131851971

3 Overfitting

A more complex model yields lower error on training data.

But large loss on testing data.

image-20230308001204296

Solution

  1. More training data

image-20230323130811173

  1. Data Augmentation

image-20230323130837409

image-20230308001820638

Too much constrain back to model bias

image-20230308001941564

4 Bias-Complexity Trade-off

image-20230308002114624

Solution: Cross Validation

image-20230323131622971

N-fold Cross Validation

image-20230308003859200

5 Mismatch

Your training and testing data have different distributions.

image-20230308004235701

Solution: To understand how data is generated.

# ML