{"id":177,"date":"2020-06-30T20:24:00","date_gmt":"2020-06-30T20:24:00","guid":{"rendered":"https:\/\/demo.mekshq.com\/johannes\/dc\/?p=177"},"modified":"2023-09-01T16:37:14","modified_gmt":"2023-09-01T16:37:14","slug":"how-can-we-predict-the-profit-of-a-startup","status":"publish","type":"post","link":"https:\/\/amineoumous.com\/blog\/2020\/06\/30\/how-can-we-predict-the-profit-of-a-startup\/","title":{"rendered":"How can we predict the profit of a startup ?"},"content":{"rendered":"\n<p>Today, we will continue our tutorial on linear regression. As you know, in simple linear regression, we use it when we have a single independent variable and a single dependent variable. However, in multiple linear regression, several independent variables could affect the determination of the dependent variable.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"320\" height=\"71\" src=\"http:\/\/amineoumous.com\/blog\/wp-content\/uploads\/2023\/09\/amineoumous_formula_multiple_LR.png\" alt=\"Formula Multiple Linear Regression\" class=\"wp-image-1350\" srcset=\"https:\/\/amineoumous.com\/blog\/wp-content\/uploads\/2023\/09\/amineoumous_formula_multiple_LR.png 320w, https:\/\/amineoumous.com\/blog\/wp-content\/uploads\/2023\/09\/amineoumous_formula_multiple_LR-300x67.png 300w\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" \/><\/figure><\/div>\n\n\n\n<p>For example, in simple linear regression, we observed that an employee&#8217;s salary depends on the number of years of experience. However, it can also depend on their level of education, skills, and other factors. As you can see, we have several variables influencing the prediction of an employee&#8217;s salary, which is why we need to use multiple linear regression.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Objective<\/h3>\n\n\n\n<p>We want our model to predict the profit of a startup based on these independent variables in order to help investors determine which companies to invest in, with the goal of maximizing profit.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Dataset<\/h3>\n\n\n\n<p>The dataset (can be found&nbsp;<a href=\"https:\/\/www.kaggle.com\/amineoumous\/50-startups-data\" data-type=\"URL\" data-id=\"https:\/\/www.kaggle.com\/amineoumous\/50-startups-data\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>) that we use in this model contains data about 50 startups. It has 5 columns: &#8216;R&amp;D Spend,&#8217; &#8216;Administration,&#8217; &#8216;Marketing Spend,&#8217; &#8216;State,&#8217; and &#8216;Profit.&#8217; The first 3 columns indicate how much each startup spends on R&amp;D, Marketing, and administration costs, respectively. The &#8216;State&#8217; column indicates which state the startup is based in, and the last column represents the profit made by the startup.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Import Libraries<\/h3>\n\n\n\n<p>we will use 4 libraries such as :<br> &#8211; <em>NumPy<\/em>: <code>import numpy as np<\/code><br> &#8211; <em>Pandas<\/em>: <code>import pandas as pd<\/code> to work with a dataset<br> &#8211; <em>Matplotlib<\/em>: <code>import matplotlib.pyplot as plt<\/code> to visualize our plots for viewing<br> &#8211; <em>Sklearn<\/em>: <code>from sklearn.linear_model import LinearRegression<\/code> to implement machine learning functions, in this example, we use Linear Regression<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Load the Dataset<\/h3>\n\n\n\n<p>We will be using the pandas dataframe. Here, X contains all the independent variable, which are \u201cR&amp;D Spend\u201d, \u201cAdministration\u201d, \u201cMarketing Spend\u201d and \u201cState\u201d. And y is the dependent variable, which is the \u201cProfit\u201d.<br>So for X, we specify : <kbd>X = dataset.iloc[:,:-1].values<\/kbd><br>and for y, we specify : <kbd>y = dataset.iloc[:,4].values<\/kbd><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Convert text variable to numbers<\/h3>\n\n\n\n<p>We can see that in our dataset, we have a categorical variable &#8216;State&#8217; that needs to be encoded. The &#8216;State&#8217; variable is at index 3. We will use the <kbd>OneHotEncoder<\/kbd> and <kbd>ColumnTransformer<\/kbd> classes to convert text to numbers<\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/amineoumous\/b6d9586acd8e7fa26a573cfb9ba7d117.js\"><\/script>\n\n\n\n<p>After running the above code snippet, we can observe that 3 dummy variables have been added since we had 3 different states. However, it&#8217;s essential to remove one of the dummy variables to avoid the dummy variable trap. You can read more about the dummy variable trap and why it&#8217;s necessary to remove one of the dummy variables. <br><code> X = X[:,1:]<\/code><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4: Split dataset &#8211; training set and test set<\/h3>\n\n\n\n<p>Next, we have to split the dataset into training and testing. We will use the training dataset for training the model and then check the performance of the model on the test dataset. For this we will use the train_test_split method from library model_selection<\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/amineoumous\/a7d48617cc7e79a393d7d2b8eae0f219.js\"><\/script>\n\n\n\n<h3 class=\"wp-block-heading\">Step 5: Fit our model to training set<\/h3>\n\n\n\n<p>This is a straightforward step. We will be using the <kbd>LinearRegression<\/kbd> class from the <kbd>sklearn.linear_model<\/kbd> library.<\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/amineoumous\/8bd61177d72897fc7682e4b54c21e356.js\"><\/script>\n\n\n\n<h3 class=\"wp-block-heading\">Step 6: Predict the test set<\/h3>\n\n\n\n<p>Using the regressor we trained in the previous step, we will now employ it to predict the results of the test set and compare these predicted values with the actual values.<br><code>y_pred = regressor.predict(X_test)<\/code><br>Let us compare and see how well our model did. As you can see below, our model performed quite well.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"320\" height=\"171\" src=\"http:\/\/amineoumous.com\/blog\/wp-content\/uploads\/2023\/09\/amineoumous_multiple_LR_predict.png\" alt=\"multiple linear regression predict\" class=\"wp-image-1353\" srcset=\"https:\/\/amineoumous.com\/blog\/wp-content\/uploads\/2023\/09\/amineoumous_multiple_LR_predict.png 320w, https:\/\/amineoumous.com\/blog\/wp-content\/uploads\/2023\/09\/amineoumous_multiple_LR_predict-300x160.png 300w\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" \/><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Step 7: Backward Elimination<\/h3>\n\n\n\n<p>In the model that we just built, we used all the independent variables. However, it&#8217;s possible that some independent variables are more significant than others and have a greater impact on the profit, while others are not significant. This means that if we remove the less significant variables from the model, we may achieve better predictions. The first step is to add a column of 1&#8217;s to our X dataset as the first column.<\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/amineoumous\/ef20f311866fe14f959de9cf6d33626f.js\"><\/script>\n\n\n\n<p>Now we will start the backward elimination process. Since we will be creating a new optimal matrix of features, we will call it X_opt. This will contain only the independent features that are significant in predicting profit. Next we create a new regressor of the OLS class (Ordinary Least Square) from statsmodels library. It takes 2 argument<br><kbd>endog<\/kbd> : which is the dependent variable.<br><kbd>exog<\/kbd> : which is the matrix containing all independent variables.<br>Now we need to fit the OLS algorithm, then we will look at the summary to see which independent variable has p value higher than SL (0.05).<\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/amineoumous\/b1b56fcf647b16bb11814b9ecc62ffb1.js\"><\/script>\n\n\n\n<p>Let\u2019s examine the output: x<sub>1<\/sub> and x<sub>2<\/sub> are the 2 dummy variables we added for state. x<sub>3<\/sub> is R&amp;D spent. x<sub>4<\/sub> is Admin spent. x<sub>5<\/sub> is marketing spent. We have to look for the highest P value greater than 0.5 which in this case is 0.99 (99%) for x<sub>2<\/sub>. So we have to remove x<sub>2<\/sub> (2nd dummy variable for state) which has index 2.<\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/amineoumous\/cab76c0883d6728dee9e2107956f736c.js\"><\/script>\n\n\n\n<p>Now we will repeat the process after removing the independent variables with highest p value.<\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/amineoumous\/546dee81152a5ed4f3f33a0be58ee555.js\"><\/script>\n\n\n\n<p>Finally we are left with only 1 independent variable which is the &#8216;R&amp;D spent&#8217;.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-background has-johannes-acc-background-color has-johannes-acc-color\"\/>\n\n\n\n<p>The entire backward elimination process can be automated. I&#8217;ve explained it step by step for better understanding. We can rebuild our model, this time taking only one independent variable, which is R&amp;D spending, and make predictions. Our results may be better than the first time.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>If you want to share your models with me on Kaggle here is the link to our dataset:&nbsp;<a href=\"https:\/\/www.kaggle.com\/amineoumous\/50-startups-data\" data-type=\"URL\" data-id=\"https:\/\/www.kaggle.com\/amineoumous\/50-startups-data\" target=\"_blank\" rel=\"noreferrer noopener\">50 Startups Data &#8211; Kaggle<\/a>.<\/li><li>Here is the&nbsp;<a href=\"https:\/\/www.kaggle.com\/amineoumous\/multiple-linear-regression\" data-type=\"URL\" data-id=\"https:\/\/www.kaggle.com\/amineoumous\/multiple-linear-regression\" target=\"_blank\" rel=\"noreferrer noopener\">Full Source Code<\/a>.<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>An example of multiple linear regression to predict the profit of a startup is implemented using Python code with the Scikit-Learn machine learning library.\t<\/p>\n","protected":false},"author":1,"featured_media":1355,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[94,93,95],"class_list":["post-177","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-data","tag-data","tag-machine-learning","tag-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How can we predict the profit of a startup ? - Amine&#039;s Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/amineoumous.com\/blog\/2020\/06\/30\/how-can-we-predict-the-profit-of-a-startup\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How can we predict the profit of a startup ? - Amine&#039;s Blog\" \/>\n<meta property=\"og:description\" content=\"An example of multiple linear regression to predict the profit of a startup is implemented using Python code with the Scikit-Learn machine learning library.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/amineoumous.com\/blog\/2020\/06\/30\/how-can-we-predict-the-profit-of-a-startup\/\" \/>\n<meta property=\"og:site_name\" content=\"Amine&#039;s Blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-06-30T20:24:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-01T16:37:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/amineoumous.com\/blog\/wp-content\/uploads\/2020\/06\/amineoumous_ml_Multiple_LR.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1080\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Amine\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Amine\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/amineoumous.com\/blog\/2020\/06\/30\/how-can-we-predict-the-profit-of-a-startup\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/amineoumous.com\/blog\/2020\/06\/30\/how-can-we-predict-the-profit-of-a-startup\/\"},\"author\":{\"name\":\"Amine\",\"@id\":\"https:\/\/amineoumous.com\/blog\/#\/schema\/person\/6743cd27c3f89257502abef0a0d18f6c\"},\"headline\":\"How can we predict the profit of a startup ?\",\"datePublished\":\"2020-06-30T20:24:00+00:00\",\"dateModified\":\"2023-09-01T16:37:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/amineoumous.com\/blog\/2020\/06\/30\/how-can-we-predict-the-profit-of-a-startup\/\"},\"wordCount\":904,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/amineoumous.com\/blog\/#\/schema\/person\/6743cd27c3f89257502abef0a0d18f6c\"},\"image\":{\"@id\":\"https:\/\/amineoumous.com\/blog\/2020\/06\/30\/how-can-we-predict-the-profit-of-a-startup\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/amineoumous.com\/blog\/wp-content\/uploads\/2020\/06\/amineoumous_ml_Multiple_LR.jpg\",\"keywords\":[\"Data\",\"Machine Learning\",\"Tutorials\"],\"articleSection\":[\"Data\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/amineoumous.com\/blog\/2020\/06\/30\/how-can-we-predict-the-profit-of-a-startup\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/amineoumous.com\/blog\/2020\/06\/30\/how-can-we-predict-the-profit-of-a-startup\/\",\"url\":\"https:\/\/amineoumous.com\/blog\/2020\/06\/30\/how-can-we-predict-the-profit-of-a-startup\/\",\"name\":\"How can we predict the profit of a startup ? - Amine&#039;s Blog\",\"isPartOf\":{\"@id\":\"https:\/\/amineoumous.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/amineoumous.com\/blog\/2020\/06\/30\/how-can-we-predict-the-profit-of-a-startup\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/amineoumous.com\/blog\/2020\/06\/30\/how-can-we-predict-the-profit-of-a-startup\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/amineoumous.com\/blog\/wp-content\/uploads\/2020\/06\/amineoumous_ml_Multiple_LR.jpg\",\"datePublished\":\"2020-06-30T20:24:00+00:00\",\"dateModified\":\"2023-09-01T16:37:14+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/amineoumous.com\/blog\/2020\/06\/30\/how-can-we-predict-the-profit-of-a-startup\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/amineoumous.com\/blog\/2020\/06\/30\/how-can-we-predict-the-profit-of-a-startup\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/amineoumous.com\/blog\/2020\/06\/30\/how-can-we-predict-the-profit-of-a-startup\/#primaryimage\",\"url\":\"https:\/\/amineoumous.com\/blog\/wp-content\/uploads\/2020\/06\/amineoumous_ml_Multiple_LR.jpg\",\"contentUrl\":\"https:\/\/amineoumous.com\/blog\/wp-content\/uploads\/2020\/06\/amineoumous_ml_Multiple_LR.jpg\",\"width\":1080,\"height\":600},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/amineoumous.com\/blog\/2020\/06\/30\/how-can-we-predict-the-profit-of-a-startup\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/amineoumous.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How can we predict the profit of a startup ?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/amineoumous.com\/blog\/#website\",\"url\":\"https:\/\/amineoumous.com\/blog\/\",\"name\":\"Amine's Blog\",\"description\":\"Welcome to my digital world of innovation and exploration!\",\"publisher\":{\"@id\":\"https:\/\/amineoumous.com\/blog\/#\/schema\/person\/6743cd27c3f89257502abef0a0d18f6c\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/amineoumous.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/amineoumous.com\/blog\/#\/schema\/person\/6743cd27c3f89257502abef0a0d18f6c\",\"name\":\"Amine\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/amineoumous.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/amineoumous.com\/blog\/wp-content\/uploads\/2023\/09\/amineoumous_cover.jpg\",\"contentUrl\":\"http:\/\/amineoumous.com\/blog\/wp-content\/uploads\/2023\/09\/amineoumous_cover.jpg\",\"width\":1584,\"height\":768,\"caption\":\"Amine\"},\"logo\":{\"@id\":\"https:\/\/amineoumous.com\/blog\/#\/schema\/person\/image\/\"},\"sameAs\":[\"http:\/\/amineoumous.com\/blog\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How can we predict the profit of a startup ? - Amine&#039;s Blog","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:\/\/amineoumous.com\/blog\/2020\/06\/30\/how-can-we-predict-the-profit-of-a-startup\/","og_locale":"en_US","og_type":"article","og_title":"How can we predict the profit of a startup ? - Amine&#039;s Blog","og_description":"An example of multiple linear regression to predict the profit of a startup is implemented using Python code with the Scikit-Learn machine learning library.","og_url":"https:\/\/amineoumous.com\/blog\/2020\/06\/30\/how-can-we-predict-the-profit-of-a-startup\/","og_site_name":"Amine&#039;s Blog","article_published_time":"2020-06-30T20:24:00+00:00","article_modified_time":"2023-09-01T16:37:14+00:00","og_image":[{"width":1080,"height":600,"url":"https:\/\/amineoumous.com\/blog\/wp-content\/uploads\/2020\/06\/amineoumous_ml_Multiple_LR.jpg","type":"image\/jpeg"}],"author":"Amine","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Amine","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/amineoumous.com\/blog\/2020\/06\/30\/how-can-we-predict-the-profit-of-a-startup\/#article","isPartOf":{"@id":"https:\/\/amineoumous.com\/blog\/2020\/06\/30\/how-can-we-predict-the-profit-of-a-startup\/"},"author":{"name":"Amine","@id":"https:\/\/amineoumous.com\/blog\/#\/schema\/person\/6743cd27c3f89257502abef0a0d18f6c"},"headline":"How can we predict the profit of a startup ?","datePublished":"2020-06-30T20:24:00+00:00","dateModified":"2023-09-01T16:37:14+00:00","mainEntityOfPage":{"@id":"https:\/\/amineoumous.com\/blog\/2020\/06\/30\/how-can-we-predict-the-profit-of-a-startup\/"},"wordCount":904,"commentCount":0,"publisher":{"@id":"https:\/\/amineoumous.com\/blog\/#\/schema\/person\/6743cd27c3f89257502abef0a0d18f6c"},"image":{"@id":"https:\/\/amineoumous.com\/blog\/2020\/06\/30\/how-can-we-predict-the-profit-of-a-startup\/#primaryimage"},"thumbnailUrl":"https:\/\/amineoumous.com\/blog\/wp-content\/uploads\/2020\/06\/amineoumous_ml_Multiple_LR.jpg","keywords":["Data","Machine Learning","Tutorials"],"articleSection":["Data"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/amineoumous.com\/blog\/2020\/06\/30\/how-can-we-predict-the-profit-of-a-startup\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/amineoumous.com\/blog\/2020\/06\/30\/how-can-we-predict-the-profit-of-a-startup\/","url":"https:\/\/amineoumous.com\/blog\/2020\/06\/30\/how-can-we-predict-the-profit-of-a-startup\/","name":"How can we predict the profit of a startup ? - Amine&#039;s Blog","isPartOf":{"@id":"https:\/\/amineoumous.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/amineoumous.com\/blog\/2020\/06\/30\/how-can-we-predict-the-profit-of-a-startup\/#primaryimage"},"image":{"@id":"https:\/\/amineoumous.com\/blog\/2020\/06\/30\/how-can-we-predict-the-profit-of-a-startup\/#primaryimage"},"thumbnailUrl":"https:\/\/amineoumous.com\/blog\/wp-content\/uploads\/2020\/06\/amineoumous_ml_Multiple_LR.jpg","datePublished":"2020-06-30T20:24:00+00:00","dateModified":"2023-09-01T16:37:14+00:00","breadcrumb":{"@id":"https:\/\/amineoumous.com\/blog\/2020\/06\/30\/how-can-we-predict-the-profit-of-a-startup\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/amineoumous.com\/blog\/2020\/06\/30\/how-can-we-predict-the-profit-of-a-startup\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/amineoumous.com\/blog\/2020\/06\/30\/how-can-we-predict-the-profit-of-a-startup\/#primaryimage","url":"https:\/\/amineoumous.com\/blog\/wp-content\/uploads\/2020\/06\/amineoumous_ml_Multiple_LR.jpg","contentUrl":"https:\/\/amineoumous.com\/blog\/wp-content\/uploads\/2020\/06\/amineoumous_ml_Multiple_LR.jpg","width":1080,"height":600},{"@type":"BreadcrumbList","@id":"https:\/\/amineoumous.com\/blog\/2020\/06\/30\/how-can-we-predict-the-profit-of-a-startup\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/amineoumous.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How can we predict the profit of a startup ?"}]},{"@type":"WebSite","@id":"https:\/\/amineoumous.com\/blog\/#website","url":"https:\/\/amineoumous.com\/blog\/","name":"Amine's Blog","description":"Welcome to my digital world of innovation and exploration!","publisher":{"@id":"https:\/\/amineoumous.com\/blog\/#\/schema\/person\/6743cd27c3f89257502abef0a0d18f6c"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/amineoumous.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/amineoumous.com\/blog\/#\/schema\/person\/6743cd27c3f89257502abef0a0d18f6c","name":"Amine","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/amineoumous.com\/blog\/#\/schema\/person\/image\/","url":"http:\/\/amineoumous.com\/blog\/wp-content\/uploads\/2023\/09\/amineoumous_cover.jpg","contentUrl":"http:\/\/amineoumous.com\/blog\/wp-content\/uploads\/2023\/09\/amineoumous_cover.jpg","width":1584,"height":768,"caption":"Amine"},"logo":{"@id":"https:\/\/amineoumous.com\/blog\/#\/schema\/person\/image\/"},"sameAs":["http:\/\/amineoumous.com\/blog"]}]}},"views":514,"_links":{"self":[{"href":"https:\/\/amineoumous.com\/blog\/wp-json\/wp\/v2\/posts\/177","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/amineoumous.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/amineoumous.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/amineoumous.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/amineoumous.com\/blog\/wp-json\/wp\/v2\/comments?post=177"}],"version-history":[{"count":3,"href":"https:\/\/amineoumous.com\/blog\/wp-json\/wp\/v2\/posts\/177\/revisions"}],"predecessor-version":[{"id":1357,"href":"https:\/\/amineoumous.com\/blog\/wp-json\/wp\/v2\/posts\/177\/revisions\/1357"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/amineoumous.com\/blog\/wp-json\/wp\/v2\/media\/1355"}],"wp:attachment":[{"href":"https:\/\/amineoumous.com\/blog\/wp-json\/wp\/v2\/media?parent=177"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/amineoumous.com\/blog\/wp-json\/wp\/v2\/categories?post=177"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/amineoumous.com\/blog\/wp-json\/wp\/v2\/tags?post=177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}