{"id":20082,"date":"2023-02-13T17:54:20","date_gmt":"2023-02-13T17:54:20","guid":{"rendered":"https:\/\/machinelearningplus.com\/?p=20082"},"modified":"2023-02-16T10:29:59","modified_gmt":"2023-02-16T10:29:59","slug":"numpy-random-randint-in-python","status":"publish","type":"post","link":"https:\/\/machinelearningplus.com\/python\/numpy-random-randint-in-python\/","title":{"rendered":"Numpy.random.randint() in python"},"content":{"rendered":"<p><strong>numpy.random.randint function is used to get random integers from low to high values. The low value is included while the high value is excluded in the calculations.  The output values are taken from the <code>discrete uniform<\/code> distribution of the range values. <\/strong><\/p>\n<h3>random.randint(low, high=None, size=None, dtype=int)<\/h3>\n<ul>\n<li><strong>Purpose:<\/strong> The numpy random randint function used for creating a numpy array with random integers from low to high interval.<\/p>\n<\/li>\n<li>\n<p><strong>Parameteres:<\/strong><\/p>\n<ul>\n<li><strong>low:<\/strong>  <em>int or array-like of ints:<\/em> Lowest integers are drawn from the random values.<\/li>\n<li><strong>high:<\/strong> <em>int or array-like of ints, optional:<\/em> Larger or highest integers are drawn from the random values.<\/li>\n<li><strong>size:<\/strong> <em>int or tuple of ints, optional:<\/em> The shape of the array you want to create.<\/li>\n<li><strong>dtype:<\/strong> <em>dtype, optional<\/em> The type of the output you want.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Returns:<\/strong> <em>out:int or ndarray of ints<\/em> Returns an array with specified shape along with random integer values in it.<\/p>\n<\/li>\n<\/ul>\n<pre><code class=\"language-python\"># Import Packages\nimport numpy as np\nimport warnings\n\nwarnings.filterwarnings(\"ignore\")\n<\/code><\/pre>\n<h2>1.Construct 1-D array using randint() function<\/h2>\n<p>In this example you will understand how to construct a 1-D array using np.random.randint() function<\/p>\n<h3>Example 1: Create a 1-D array using randint()<\/h3>\n<pre><code class=\"language-python\"># create a 1-D array\na = np.random.randint(low = 1, size = 5)\n<\/code><\/pre>\n<pre><code class=\"language-python\"># print the newly created array\nprint(a)\n<\/code><\/pre>\n<pre><code>[0 0 0 0 0]\n<\/code><\/pre>\n<ul>\n<li>when low = 1 then randint() takes integer as 0.<\/li>\n<li>The size = 5 which creates a 1-D array<\/li>\n<li>Now a 1-D array is created with integer as 0.<\/li>\n<\/ul>\n<h3>Example 2: Create a 1-D array using randint()<\/h3>\n<pre><code class=\"language-python\"># create a 1-D array\na = np.random.randint(low = 1, high = 6, size = 8)\n<\/code><\/pre>\n<pre><code class=\"language-python\"># print the newly created array\nprint(a)\n<\/code><\/pre>\n<pre><code>[2 1 1 1 3 3 3 1]\n<\/code><\/pre>\n<ul>\n<li>when low = 1 and high = 6 randint() takes integers between 1 to 5.<\/li>\n<li>The size = 8 which creates a 1-D array<\/li>\n<li>Now a 1-D array is created with integers between 1-5.<\/li>\n<\/ul>\n<h2>2.Construct 2-D array using randint() function<\/h2>\n<p>In this example you will understand how to construct a 2-D array using np.random.randint() function<\/p>\n<h3>Example 1: Create a 2-D array using randint()<\/h3>\n<pre><code class=\"language-python\"># create a 2-D array\na = np.random.randint(low = 2, size = (2,3))\n<\/code><\/pre>\n<pre><code class=\"language-python\"># print newly created array\nprint(a)\n<\/code><\/pre>\n<pre><code>[[0 1 0]\n [0 0 0]]\n<\/code><\/pre>\n<ul>\n<li>when low = 2 then the randint() takes integers between 0 to 1.<\/li>\n<li>As you set the size as (2,3), which creates a 2-D array with 2 rows and 3 columns <\/li>\n<li>Now the 2-D array is created with integers between 0-1<\/li>\n<\/ul>\n<h3>Example 2: Create a 2-D array using randint()<\/h3>\n<pre><code class=\"language-python\"># create a 2-D array\na = np.random.randint(low = 0, high = 6, size = (3,4))\n<\/code><\/pre>\n<pre><code class=\"language-python\"># print newly created array\nprint(a)\n<\/code><\/pre>\n<pre><code>[[3 2 3 5]\n [1 4 5 2]\n [3 5 1 2]]\n<\/code><\/pre>\n<ul>\n<li>The low = 0 and high = 6 then the randint() takes integers between 0 to 5.<\/li>\n<li>As you set the size as (3,4), which creates a 2-D array with 3 rows and 4 columns.<\/li>\n<li>Now the 2-D array is created with integers between 0-5<\/li>\n<\/ul>\n<h2>3.Construct 3-D array using randint() function<\/h2>\n<p>In this example you will understand how to construct a 3-D array using np.random.randint() function<\/p>\n<h3>Example 1: Create a 3-D array using randint()<\/h3>\n<pre><code class=\"language-python\"># create a 3-D array\na = np.random.randint(low = 0, high = 5, size = (2,3,4))\n<\/code><\/pre>\n<pre><code class=\"language-python\"># print newly created array\nprint(a)\n<\/code><\/pre>\n<pre><code>[[[0 0 2 4]\n  [3 2 3 4]\n  [1 3 3 1]]\n\n [[3 3 0 3]\n  [0 0 1 1]\n  [2 4 2 3]]]\n<\/code><\/pre>\n<p><strong>Note<\/strong> When creating a 3-D array you have to specify both high and low parameters. If you specify only low parameter it returns a error.<\/p>\n<p>Try the above scenario to know what kind of error it returns.<\/p>\n<ul>\n<li>When is set to low = 0 and high = 5 the randint() takes integers between 0 to 4.<\/li>\n<li>As you set the size as (2,3,4) which creates a 3-D array. with two sub arrays, three rows and four columns for each sub array.<\/li>\n<li>Now the 3-D array is created with integers between 0-4<\/li>\n<\/ul>\n<h2>4.Test your knowledge<\/h2>\n<p><strong>Q1:<\/strong> Can you create a 3-D arrays without defining high parameter?<br \/>\n<strong>Ans:<\/strong> No, you cannot create a 3-D array without defining a high parameter. That returns a value error.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>numpy.random.randint function is used to get random integers from low to high values. The low value is included while the high value is excluded in the calculations. The output values are taken from the discrete uniform distribution of the range values. random.randint(low, high=None, size=None, dtype=int) Purpose: The numpy random randint function used for creating a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":20086,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[21],"tags":[26,22],"class_list":["post-20082","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","tag-numpy","tag-python"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Numpy.random.randint() in python - machinelearningplus<\/title>\n<meta name=\"description\" content=\"Numpy.random.randint is used to get random integers from low to high values. The low value is included while the high value is excluded while calculating.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/localhost:8080\/python\/numpy-random-randint-in-python\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Numpy.random.randint() in python - machinelearningplus\" \/>\n<meta property=\"og:description\" content=\"Numpy.random.randint is used to get random integers from low to high values. The low value is included while the high value is excluded while calculating.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/localhost:8080\/python\/numpy-random-randint-in-python\/\" \/>\n<meta property=\"og:site_name\" content=\"machinelearningplus\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rtipaday\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-02-13T17:54:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-16T10:29:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/localhost:8080\/wp-content\/uploads\/2023\/02\/Numpy.random.randint-in-python.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1080\" \/>\n\t<meta property=\"og:image:height\" content=\"1080\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Selva Prabhakaran\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/R_Programming\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Selva Prabhakaran\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\\\/\\\/localhost:8080\\\/python\\\/numpy-random-randint-in-python\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/localhost:8080\\\/python\\\/numpy-random-randint-in-python\\\/\"},\"author\":{\"name\":\"Selva Prabhakaran\",\"@id\":\"https:\\\/\\\/machinelearningplus.com\\\/#\\\/schema\\\/person\\\/510885c0515804366fa644c38258391e\"},\"headline\":\"Numpy.random.randint() in python\",\"datePublished\":\"2023-02-13T17:54:20+00:00\",\"dateModified\":\"2023-02-16T10:29:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/localhost:8080\\\/python\\\/numpy-random-randint-in-python\\\/\"},\"wordCount\":492,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/machinelearningplus.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/localhost:8080\\\/python\\\/numpy-random-randint-in-python\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/machinelearningplus.com\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/Numpy.random.randint-in-python.png\",\"keywords\":[\"Numpy\",\"Python\"],\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/localhost:8080\\\/python\\\/numpy-random-randint-in-python\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/localhost:8080\\\/python\\\/numpy-random-randint-in-python\\\/\",\"url\":\"https:\\\/\\\/localhost:8080\\\/python\\\/numpy-random-randint-in-python\\\/\",\"name\":\"Numpy.random.randint() in python - machinelearningplus\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/machinelearningplus.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/localhost:8080\\\/python\\\/numpy-random-randint-in-python\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/localhost:8080\\\/python\\\/numpy-random-randint-in-python\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/machinelearningplus.com\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/Numpy.random.randint-in-python.png\",\"datePublished\":\"2023-02-13T17:54:20+00:00\",\"dateModified\":\"2023-02-16T10:29:59+00:00\",\"description\":\"Numpy.random.randint is used to get random integers from low to high values. The low value is included while the high value is excluded while calculating.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/localhost:8080\\\/python\\\/numpy-random-randint-in-python\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/localhost:8080\\\/python\\\/numpy-random-randint-in-python\\\/#primaryimage\",\"url\":\"https:\\\/\\\/machinelearningplus.com\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/Numpy.random.randint-in-python.png\",\"contentUrl\":\"https:\\\/\\\/machinelearningplus.com\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/Numpy.random.randint-in-python.png\",\"width\":1080,\"height\":1080,\"caption\":\"Numpy.random.randint() in python\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/machinelearningplus.com\\\/#website\",\"url\":\"https:\\\/\\\/machinelearningplus.com\\\/\",\"name\":\"machinelearningplus\",\"description\":\"Learn Data Science (AI \\\/ ML) Online\",\"publisher\":{\"@id\":\"https:\\\/\\\/machinelearningplus.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/machinelearningplus.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/machinelearningplus.com\\\/#organization\",\"name\":\"machinelearningplus\",\"url\":\"https:\\\/\\\/machinelearningplus.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/machinelearningplus.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/machinelearningplus.com\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/MachineLearningplus-logo.svg\",\"contentUrl\":\"https:\\\/\\\/machinelearningplus.com\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/MachineLearningplus-logo.svg\",\"width\":348,\"height\":36,\"caption\":\"machinelearningplus\"},\"image\":{\"@id\":\"https:\\\/\\\/machinelearningplus.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/machinelearningplus.com\\\/#\\\/schema\\\/person\\\/510885c0515804366fa644c38258391e\",\"name\":\"Selva Prabhakaran\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/machinelearningplus.com\\\/wp-content\\\/litespeed\\\/avatar\\\/a994280177da541405c016f593e86ea7.jpg?ver=1776363207\",\"url\":\"https:\\\/\\\/machinelearningplus.com\\\/wp-content\\\/litespeed\\\/avatar\\\/a994280177da541405c016f593e86ea7.jpg?ver=1776363207\",\"contentUrl\":\"https:\\\/\\\/machinelearningplus.com\\\/wp-content\\\/litespeed\\\/avatar\\\/a994280177da541405c016f593e86ea7.jpg?ver=1776363207\",\"caption\":\"Selva Prabhakaran\"},\"description\":\"Selva is an experienced Data Scientist and leader, specializing in executing AI projects for large companies. Selva started machinelearningplus to make Data Science \\\/ ML \\\/ AI accessible to everyone. The website enjoys 4 Million+ readership. His courses, lessons, and videos are loved by hundreds of thousands of students and practitioners.\",\"sameAs\":[\"https:\\\/\\\/localhost:8080\\\/\",\"https:\\\/\\\/www.facebook.com\\\/rtipaday\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/R_Programming\"],\"url\":\"https:\\\/\\\/machinelearningplus.com\\\/author\\\/selva86\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Numpy.random.randint() in python - machinelearningplus","description":"Numpy.random.randint is used to get random integers from low to high values. The low value is included while the high value is excluded while calculating.","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:\/\/localhost:8080\/python\/numpy-random-randint-in-python\/","og_locale":"en_US","og_type":"article","og_title":"Numpy.random.randint() in python - machinelearningplus","og_description":"Numpy.random.randint is used to get random integers from low to high values. The low value is included while the high value is excluded while calculating.","og_url":"https:\/\/localhost:8080\/python\/numpy-random-randint-in-python\/","og_site_name":"machinelearningplus","article_author":"https:\/\/www.facebook.com\/rtipaday\/","article_published_time":"2023-02-13T17:54:20+00:00","article_modified_time":"2023-02-16T10:29:59+00:00","og_image":[{"width":1080,"height":1080,"url":"https:\/\/localhost:8080\/wp-content\/uploads\/2023\/02\/Numpy.random.randint-in-python.png","type":"image\/png"}],"author":"Selva Prabhakaran","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/R_Programming","twitter_misc":{"Written by":"Selva Prabhakaran","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/localhost:8080\/python\/numpy-random-randint-in-python\/#article","isPartOf":{"@id":"https:\/\/localhost:8080\/python\/numpy-random-randint-in-python\/"},"author":{"name":"Selva Prabhakaran","@id":"https:\/\/machinelearningplus.com\/#\/schema\/person\/510885c0515804366fa644c38258391e"},"headline":"Numpy.random.randint() in python","datePublished":"2023-02-13T17:54:20+00:00","dateModified":"2023-02-16T10:29:59+00:00","mainEntityOfPage":{"@id":"https:\/\/localhost:8080\/python\/numpy-random-randint-in-python\/"},"wordCount":492,"commentCount":0,"publisher":{"@id":"https:\/\/machinelearningplus.com\/#organization"},"image":{"@id":"https:\/\/localhost:8080\/python\/numpy-random-randint-in-python\/#primaryimage"},"thumbnailUrl":"https:\/\/machinelearningplus.com\/wp-content\/uploads\/2023\/02\/Numpy.random.randint-in-python.png","keywords":["Numpy","Python"],"articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/localhost:8080\/python\/numpy-random-randint-in-python\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/localhost:8080\/python\/numpy-random-randint-in-python\/","url":"https:\/\/localhost:8080\/python\/numpy-random-randint-in-python\/","name":"Numpy.random.randint() in python - machinelearningplus","isPartOf":{"@id":"https:\/\/machinelearningplus.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/localhost:8080\/python\/numpy-random-randint-in-python\/#primaryimage"},"image":{"@id":"https:\/\/localhost:8080\/python\/numpy-random-randint-in-python\/#primaryimage"},"thumbnailUrl":"https:\/\/machinelearningplus.com\/wp-content\/uploads\/2023\/02\/Numpy.random.randint-in-python.png","datePublished":"2023-02-13T17:54:20+00:00","dateModified":"2023-02-16T10:29:59+00:00","description":"Numpy.random.randint is used to get random integers from low to high values. The low value is included while the high value is excluded while calculating.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/localhost:8080\/python\/numpy-random-randint-in-python\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/localhost:8080\/python\/numpy-random-randint-in-python\/#primaryimage","url":"https:\/\/machinelearningplus.com\/wp-content\/uploads\/2023\/02\/Numpy.random.randint-in-python.png","contentUrl":"https:\/\/machinelearningplus.com\/wp-content\/uploads\/2023\/02\/Numpy.random.randint-in-python.png","width":1080,"height":1080,"caption":"Numpy.random.randint() in python"},{"@type":"WebSite","@id":"https:\/\/machinelearningplus.com\/#website","url":"https:\/\/machinelearningplus.com\/","name":"machinelearningplus","description":"Learn Data Science (AI \/ ML) Online","publisher":{"@id":"https:\/\/machinelearningplus.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/machinelearningplus.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/machinelearningplus.com\/#organization","name":"machinelearningplus","url":"https:\/\/machinelearningplus.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/machinelearningplus.com\/#\/schema\/logo\/image\/","url":"https:\/\/machinelearningplus.com\/wp-content\/uploads\/2022\/05\/MachineLearningplus-logo.svg","contentUrl":"https:\/\/machinelearningplus.com\/wp-content\/uploads\/2022\/05\/MachineLearningplus-logo.svg","width":348,"height":36,"caption":"machinelearningplus"},"image":{"@id":"https:\/\/machinelearningplus.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/machinelearningplus.com\/#\/schema\/person\/510885c0515804366fa644c38258391e","name":"Selva Prabhakaran","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/machinelearningplus.com\/wp-content\/litespeed\/avatar\/a994280177da541405c016f593e86ea7.jpg?ver=1776363207","url":"https:\/\/machinelearningplus.com\/wp-content\/litespeed\/avatar\/a994280177da541405c016f593e86ea7.jpg?ver=1776363207","contentUrl":"https:\/\/machinelearningplus.com\/wp-content\/litespeed\/avatar\/a994280177da541405c016f593e86ea7.jpg?ver=1776363207","caption":"Selva Prabhakaran"},"description":"Selva is an experienced Data Scientist and leader, specializing in executing AI projects for large companies. Selva started machinelearningplus to make Data Science \/ ML \/ AI accessible to everyone. The website enjoys 4 Million+ readership. His courses, lessons, and videos are loved by hundreds of thousands of students and practitioners.","sameAs":["https:\/\/localhost:8080\/","https:\/\/www.facebook.com\/rtipaday\/","https:\/\/x.com\/https:\/\/twitter.com\/R_Programming"],"url":"https:\/\/machinelearningplus.com\/author\/selva86\/"}]}},"_links":{"self":[{"href":"https:\/\/machinelearningplus.com\/wp-json\/wp\/v2\/posts\/20082","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/machinelearningplus.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/machinelearningplus.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/machinelearningplus.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/machinelearningplus.com\/wp-json\/wp\/v2\/comments?post=20082"}],"version-history":[{"count":0,"href":"https:\/\/machinelearningplus.com\/wp-json\/wp\/v2\/posts\/20082\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/machinelearningplus.com\/wp-json\/wp\/v2\/media\/20086"}],"wp:attachment":[{"href":"https:\/\/machinelearningplus.com\/wp-json\/wp\/v2\/media?parent=20082"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/machinelearningplus.com\/wp-json\/wp\/v2\/categories?post=20082"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/machinelearningplus.com\/wp-json\/wp\/v2\/tags?post=20082"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}