{"id":85678,"date":"2021-04-28T15:29:16","date_gmt":"2021-04-28T19:29:16","guid":{"rendered":"https:\/\/ibkrcampus.com\/?p=85678"},"modified":"2024-05-20T15:58:17","modified_gmt":"2024-05-20T19:58:17","slug":"machine-learning-classification-algorithms-part-ii","status":"publish","type":"post","link":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/machine-learning-classification-algorithms-part-ii\/","title":{"rendered":"Machine Learning Classification Algorithms \u2013 Part II"},"content":{"rendered":"\n<p><em>See <a href=\"\/campus\/ibkr-quant-news\/machine-learning-classification-algorithms-part-i\/\">Part I<\/a> to get insight on Supervised Learning.<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"unsupervised-learning\">Unsupervised Learning<\/h2>\n\n\n\n<p>In unsupervised learning, as the name suggests, the dataset used for training does not contain the required answers. Instead, the algorithm uses techniques such as&nbsp;<strong>clustering<\/strong>&nbsp;and&nbsp;<strong>dimensionality reduction<\/strong>&nbsp;to train.<\/p>\n\n\n\n<p>A major application of unsupervised learning is anomaly detection. This uses a clustering algorithm to find out major outliers in a graph. These are used in credit card fraud detection.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"types-of-supervised-models\">Types of Supervised Models<\/h2>\n\n\n\n<p>Supervised models are trained on labeled dataset. It can either be a continuous label or categorical label.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"regression-models\">Regression models<\/h3>\n\n\n\n<p>Regression is used when one is dealing with continuous values such as the cost of a house when you are given features such as location, the area covered, historic prices etc. Popular regression models are:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Linear Regression<\/li><li>Lasso Regression<\/li><li>Ridge Regression<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"classification-models\">Classification models<\/h3>\n\n\n\n<p>Classification is used for data that is separated into categories with each category represented by a label. The training data must contain the labels and must have sufficient observations of each label so that the accuracy of the model is respectable. Some popular classification models include:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Support Vector Classifiers<\/li><li>Decision Trees<\/li><li>Random Forests Classifiers<\/li><\/ul>\n\n\n\n<p>There are various evaluation methods to find out the accuracy of these models also. We will discuss these models, the evaluation methods and a technique to improve these models called&nbsp;<strong>hyperparameter tuning<\/strong>&nbsp;in greater detail.<\/p>\n\n\n\n<p><em>Stay tuned for the next installment in this series to find out about the Types of Classification.<\/em><\/p>\n\n\n\n<p><em>Visit QuantInsti for additional insight on this topic:&nbsp;<\/em><a href=\"https:\/\/blog.quantinsti.com\/machine-learning-classification\/\">https:\/\/blog.quantinsti.com\/machine-learning-classification\/<\/a><\/p>\n\n\n\n<p><em><small>Disclaimer: All investments and trading in the stock market involve risk. Any decisions to place trades in the financial markets, including trading in stocks or other financial instruments is a personal decision that should only be made after thorough research, including a personal risk and financial assessment and the engagement of professional assistance to the extent you believe necessary. The trading strategies or related information mentioned in this article is for informational purposes only.<\/small><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Join Kshitij Makwana and Satyapriya Chaudhari and get insight on the mechanics behind Unsupervised Learning.<\/p>\n","protected":false},"author":616,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":true,"template":"","format":"standard","meta":{"_acf_changed":true,"footnotes":""},"categories":[338,350,341,344],"tags":[851,3958,9589,9634,9590,4404,852,9632,4406,9587,9633,2308,9588],"contributors-categories":[13654],"class_list":{"0":"post-85678","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-ibkr-quant-news","7":"category-quant-asia-pacific","8":"category-quant-development","9":"category-quant-regions","10":"tag-algo-trading","11":"tag-algorithms","12":"tag-classifier-models","13":"tag-decision-trees","14":"tag-hyperparameter-tuning","15":"tag-linear-regression","16":"tag-machine-learning","17":"tag-machine-learning-classification","18":"tag-random-forests","19":"tag-supervised-learning","20":"tag-support-vector-classifiers","21":"tag-trading-algorithms","22":"tag-unsupervised-learning","23":"contributors-categories-quantinsti"},"pp_statuses_selecting_workflow":false,"pp_workflow_action":"current","pp_status_selection":"publish","acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.9 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Machine Learning Classification Algorithms \u2013 Part II<\/title>\n<meta name=\"description\" content=\"Join Kshitij Makwana and Satyapriya Chaudhari and get insight on the mechanics behind Unsupervised Learning.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.interactivebrokers.com\/campus\/wp-json\/wp\/v2\/posts\/85678\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Machine Learning Classification Algorithms \u2013 Part II | IBKR Quant Blog\" \/>\n<meta property=\"og:description\" content=\"Join Kshitij Makwana and Satyapriya Chaudhari and get insight on the mechanics behind Unsupervised Learning.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/machine-learning-classification-algorithms-part-ii\/\" \/>\n<meta property=\"og:site_name\" content=\"IBKR Campus US\" \/>\n<meta property=\"article:published_time\" content=\"2021-04-28T19:29:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-20T19:58:17+00:00\" \/>\n<meta name=\"author\" content=\"Kshitij Makwana and Satyapriya Chaudhari\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kshitij Makwana and Satyapriya Chaudhari\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\n\t    \"@context\": \"https:\\\/\\\/schema.org\",\n\t    \"@graph\": [\n\t        {\n\t            \"@type\": \"NewsArticle\",\n\t            \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/machine-learning-classification-algorithms-part-ii\\\/#article\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/machine-learning-classification-algorithms-part-ii\\\/\"\n\t            },\n\t            \"author\": {\n\t                \"name\": \"Kshitij Makwana and Satyapriya Chaudhari\",\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/person\\\/cb73400a44d5469b928d92756d32e536\"\n\t            },\n\t            \"headline\": \"Machine Learning Classification Algorithms \u2013 Part II\",\n\t            \"datePublished\": \"2021-04-28T19:29:16+00:00\",\n\t            \"dateModified\": \"2024-05-20T19:58:17+00:00\",\n\t            \"mainEntityOfPage\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/machine-learning-classification-algorithms-part-ii\\\/\"\n\t            },\n\t            \"wordCount\": 344,\n\t            \"publisher\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#organization\"\n\t            },\n\t            \"keywords\": [\n\t                \"Algo Trading\",\n\t                \"algorithms\",\n\t                \"Classifier Models\",\n\t                \"Decision Trees\",\n\t                \"Hyperparameter Tuning\",\n\t                \"Linear Regression\",\n\t                \"Machine Learning\",\n\t                \"Machine Learning Classification\",\n\t                \"Random Forests\",\n\t                \"Supervised Learning\",\n\t                \"Support Vector Classifiers\",\n\t                \"Trading Algorithms\",\n\t                \"Unsupervised Learning\"\n\t            ],\n\t            \"articleSection\": [\n\t                \"Quant\",\n\t                \"Quant Asia Pacific\",\n\t                \"Quant Development\",\n\t                \"Quant Regions\"\n\t            ],\n\t            \"inLanguage\": \"en-US\"\n\t        },\n\t        {\n\t            \"@type\": \"WebPage\",\n\t            \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/machine-learning-classification-algorithms-part-ii\\\/\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/machine-learning-classification-algorithms-part-ii\\\/\",\n\t            \"name\": \"Machine Learning Classification Algorithms \u2013 Part II | IBKR Quant Blog\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#website\"\n\t            },\n\t            \"datePublished\": \"2021-04-28T19:29:16+00:00\",\n\t            \"dateModified\": \"2024-05-20T19:58:17+00:00\",\n\t            \"description\": \"Join Kshitij Makwana and Satyapriya Chaudhari and get insight on the mechanics behind Unsupervised Learning.\",\n\t            \"inLanguage\": \"en-US\",\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"ReadAction\",\n\t                    \"target\": [\n\t                        \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/machine-learning-classification-algorithms-part-ii\\\/\"\n\t                    ]\n\t                }\n\t            ]\n\t        },\n\t        {\n\t            \"@type\": \"WebSite\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#website\",\n\t            \"url\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/\",\n\t            \"name\": \"IBKR Campus US\",\n\t            \"description\": \"Financial Education from Interactive Brokers\",\n\t            \"publisher\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#organization\"\n\t            },\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"SearchAction\",\n\t                    \"target\": {\n\t                        \"@type\": \"EntryPoint\",\n\t                        \"urlTemplate\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/?s={search_term_string}\"\n\t                    },\n\t                    \"query-input\": {\n\t                        \"@type\": \"PropertyValueSpecification\",\n\t                        \"valueRequired\": true,\n\t                        \"valueName\": \"search_term_string\"\n\t                    }\n\t                }\n\t            ],\n\t            \"inLanguage\": \"en-US\"\n\t        },\n\t        {\n\t            \"@type\": \"Organization\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#organization\",\n\t            \"name\": \"Interactive Brokers\",\n\t            \"alternateName\": \"IBKR\",\n\t            \"url\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/\",\n\t            \"logo\": {\n\t                \"@type\": \"ImageObject\",\n\t                \"inLanguage\": \"en-US\",\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/logo\\\/image\\\/\",\n\t                \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/05\\\/ibkr-campus-logo.jpg\",\n\t                \"contentUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/05\\\/ibkr-campus-logo.jpg\",\n\t                \"width\": 669,\n\t                \"height\": 669,\n\t                \"caption\": \"Interactive Brokers\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/logo\\\/image\\\/\"\n\t            },\n\t            \"publishingPrinciples\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/about-ibkr-campus\\\/\",\n\t            \"ethicsPolicy\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/cyber-security-notice\\\/\"\n\t        },\n\t        {\n\t            \"@type\": \"Person\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/person\\\/cb73400a44d5469b928d92756d32e536\",\n\t            \"name\": \"Kshitij Makwana and Satyapriya Chaudhari\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/author\\\/kshitijsatyapriya\\\/\"\n\t        }\n\t    ]\n\t}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Machine Learning Classification Algorithms \u2013 Part II","description":"Join Kshitij Makwana and Satyapriya Chaudhari and get insight on the mechanics behind Unsupervised Learning.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.interactivebrokers.com\/campus\/wp-json\/wp\/v2\/posts\/85678\/","og_locale":"en_US","og_type":"article","og_title":"Machine Learning Classification Algorithms \u2013 Part II | IBKR Quant Blog","og_description":"Join Kshitij Makwana and Satyapriya Chaudhari and get insight on the mechanics behind Unsupervised Learning.","og_url":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/machine-learning-classification-algorithms-part-ii\/","og_site_name":"IBKR Campus US","article_published_time":"2021-04-28T19:29:16+00:00","article_modified_time":"2024-05-20T19:58:17+00:00","author":"Kshitij Makwana and Satyapriya Chaudhari","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Kshitij Makwana and Satyapriya Chaudhari","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"NewsArticle","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/machine-learning-classification-algorithms-part-ii\/#article","isPartOf":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/machine-learning-classification-algorithms-part-ii\/"},"author":{"name":"Kshitij Makwana and Satyapriya Chaudhari","@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/person\/cb73400a44d5469b928d92756d32e536"},"headline":"Machine Learning Classification Algorithms \u2013 Part II","datePublished":"2021-04-28T19:29:16+00:00","dateModified":"2024-05-20T19:58:17+00:00","mainEntityOfPage":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/machine-learning-classification-algorithms-part-ii\/"},"wordCount":344,"publisher":{"@id":"https:\/\/ibkrcampus.com\/campus\/#organization"},"keywords":["Algo Trading","algorithms","Classifier Models","Decision Trees","Hyperparameter Tuning","Linear Regression","Machine Learning","Machine Learning Classification","Random Forests","Supervised Learning","Support Vector Classifiers","Trading Algorithms","Unsupervised Learning"],"articleSection":["Quant","Quant Asia Pacific","Quant Development","Quant Regions"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/machine-learning-classification-algorithms-part-ii\/","url":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/machine-learning-classification-algorithms-part-ii\/","name":"Machine Learning Classification Algorithms \u2013 Part II | IBKR Quant Blog","isPartOf":{"@id":"https:\/\/ibkrcampus.com\/campus\/#website"},"datePublished":"2021-04-28T19:29:16+00:00","dateModified":"2024-05-20T19:58:17+00:00","description":"Join Kshitij Makwana and Satyapriya Chaudhari and get insight on the mechanics behind Unsupervised Learning.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/machine-learning-classification-algorithms-part-ii\/"]}]},{"@type":"WebSite","@id":"https:\/\/ibkrcampus.com\/campus\/#website","url":"https:\/\/ibkrcampus.com\/campus\/","name":"IBKR Campus US","description":"Financial Education from Interactive Brokers","publisher":{"@id":"https:\/\/ibkrcampus.com\/campus\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ibkrcampus.com\/campus\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/ibkrcampus.com\/campus\/#organization","name":"Interactive Brokers","alternateName":"IBKR","url":"https:\/\/ibkrcampus.com\/campus\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/logo\/image\/","url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2024\/05\/ibkr-campus-logo.jpg","contentUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2024\/05\/ibkr-campus-logo.jpg","width":669,"height":669,"caption":"Interactive Brokers"},"image":{"@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/logo\/image\/"},"publishingPrinciples":"https:\/\/www.interactivebrokers.com\/campus\/about-ibkr-campus\/","ethicsPolicy":"https:\/\/www.interactivebrokers.com\/campus\/cyber-security-notice\/"},{"@type":"Person","@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/person\/cb73400a44d5469b928d92756d32e536","name":"Kshitij Makwana and Satyapriya Chaudhari","url":"https:\/\/www.interactivebrokers.com\/campus\/author\/kshitijsatyapriya\/"}]}},"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts\/85678","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/users\/616"}],"replies":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/comments?post=85678"}],"version-history":[{"count":0,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts\/85678\/revisions"}],"wp:attachment":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/media?parent=85678"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/categories?post=85678"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/tags?post=85678"},{"taxonomy":"contributors-categories","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/contributors-categories?post=85678"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}