Prima di poter visualizzare i log degli iperparametri per il modello, devi addestrarlo.
Per eseguire questa attività, devi disporre delle seguenti
autorizzazioni:
logging.logServiceIndexes.list sul progetto
logging.logServices.list sul progetto
Visualizzazione dei log di addestramento
Puoi utilizzare la console Google Cloud per accedere ai log degli iperparametri del modello finale e ai log degli iperparametri delle prove di ottimizzazione.
Nella console Google Cloud , vai alla pagina Modelli di Vertex AI.
timestamp: la data e l'ora in cui è stato creato il modello o è stata eseguita la prova.
Contenuti del payload per il log degli iperparametri del modello finale
Il campo jsonPayload per il log degli iperparametri del modello finale contiene un campo
modelParameters. Questo campo contiene una voce per ogni modello che
contribuisce al modello di ensemble finale. Ogni voce ha un campo hyperparameters, il cui contenuto dipende dal tipo di modello. Per maggiori dettagli, consulta l'elenco degli iperparametri.
Contenuto del payload per il log degli iperparametri di una prova di ottimizzazione
Il campo jsonPayload per il log degli iperparametri di una prova di ottimizzazione contiene i seguenti campi:
Campo
Tipo
Descrizione
modelStructure
JSON
Una descrizione della struttura del modello Vertex AI.
Questo campo contiene un campo modelParameters. Il campo
modelParameters ha un campo hyperparameters
il cui contenuto dipende dal tipo di modello. Per maggiori dettagli, consulta l'elenco degli iperparametri.
trainingObjectivePoint
JSON
L'obiettivo di ottimizzazione utilizzato per l'addestramento del modello.
Questa voce include un timestamp e un valore obiettivo al momento della registrazione della voce di log.
Elenco degli iperparametri
I dati degli iperparametri forniti nei log variano in base al tipo di modello. Le sezioni seguenti descrivono gli iperparametri per ciascun
tipo di modello.
Modelli Gradient Boosted Decision Tree
Regolarizzazione L1 dell'albero
Regolarizzazione L2 dell'albero
Profondità massima albero
Tipo di modello: GBDT
Numero di alberi
Complessità dell'albero
Modelli di rete neurale feed-forward
Tasso di abbandono
Abilita batchNorm (True o False)
Attiva incorporamento L1 (True o False)
Attiva incorporamento L2 (True o False)
Attiva L1 (True o False)
Attiva L2 (True o False)
Attiva layerNorm (True o False)
Attiva l'incorporamento numerico (True o False)
Dimensioni dello strato nascosto
Tipo di modello: nn
Normalizza colonna numerica (True o False)
Numero di livelli incrociati
Numero di livelli nascosti
Ignora il tipo di connessioni (dense, disable, concat o slice_or_padding)
Passaggi successivi
Quando è tutto pronto per fare previsioni con il modello di classificazione o regressione, hai due opzioni:
Puoi esportare i log in BigQuery, Cloud Storage o
Pub/Sub. Leggi la sezione Instradare i log verso destinazioni supportate
nella documentazione di Logging per scoprire come esportare i log delle attività.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-04 UTC."],[],[],null,["# View model architecture\n\nThis page provides information about how to use Cloud Logging to\nview details about a Vertex AI model. Using\nLogging, you see:\n\n- The hyperparameters of the final model as key-value pairs.\n- The hyperparameters and object values used during model training and tuning, as well as an objective value.\n\nBy default, logs are deleted after 30 days.\n\nThe following topics are covered:\n\n1. [Viewing training logs](#training-logs).\n2. [Log fields](#log-fields).\n\n| **Note:** Model architecture logs are provided as part of the Cloud Logging service. For general information about Cloud Logging, see the [Cloud Logging](/logging/docs) documentation.\n\nBefore you begin\n----------------\n\nBefore you can view the hyperparameter logs for your model, you must\n[train it](/vertex-ai/docs/tabular-data/classification-regression/train-model).\n\nTo perform this task, you must have the following\n[permissions](/iam/docs/overview#permissions):\n\n- `logging.logServiceIndexes.list` on the project\n- `logging.logServices.list` on the project\n\nViewing training logs\n---------------------\n\nYou can use the Google Cloud console to access the hyperparameter logs of the\nfinal model and the hyperparameter logs of the tuning trials.\n\n1. In the Google Cloud console, go to the Vertex AI **Models** page.\n\n [Go to Models page](https://console.cloud.google.com/vertex-ai/models)\n2. In the **Region** drop-down, select the region where your model is located.\n\n3. From the list of models, select your model.\n\n4. Select your model's version number.\n\n5. Open the **Version Details** tab.\n\n6. To see the hyperparameter log of the final model, go to the **Model hyperparameters** row and click **Model**.\n\n 1. There is just one log entry. Expand the payload as shown below.\n For details, see [Log fields](#reading-logs).\n\n7. To see the hyperparameter log of the tuning trials, go to the **Model hyperparameters** row and click **Trials**.\n\n 1. There is one entry for each of the tuning trials. Expand the payload as\n shown below. For details, see [Log fields](#reading-logs).\n\nLog fields\n----------\n\nActivity logs are structured as described in the\n[LogEntry](/logging/docs/exported_logs#the_logentry_type) type\ndocumentation.\n\nVertex AI model logs have, among other fields:\n\n- `labels`: The `log_type` field is set to `automl_tables`.\n- `jsonPayload`: The specific details of the log entry, provided in JSON object format. For details, see [Payload contents for the hyperparameter log of the final model](#final-payload) or [Payload contents for the hyperparameter log of a tuning trial](#trial-payload).\n- `timestamp`: The date and time when the model was created or the trial was run.\n\n### Payload contents for the hyperparameter log of the final model\n\nThe `jsonPayload` field for the hyperparameter log of the final model contains a\n`modelParameters` field. This field contains one entry for each model that\ncontributes to the final ensemble model. Each entry has a `hyperparameters`\nfield, whose contents depend on the model type. For details, see [List of hyperparameters](#hps).\n\n### Payload contents for the hyperparameter log of a tuning trial\n\nThe `jsonPayload` field for the hyperparameter log of a tuning trial contains the following fields:\n\n### List of hyperparameters\n\nThe hyperparameter data provided in the logs differ for each type of\nmodel. The following sections describe the hyperparameters for each\nmodel type.\n\n#### Gradient boosted decision tree models\n\n- Tree L1 regularization\n- Tree L2 regularization\n- Max tree depth\n- Model type: `GBDT`\n- Number of trees\n- Tree complexity\n\n#### Feedforward neural network models\n\n- Dropout rate\n- Enable batchNorm (`True` or `False`)\n- Enable embedding L1 (`True` or `False`)\n- Enable embedding L2 (`True` or `False`)\n- Enable L1 (`True` or `False`)\n- Enable L2 (`True` or `False`)\n- Enable layerNorm (`True` or `False`)\n- Enable numerical embedding (`True` or `False`)\n- Hidden layer size\n- Model type: `nn`\n- Normalize numerical column (`True` or `False`)\n- Number of cross layers\n- Number of hidden layers\n- Skip connections type (`dense`, `disable`, `concat`, or `slice_or_padding`)\n\nWhat's next\n-----------\n\nOnce you're ready to make predictions with your classification or regression\nmodel, you have two options:\n\n- [Make online (real-time) predictions using your model](/vertex-ai/docs/tabular-data/classification-regression/get-online-predictions).\n- [Get batch predictions directly from your model](/vertex-ai/docs/tabular-data/classification-regression/get-batch-predictions).\n\nAdditionally, you can:\n\n- [Evaluate your model](/vertex-ai/docs/tabular-data/classification-regression/evaluate-model).\n- [Review general information about Cloud Logging](/logging/docs).\n- You can export your logs to BigQuery, Cloud Storage, or Pub/Sub. Read [Route logs to supported destinations](/logging/docs/export/configure_export_v2) in the Logging documentation to learn how to export activity logs."]]