BanditPolicy Class
Defines an early termination policy based on slack criteria, and a frequency and delay interval for evaluation.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.mgmt.machinelearningservices.models._models_py3.EarlyTerminationPolicyBanditPolicy
Constructor
BanditPolicy(*, delay_evaluation: int = 0, evaluation_interval: int = 0, slack_amount: float = 0, slack_factor: float = 0, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
delay_evaluation
|
Number of intervals by which to delay the first evaluation. |
evaluation_interval
|
Interval (number of runs) between policy evaluations. |
slack_amount
|
Absolute distance allowed from the best performing run. |
slack_factor
|
Ratio of the allowed distance from the best performing run. |
Variables
Name | Description |
---|---|
delay_evaluation
|
Number of intervals by which to delay the first evaluation. |
evaluation_interval
|
Interval (number of runs) between policy evaluations. |
policy_type
|
[Required] Name of policy configuration. Required. Known values are: "Bandit", "MedianStopping", and "TruncationSelection". |
slack_amount
|
Absolute distance allowed from the best performing run. |
slack_factor
|
Ratio of the allowed distance from the best performing run. |
Azure SDK for Python
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour