ladderlore
  • S3 သို့မဟုတ် IAM လို service အမည်ကို ရိုက်ထည့်ပါ။

သဘောတရား

Hyperparameters and tuning

Settings you choose before training, and how to search for good values.

ဒီသင်ခန်းစာကို မြန်မာဘာသာ မပြန်ရသေးလို့ အင်္ဂလိပ်လို ပြထားပါတယ်။

  • Learning rate

    Controls
    How big each learning step is
    Watch for
    Too high overshoots, too low is slow
  • Batch size

    Controls
    Examples used in each step
    Watch for
    Affects speed and memory
  • Epochs

    Controls
    Passes over the training set
    Watch for
    Too many can overfit
  • Regularization

    Controls
    A penalty for a complex model
    Watch for
    Helps stop overfitting
Four common hyperparameters and what each controls.

1 / 2

  • Learning rate

    Controls
    How big each learning step is
    Watch for
    Too high overshoots, too low is slow
  • Batch size

    Controls
    Examples used in each step
    Watch for
    Affects speed and memory
  • Epochs

    Controls
    Passes over the training set
    Watch for
    Too many can overfit

2 / 2

  • Regularization

    Controls
    A penalty for a complex model
    Watch for
    Helps stop overfitting
Four common hyperparameters and what each controls.

ဘာလဲ

A hyperparameter is a setting you choose before training starts. The model does not learn it. The weights inside the model are different: training learns them. Common hyperparameters are the learning rate (how big each learning step is), the batch size (how many examples are used in each step), the number of epochs (how many times the model passes over the whole training set) and regularization (a penalty that keeps the model simple).

Tuning means trying different values and keeping the ones that work best on the validation set. Doing this by hand is slow, so Amazon SageMaker AI automatic model tuning runs many training jobs and finds good values for you.

ဘာလဲ

Hyperparameters also help fix fit problems. An overfit model memorized its training data: give it more data, stop training earlier (early stopping), add regularization or use a simpler model. An underfit model is too simple: train longer, add features or use a bigger model.

မှတ်ထားရန်

  • Hyperparameters are set before training. Weights are learned during training.
  • Common ones: learning rate, batch size, epochs and regularization.
  • Tuning searches for good values. SageMaker AI automatic model tuning does the search.
  • Overfitting fixes: more data, early stopping, regularization, a simpler model.

မှတ်ထားရန်

  • Underfitting fixes: train longer, add features, use a bigger model.

စာမေးပွဲမှာ

  • “A setting chosen before training starts” points to a hyperparameter.
  • “Find the best settings automatically” points to automatic model tuning in Amazon SageMaker AI.
  • “The model memorized the training data” points to more data, regularization or a simpler model.