{"id":115,"date":"2021-07-16T15:10:42","date_gmt":"2021-07-16T15:10:42","guid":{"rendered":"https:\/\/felixaugenstein.com\/blog\/?p=115"},"modified":"2021-07-16T15:10:42","modified_gmt":"2021-07-16T15:10:42","slug":"build-and-evaluate-machine-learning-models-by-using-autoai-in-watson-studio-on-cloud-pak-for-data","status":"publish","type":"post","link":"https:\/\/felixaugenstein.com\/blog\/build-and-evaluate-machine-learning-models-by-using-autoai-in-watson-studio-on-cloud-pak-for-data\/","title":{"rendered":"Build and evaluate machine learning models by using AutoAI in Watson Studio on Cloud Pak for Data"},"content":{"rendered":"\n<p>In this hands-on tutorial you will build and evaluate machine learning models by using the AutoAI feature in Watson Studio.<\/p>\n\n\n\n<p>If you don\u2019t have one already, please Sign up for an <a href=\"https:\/\/cloud.ibm.com\/registration\" target=\"_blank\" rel=\"noreferrer noopener\">IBM Cloud account<\/a>.<\/p>\n\n\n\n<p>This tutorial consists of 6 parts, you can start with part I or any other part, however, the necessary environment is set up in part I.<br><a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/FelixAugenstein\/cloud-pak-for-data-tutorial\" target=\"_blank\">Part I \u2013 data visualization, preparation, and transformation<\/a><br><a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/FelixAugenstein\/cloud-pak-for-data-tutorial-part-ii\" target=\"_blank\">Part II \u2013 build and evaluate machine learning models by using AutoAI<\/a><br><a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/FelixAugenstein\/cloud-pak-for-data-tutorial-part-iii\" target=\"_blank\">Part III \u2013 graphically build and evaluate machine learning models by using SPSS Modeler flow<\/a><br><a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/FelixAugenstein\/cloud-pak-for-data-tutorial-part-iv\" target=\"_blank\">Part IV \u2013 set up and run Jupyter Notebooks to develop a machine learning model<\/a><br><a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/FelixAugenstein\/cloud-pak-for-data-tutorial-part-v\" target=\"_blank\">Part V \u2013 deploy a local Python app to test your model<\/a><br><a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/FelixAugenstein\/cloud-pak-for-data-tutorial-part-vi\" target=\"_blank\">Part VI \u2013 monitor your model with OpenScale<\/a><\/p>\n\n\n\n<p>AutoAI is a feature in Watson Studio that you can use to develop machine learning models fast and easily. In a first step you choose your data set &#8211; for instance for customer churn &#8211; and select what you would like to predict.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"567\" src=\"https:\/\/felixaugenstein.com\/blog\/wp-content\/uploads\/2021\/07\/prediction-column-1024x567.png\" alt=\"\" class=\"wp-image-116\" srcset=\"https:\/\/felixaugenstein.com\/blog\/wp-content\/uploads\/2021\/07\/prediction-column-1024x567.png 1024w, https:\/\/felixaugenstein.com\/blog\/wp-content\/uploads\/2021\/07\/prediction-column-300x166.png 300w, https:\/\/felixaugenstein.com\/blog\/wp-content\/uploads\/2021\/07\/prediction-column-768x425.png 768w, https:\/\/felixaugenstein.com\/blog\/wp-content\/uploads\/2021\/07\/prediction-column-1536x850.png 1536w, https:\/\/felixaugenstein.com\/blog\/wp-content\/uploads\/2021\/07\/prediction-column-830x459.png 830w, https:\/\/felixaugenstein.com\/blog\/wp-content\/uploads\/2021\/07\/prediction-column-230x127.png 230w, https:\/\/felixaugenstein.com\/blog\/wp-content\/uploads\/2021\/07\/prediction-column-350x194.png 350w, https:\/\/felixaugenstein.com\/blog\/wp-content\/uploads\/2021\/07\/prediction-column-480x266.png 480w, https:\/\/felixaugenstein.com\/blog\/wp-content\/uploads\/2021\/07\/prediction-column.png 2002w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Then you can run the experiment. As the experiment is run, you see the different pipelines in the relationship map. After it finishes, a list of completed models is listed at the bottom of the panel, in order of accuracy. You can also take a look at the Progress map, by clicking swap view.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"567\" src=\"https:\/\/felixaugenstein.com\/blog\/wp-content\/uploads\/2021\/07\/pipelines-relationship-map-1024x567.png\" alt=\"\" class=\"wp-image-117\" srcset=\"https:\/\/felixaugenstein.com\/blog\/wp-content\/uploads\/2021\/07\/pipelines-relationship-map-1024x567.png 1024w, https:\/\/felixaugenstein.com\/blog\/wp-content\/uploads\/2021\/07\/pipelines-relationship-map-300x166.png 300w, https:\/\/felixaugenstein.com\/blog\/wp-content\/uploads\/2021\/07\/pipelines-relationship-map-768x425.png 768w, https:\/\/felixaugenstein.com\/blog\/wp-content\/uploads\/2021\/07\/pipelines-relationship-map-1536x850.png 1536w, https:\/\/felixaugenstein.com\/blog\/wp-content\/uploads\/2021\/07\/pipelines-relationship-map-2048x1134.png 2048w, https:\/\/felixaugenstein.com\/blog\/wp-content\/uploads\/2021\/07\/pipelines-relationship-map-830x459.png 830w, https:\/\/felixaugenstein.com\/blog\/wp-content\/uploads\/2021\/07\/pipelines-relationship-map-230x127.png 230w, https:\/\/felixaugenstein.com\/blog\/wp-content\/uploads\/2021\/07\/pipelines-relationship-map-350x194.png 350w, https:\/\/felixaugenstein.com\/blog\/wp-content\/uploads\/2021\/07\/pipelines-relationship-map-480x266.png 480w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>In the next step you can evaluate the model performance of the best models listed in the pipeline leaderboard.<\/p>\n\n\n\n<p>Inside the Model Evaluation window, there is a menu on the left that provides more metrics for the pipeline, such as: Confusion Matrix table or Feature Importance graph.<\/p>\n\n\n\n<p> <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"268\" src=\"https:\/\/felixaugenstein.com\/blog\/wp-content\/uploads\/2021\/07\/model-evaluation-window-1024x268.png\" alt=\"\" class=\"wp-image-118\" srcset=\"https:\/\/felixaugenstein.com\/blog\/wp-content\/uploads\/2021\/07\/model-evaluation-window-1024x268.png 1024w, https:\/\/felixaugenstein.com\/blog\/wp-content\/uploads\/2021\/07\/model-evaluation-window-300x79.png 300w, https:\/\/felixaugenstein.com\/blog\/wp-content\/uploads\/2021\/07\/model-evaluation-window-768x201.png 768w, https:\/\/felixaugenstein.com\/blog\/wp-content\/uploads\/2021\/07\/model-evaluation-window-1536x402.png 1536w, https:\/\/felixaugenstein.com\/blog\/wp-content\/uploads\/2021\/07\/model-evaluation-window-2048x536.png 2048w, https:\/\/felixaugenstein.com\/blog\/wp-content\/uploads\/2021\/07\/model-evaluation-window-830x217.png 830w, https:\/\/felixaugenstein.com\/blog\/wp-content\/uploads\/2021\/07\/model-evaluation-window-230x60.png 230w, https:\/\/felixaugenstein.com\/blog\/wp-content\/uploads\/2021\/07\/model-evaluation-window-350x92.png 350w, https:\/\/felixaugenstein.com\/blog\/wp-content\/uploads\/2021\/07\/model-evaluation-window-480x126.png 480w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Afterwards you can save your pipeline as a new model or as a notebook.<\/p>\n\n\n\n<p>To access the complete tutorial go to this <a href=\"https:\/\/github.com\/FelixAugenstein\/cloud-pak-for-data-tutorial-part-ii\" data-type=\"URL\" data-id=\"https:\/\/github.com\/FelixAugenstein\/cloud-pak-for-data-tutorial-part-ii\" target=\"_blank\" rel=\"noreferrer noopener\">GitHub Repository<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this hands-on tutorial you will build and evaluate machine learning models by using the AutoAI feature in Watson Studio. If you don\u2019t have one already, please Sign up for an IBM Cloud account. This tutorial consists of 6 parts, you can start with part I or any other part, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":119,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24,21,4,20],"tags":[],"class_list":["post-115","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-autoai","category-cloud-pak-for-data","category-ibm-watson","category-watson-studio"],"_links":{"self":[{"href":"https:\/\/felixaugenstein.com\/blog\/wp-json\/wp\/v2\/posts\/115","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/felixaugenstein.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/felixaugenstein.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/felixaugenstein.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/felixaugenstein.com\/blog\/wp-json\/wp\/v2\/comments?post=115"}],"version-history":[{"count":1,"href":"https:\/\/felixaugenstein.com\/blog\/wp-json\/wp\/v2\/posts\/115\/revisions"}],"predecessor-version":[{"id":120,"href":"https:\/\/felixaugenstein.com\/blog\/wp-json\/wp\/v2\/posts\/115\/revisions\/120"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/felixaugenstein.com\/blog\/wp-json\/wp\/v2\/media\/119"}],"wp:attachment":[{"href":"https:\/\/felixaugenstein.com\/blog\/wp-json\/wp\/v2\/media?parent=115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/felixaugenstein.com\/blog\/wp-json\/wp\/v2\/categories?post=115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/felixaugenstein.com\/blog\/wp-json\/wp\/v2\/tags?post=115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}