[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-02。"],[],[],null,["# Model training with prebuilt data pre-processing code: Notebook\n\nAs a Data Scientist, this is a common workflow: Train a model\nlocally (in my Notebook), log the parameters, log the training time series\nmetrics to ,\nand log the evaluation metrics.\n\nAs a Data Scientist, I want to be able to reuse data pre-processing code that\nothers within my company have written to simplify and standardize all the\ncomplex data wrangling that we do. I want to be able to:\n\n1. Use a Python data pre-processing library to clean up an in memory dataset (a Pandas Dataframe), in a notebook.\n2. Train a model using Keras (again in a notebook).\n\nNotebook: Model experimentation with preprocessed data\n------------------------------------------------------\n\n| To see an example of building a Vertex AI Experiments lineage for custom training,\n| run the \"Build Vertex AI Experiment lineage for custom training\" 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/experiments/build_model_experimentation_lineage_with_prebuild_code.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%2Fexperiments%2Fbuild_model_experimentation_lineage_with_prebuild_code.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%2Fexperiments%2Fbuild_model_experimentation_lineage_with_prebuild_code.ipynb)\n|\n|\n| \\|\n|\n| [View on GitHub](https://github.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/official/experiments/build_model_experimentation_lineage_with_prebuild_code.ipynb)\n\nIn the \"Build Vertex AI Experiments lineage for custom training\"\nnotebook, you'll learn how to integrate preprocessing code in\nVertex AI Experiments.\nAlso, you'll build the experiment lineage that lets you record, analyze,\ndebug, and audit metadata and artifacts produced along your ML journey.\n\nYou can view the artifact lineage in the Google Cloud console.\n\nRelevant content\n----------------\n\n- [Manually log data to an experiment run](/vertex-ai/docs/experiments/log-data)\n - [Log summary metrics](/vertex-ai/docs/experiments/log-data#summary-metrics)\n - [Log time series metrics](/vertex-ai/docs/experiments/log-data#time_series_metrics)\n - [Log parameters](/vertex-ai/docs/experiments/log-data#parameters)\n - [Log classification metrics](/vertex-ai/docs/experiments/log-data#classification-metrics)\n\n\u003c!-- --\u003e\n\n- [Track executions and artifacts](/vertex-ai/docs/experiments/track-executions-artifacts)"]]