Panoramica della classificazione e della regressione
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
I modelli di classificazione binaria prevedono un risultato binario (una delle
due classi). Utilizza questo tipo di modello per le domande con risposta sรฌ o no. Ad esempio, potresti voler
creare un modello di classificazione binaria per prevedere se un cliente
acquisterร un abbonamento. In genere, un problema di classificazione binaria
richiede meno dati rispetto ad altri tipi di modelli.
I modelli di classificazione multi-classe prevedono una classe tra tre o piรน classi discrete. Utilizza questo tipo di modello per la categorizzazione. Ad esempio, in qualitร di
rivenditore, potresti voler creare un modello di classificazione multiclasse per segmentare
i clienti in diverse buyer persona.
I modelli di regressione prevedono un valore continuo. Ad esempio, in qualitร di rivenditore,
potresti voler creare un modello di regressione per prevedere quanto
spenderร un cliente il mese successivo.
Workflow per la creazione di un modello di classificazione o regressione e per fare inferenze
La procedura per creare un modello di classificazione o regressione in
Vertex AI รจ la seguente:
[[["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"]],[],[],[],null,["# Classification and regression overview\n\n**Binary classification** models predict a binary outcome (one of\ntwo classes). Use this model type for yes or no questions. For example, you might want\nto build a binary classification model to predict whether a customer would\nbuy a subscription. Generally, a binary classification\nproblem requires less data than other model types.\n\n\n**Multi-class classification** models predict one class from three\nor more discrete classes. Use this model type for categorization. For example, as a\nretailer, you might want to build a multi-class classification model to segment\ncustomers into different personas.\n\n\n**Regression** models predict a continuous value. For example, as a retailer,\nyou might want to build a regression model to predict how much a\ncustomer will spend next month.\n\nWorkflow for creating a classification or regression model and making inferences\n--------------------------------------------------------------------------------\n\nThe process for creating a classification or regression model in\nVertex AI is as follows:\n\n| To see an example of how to create, train, and use an AutoML\n| classification model for online predictions,\n| run the \"AutoML tabular training and prediction\" notebook in one of the following\n| environments:\n|\n| [Open in Colab](https://colab.research.google.com/github/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/official/automl/automl-tabular-classification.ipynb)\n|\n|\n| \\|\n|\n| [Open in Colab Enterprise](https://console.cloud.google.com/vertex-ai/colab/import/https%3A%2F%2Fraw.githubusercontent.com%2FGoogleCloudPlatform%2Fvertex-ai-samples%2Fmain%2Fnotebooks%2Fofficial%2Fautoml%2Fautoml-tabular-classification.ipynb)\n|\n|\n| \\|\n|\n| [Open\n| in Vertex AI Workbench](https://console.cloud.google.com/vertex-ai/workbench/deploy-notebook?download_url=https%3A%2F%2Fraw.githubusercontent.com%2FGoogleCloudPlatform%2Fvertex-ai-samples%2Fmain%2Fnotebooks%2Fofficial%2Fautoml%2Fautoml-tabular-classification.ipynb)\n|\n|\n| \\|\n|\n[View on GitHub](https://github.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/official/automl/automl-tabular-classification.ipynb) \n| To see an example of how to create, train, and use an AutoML\n| regression model for batch predictions,\n| run the \"AutoML training tabular regression model for batch prediction using BigQuery\" notebook in one of the following\n| environments:\n|\n| [Open in Colab](https://colab.research.google.com/github/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/official/automl/sdk_automl_tabular_regression_batch_bq.ipynb)\n|\n|\n| \\|\n|\n| [Open in Colab Enterprise](https://console.cloud.google.com/vertex-ai/colab/import/https%3A%2F%2Fraw.githubusercontent.com%2FGoogleCloudPlatform%2Fvertex-ai-samples%2Fmain%2Fnotebooks%2Fofficial%2Fautoml%2Fsdk_automl_tabular_regression_batch_bq.ipynb)\n|\n|\n| \\|\n|\n| [Open\n| in Vertex AI Workbench](https://console.cloud.google.com/vertex-ai/workbench/deploy-notebook?download_url=https%3A%2F%2Fraw.githubusercontent.com%2FGoogleCloudPlatform%2Fvertex-ai-samples%2Fmain%2Fnotebooks%2Fofficial%2Fautoml%2Fsdk_automl_tabular_regression_batch_bq.ipynb)\n|\n|\n| \\|\n|\n[View on GitHub](https://github.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/official/automl/sdk_automl_tabular_regression_batch_bq.ipynb) \n| To see an example of how to create, train, and use an AutoML\n| regression model for online predictions,\n| run the \"AutoML training tabular regression model for online prediction using BigQuery\" notebook in one of the following\n| environments:\n|\n| [Open in Colab](https://colab.research.google.com/github/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/official/automl/sdk_automl_tabular_regression_online_bq.ipynb)\n|\n|\n| \\|\n|\n| [Open in Colab Enterprise](https://console.cloud.google.com/vertex-ai/colab/import/https%3A%2F%2Fraw.githubusercontent.com%2FGoogleCloudPlatform%2Fvertex-ai-samples%2Fmain%2Fnotebooks%2Fofficial%2Fautoml%2Fsdk_automl_tabular_regression_online_bq.ipynb)\n|\n|\n| \\|\n|\n| [Open\n| in Vertex AI Workbench](https://console.cloud.google.com/vertex-ai/workbench/deploy-notebook?download_url=https%3A%2F%2Fraw.githubusercontent.com%2FGoogleCloudPlatform%2Fvertex-ai-samples%2Fmain%2Fnotebooks%2Fofficial%2Fautoml%2Fsdk_automl_tabular_regression_online_bq.ipynb)\n|\n|\n| \\|\n|\n| [View on GitHub](https://github.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/official/automl/sdk_automl_tabular_regression_online_bq.ipynb)"]]