Building an AutoAI model
Building an AutoAI model AutoAI automatically prepares data, applies algorithms, and builds model pipelines that are best suited for your data and use case. Learn how to generate the model pipelines that you can save as machine learning models. Follow these steps to upload data and have AutoAI create the best model for your data and use case. 1. [Collect your input data](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/autoai-build.html?context=cdpaas&locale=entrain-data) 2. [Open the AutoAI tool](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/autoai-build.html?context=cdpaas&locale=enopen-autoai) 3. [Specify details of your model and training data and start AutoAI](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/autoai-build.html?context=cdpaas&locale=enmodel-details) 4. [View the results](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/autoai-build.html?context=cdpaas&locale=enview-results) Collect your input data Collect and prepare your training data. For details on allowable data sources, see [AutoAI overview](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/autoai-overview.html). Note:If you are creating an experiment with a single training data source, you have the option of using a second data source specifically as testing, or holdout, data for validating the pipelines. Open the AutoAI tool For your convenience, your AutoAI model creation uses the default storage that is associated with your project to store your data and to save model results. 1. Open your project. 2. Click the Assets tab. 3. Click New asset > Build machine learning models automatically. Note: After you create an AutoAI asset it displays on the Assets page for your project in the AutoAI experiments section, so you can return to it. Specify details of your experiment 1. Specify a name and description for your experiment. 2. Select a machine learning service instance and click Create. 3. Choose data from your project or upload it from your file system or from the asset browser, then press Continue. Click the preview icon to review your data. (Optional) Add a second file as holdout data for testing the trained pipelines. 4. Choose the Column to predict for the data you want the experiment to predict. * Based on analyzing a subset of the data set, AutoAI selects a default model type: binary classification, multiclass classification, or regression. Binary is selected if the target column has two possible values. Multiclass has a discrete set of 3 or more values. Regression has a continuous numeric variable in the target column. You can optionally override this selection. Note: The limit on values to classify is 200. Creating a classification experiment with many unique values in the prediction column is resource-intensive and affects the experiment's performance and training time. To maintain the quality of the experiment: - AutoAI chooses a default metric for optimizing. For example, the default metric for a binary classification model is Accuracy. - By default, 10% of the training data is held out to test the performance of the model. 5. (Optional): Click Experiment settings to view or customize options for your AutoAI run. For details on experiment settings, see [Configuring a classification or regression experiment](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/autoai-config-class.html). 6. Click Run Experiment to begin model pipeline creation. An infographic shows you the creation of pipelines for your data. The duration of this phase depends on the size of your data set. A notification message informs you if the processing time will be brief or require more time. You can work in other parts of the product while the pipelines build. ![Relationship map of AutoAI generated pipelines](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/images/autoai_bank_sample_pipeline_build2.png) Hover over nodes in the infographic to explore the factors that pipelines share and their unique properties. You can see the factors that pipelines share and the properties that make a pipeline unique. For a guide to the data in the infographic, click the Legend tab in the information panel. Or, to see a different view of the pipeline creation, click the Experiment details tab of the notification pane, then click Switch views to view the progress map. In either view, click a pipeline node to view the associated pipeline in the leaderboard. View the results When the pipeline generation process completes, you can view the ranked model candidates and evaluate them before you save a pipeline as a model. Next steps * [Build an experiment from sample data](https://dataplatform.cloud.ibm.com/docs/content/wsj/getting-started/get-started-build.html) * [Configuring experiment settings](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/autoai-config-class.html) * [Configure a text analysis experiment](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/autoai-text-analysis.html) Video disclaimer: Some minor steps and graphical elements in this video might differ from your platform. * Watch this video to see how to build a binary classification model This video provides a visual method to learn the concepts and tasks in this documentation. Video disclaimer: Some minor steps and graphical elements in this video might differ from your platform. * Watch this video to see how to build a multiclass classification model This video provides a visual method to learn the concepts and tasks in this documentation. Parent topic:[AutoAI overview](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/autoai-overview.html)