{"id":37939,"date":"2020-03-11T10:24:53","date_gmt":"2020-03-11T14:24:53","guid":{"rendered":"https:\/\/ibkrcampus.com\/?p=37939"},"modified":"2022-11-21T09:45:11","modified_gmt":"2022-11-21T14:45:11","slug":"building-and-regularizing-linear-regression-scikit-learn","status":"publish","type":"post","link":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/building-and-regularizing-linear-regression-scikit-learn\/","title":{"rendered":"Building and Regularizing Linear Regression Models in Scikit-learn"},"content":{"rendered":"\n<p><strong><em>Excerpt<\/em><\/strong><\/p>\n\n\n\n<p>We will discuss the concept of regularization, its  examples (Ridge, Lasso and Elastic Net regularizations) and how they can  be implemented in Python using the <code>scikit learn <\/code>library.<\/p>\n\n\n\n<p>Linear Regression problems also fall under supervised learning, where\n the goal is to construct a &#8220;model&#8221; or &#8220;estimator&#8221; which can predict the\n continuous dependent variable(y) given the set of values for \nfeatures(X).<\/p>\n\n\n\n<p>One of the underlying assumptions of any linear regression model is \nthat the dependent variable(y) is (at least to some degree!) a linear \nfunction of the independent variables(Xis). That is, we can estimate y \nusing the mathematical expression:<\/p>\n\n\n\n<p><p style=\"background-color:#fcfcdb;font-size:11px\" class=\"has-background\"> y=b0+b1X1+b2X2+b3X3+\u22ef+bnXn , <\/p><\/p>\n\n\n\n<p>where, \/(b_i\\)s are the coefficients that are to be estimated by the model.<\/p>\n\n\n\n<p>The <strong>cost function<\/strong> that we seek to minimize is the sum of squared errors(also referred to as residuals). This methodology is called the <strong>ordinary least squares(OLS) approach<\/strong>. In other words, we want those optimal values of bis that minimize \u2211(y\u2212^y)2&nbsp;, where ^y is the value of y predicted by the model.<\/p>\n\n\n\n<p>Although the OLS approach works well in a lot of cases, it has its  own drawbacks when the data has far-flung outliers or when the predictor  variables (Xis)  are correlated with each other. This can have a significant impact on  the overall prediction accuracy of the model, especially for out of  sample or new data. In such cases, some form of regularization is  helpful. Two of the most popular regularization techniques are Ridge  regression and Lasso regression, which we will discuss in this blog. <\/p>\n\n\n\n<p><strong>Importing Libraries<\/strong><\/p>\n\n\n\n<p>We will need some commonly used libraries such as pandas, numpy and matplotlib along with scikit learn itself:\n\n\n\n\n\nIn&nbsp;[33]:\n\n\n\n<\/p>\n\n\n\n<p style=\"background-color:#fcfcdb;font-size:11px\" class=\"has-background\">import numpy as np<br>\nimport pandas as pd<br>\nimport matplotlib.pylab as plt<br>\n%matplotlib inline<br>\nimport sklearn<br>\n<\/p>\n\n\n\n<p> That&#8217;s it! <\/p>\n\n\n\n<p>In the next section, we will get some data to build our models on. <\/p>\n\n\n\n<p style=\"background-color:#e9eade\" class=\"has-background\">Visit QuantInsti Blog to download the ready-to-use code:<br><a href=\"https:\/\/blog.quantinsti.com\/linear-regression-models-scikit-learn\/\">https:\/\/blog.quantinsti.com\/linear-regression-models-scikit-learn\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>QuantInsti demonstrates how to build and regularize Linear Regression Models in Scikit-learn. Ready-to-use Python code is available<\/p>\n","protected":false},"author":295,"featured_media":37943,"comment_status":"closed","ping_status":"open","sticky":true,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[339,343,349,338,350,341,344],"tags":[6809,6808,4659,1225,1224,595,494,6807,4412,6810],"contributors-categories":[13654],"class_list":{"0":"post-37939","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-data-science","8":"category-programing-languages","9":"category-python-development","10":"category-ibkr-quant-news","11":"category-quant-asia-pacific","12":"category-quant-development","13":"category-quant-regions","14":"tag-elastic-net-regularizations","15":"tag-lasso","16":"tag-matplotlib","17":"tag-numpy","18":"tag-pandas","19":"tag-python","20":"tag-quant","21":"tag-ridge","22":"tag-scikit-learn","23":"tag-sklearn","24":"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>Building and Regularizing Linear Regression Models in Scikit-learn<\/title>\n<meta name=\"description\" content=\"QuantInsti demonstrates how to build and regularize Linear Regression Models in Scikit-learn. Ready-to-use Python code is available\" \/>\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\/37939\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Building and Regularizing Linear Regression Models in Scikit-learn | IBKR Quant Blog\" \/>\n<meta property=\"og:description\" content=\"QuantInsti demonstrates how to build and regularize Linear Regression Models in Scikit-learn. Ready-to-use Python code is available\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/building-and-regularizing-linear-regression-scikit-learn\/\" \/>\n<meta property=\"og:site_name\" content=\"IBKR Campus US\" \/>\n<meta property=\"article:published_time\" content=\"2020-03-11T14:24:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-11-21T14:45:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2020\/03\/python-colors.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"500\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Ashutosh Dave\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ashutosh Dave\" \/>\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\\\/building-and-regularizing-linear-regression-scikit-learn\\\/#article\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/building-and-regularizing-linear-regression-scikit-learn\\\/\"\n\t            },\n\t            \"author\": {\n\t                \"name\": \"Ashutosh Dave\",\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/person\\\/e462b9a6b7cd1a6e27f6e29fc69942c8\"\n\t            },\n\t            \"headline\": \"Building and Regularizing Linear Regression Models in Scikit-learn\",\n\t            \"datePublished\": \"2020-03-11T14:24:53+00:00\",\n\t            \"dateModified\": \"2022-11-21T14:45:11+00:00\",\n\t            \"mainEntityOfPage\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/building-and-regularizing-linear-regression-scikit-learn\\\/\"\n\t            },\n\t            \"wordCount\": 341,\n\t            \"publisher\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#organization\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/building-and-regularizing-linear-regression-scikit-learn\\\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2020\\\/03\\\/python-colors.jpg\",\n\t            \"keywords\": [\n\t                \"Elastic Net regularizations\",\n\t                \"Lasso\",\n\t                \"Matplotlib\",\n\t                \"NumPy\",\n\t                \"Pandas\",\n\t                \"Python\",\n\t                \"Quant\",\n\t                \"Ridge\",\n\t                \"Scikit-learn\",\n\t                \"sklearn\"\n\t            ],\n\t            \"articleSection\": [\n\t                \"Data Science\",\n\t                \"Programming Languages\",\n\t                \"Python Development\",\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\\\/building-and-regularizing-linear-regression-scikit-learn\\\/\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/building-and-regularizing-linear-regression-scikit-learn\\\/\",\n\t            \"name\": \"Building and Regularizing Linear Regression Models in Scikit-learn | IBKR Quant Blog\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#website\"\n\t            },\n\t            \"primaryImageOfPage\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/building-and-regularizing-linear-regression-scikit-learn\\\/#primaryimage\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/building-and-regularizing-linear-regression-scikit-learn\\\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2020\\\/03\\\/python-colors.jpg\",\n\t            \"datePublished\": \"2020-03-11T14:24:53+00:00\",\n\t            \"dateModified\": \"2022-11-21T14:45:11+00:00\",\n\t            \"description\": \"QuantInsti demonstrates how to build and regularize Linear Regression Models in Scikit-learn. Ready-to-use Python code is available\",\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\\\/building-and-regularizing-linear-regression-scikit-learn\\\/\"\n\t                    ]\n\t                }\n\t            ]\n\t        },\n\t        {\n\t            \"@type\": \"ImageObject\",\n\t            \"inLanguage\": \"en-US\",\n\t            \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/building-and-regularizing-linear-regression-scikit-learn\\\/#primaryimage\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2020\\\/03\\\/python-colors.jpg\",\n\t            \"contentUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2020\\\/03\\\/python-colors.jpg\",\n\t            \"width\": 800,\n\t            \"height\": 500,\n\t            \"caption\": \"Python\"\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\\\/e462b9a6b7cd1a6e27f6e29fc69942c8\",\n\t            \"name\": \"Ashutosh Dave\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/author\\\/ashutoshdave\\\/\"\n\t        }\n\t    ]\n\t}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Building and Regularizing Linear Regression Models in Scikit-learn","description":"QuantInsti demonstrates how to build and regularize Linear Regression Models in Scikit-learn. Ready-to-use Python code is available","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\/37939\/","og_locale":"en_US","og_type":"article","og_title":"Building and Regularizing Linear Regression Models in Scikit-learn | IBKR Quant Blog","og_description":"QuantInsti demonstrates how to build and regularize Linear Regression Models in Scikit-learn. Ready-to-use Python code is available","og_url":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/building-and-regularizing-linear-regression-scikit-learn\/","og_site_name":"IBKR Campus US","article_published_time":"2020-03-11T14:24:53+00:00","article_modified_time":"2022-11-21T14:45:11+00:00","og_image":[{"width":800,"height":500,"url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2020\/03\/python-colors.jpg","type":"image\/jpeg"}],"author":"Ashutosh Dave","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Ashutosh Dave","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"NewsArticle","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/building-and-regularizing-linear-regression-scikit-learn\/#article","isPartOf":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/building-and-regularizing-linear-regression-scikit-learn\/"},"author":{"name":"Ashutosh Dave","@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/person\/e462b9a6b7cd1a6e27f6e29fc69942c8"},"headline":"Building and Regularizing Linear Regression Models in Scikit-learn","datePublished":"2020-03-11T14:24:53+00:00","dateModified":"2022-11-21T14:45:11+00:00","mainEntityOfPage":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/building-and-regularizing-linear-regression-scikit-learn\/"},"wordCount":341,"publisher":{"@id":"https:\/\/ibkrcampus.com\/campus\/#organization"},"image":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/building-and-regularizing-linear-regression-scikit-learn\/#primaryimage"},"thumbnailUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2020\/03\/python-colors.jpg","keywords":["Elastic Net regularizations","Lasso","Matplotlib","NumPy","Pandas","Python","Quant","Ridge","Scikit-learn","sklearn"],"articleSection":["Data Science","Programming Languages","Python Development","Quant","Quant Asia Pacific","Quant Development","Quant Regions"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/building-and-regularizing-linear-regression-scikit-learn\/","url":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/building-and-regularizing-linear-regression-scikit-learn\/","name":"Building and Regularizing Linear Regression Models in Scikit-learn | IBKR Quant Blog","isPartOf":{"@id":"https:\/\/ibkrcampus.com\/campus\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/building-and-regularizing-linear-regression-scikit-learn\/#primaryimage"},"image":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/building-and-regularizing-linear-regression-scikit-learn\/#primaryimage"},"thumbnailUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2020\/03\/python-colors.jpg","datePublished":"2020-03-11T14:24:53+00:00","dateModified":"2022-11-21T14:45:11+00:00","description":"QuantInsti demonstrates how to build and regularize Linear Regression Models in Scikit-learn. Ready-to-use Python code is available","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/building-and-regularizing-linear-regression-scikit-learn\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/building-and-regularizing-linear-regression-scikit-learn\/#primaryimage","url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2020\/03\/python-colors.jpg","contentUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2020\/03\/python-colors.jpg","width":800,"height":500,"caption":"Python"},{"@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\/e462b9a6b7cd1a6e27f6e29fc69942c8","name":"Ashutosh Dave","url":"https:\/\/www.interactivebrokers.com\/campus\/author\/ashutoshdave\/"}]}},"jetpack_featured_media_url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2020\/03\/python-colors.jpg","_links":{"self":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts\/37939","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\/295"}],"replies":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/comments?post=37939"}],"version-history":[{"count":0,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts\/37939\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/media\/37943"}],"wp:attachment":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/media?parent=37939"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/categories?post=37939"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/tags?post=37939"},{"taxonomy":"contributors-categories","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/contributors-categories?post=37939"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}