<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>The Ops Community ⚙️: Arman Chand</title>
    <description>The latest articles on The Ops Community ⚙️ by Arman Chand (@arman_chand_07).</description>
    <link>https://community.ops.io/arman_chand_07</link>
    <image>
      <url>https://community.ops.io/images/gFeGm8lany_GNFYUV06mOkIuGQbW2AFRi-XAOmR82mk/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly9jb21t/dW5pdHkub3BzLmlv/L3JlbW90ZWltYWdl/cy91cGxvYWRzL3Vz/ZXIvcHJvZmlsZV9p/bWFnZS85MjQvMDk1/ODAxMWMtMjEyZS00/MGI3LWFiMTItNzNm/ZGQ2YTk5ZTk4Lmpw/Zw</url>
      <title>The Ops Community ⚙️: Arman Chand</title>
      <link>https://community.ops.io/arman_chand_07</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://community.ops.io/feed/arman_chand_07"/>
    <language>en</language>
    <item>
      <title>Predicting Mobile Phone Price using MindsDB Cloud</title>
      <dc:creator>Arman Chand</dc:creator>
      <pubDate>Sun, 09 Oct 2022 07:08:38 +0000</pubDate>
      <link>https://community.ops.io/arman_chand_07/predicting-mobile-phone-price-using-mindsdb-cloud-cnf</link>
      <guid>https://community.ops.io/arman_chand_07/predicting-mobile-phone-price-using-mindsdb-cloud-cnf</guid>
      <description>&lt;p&gt;&lt;a href="https://community.ops.io/images/adJ0Jp8rLquXvuwcgOXLSS7Kzt3SBet_L5-1zrnF1pA/w:880/mb:500000/ar:1/aHR0cHM6Ly9jb21t/dW5pdHkub3BzLmlv/L3JlbW90ZWltYWdl/cy91cGxvYWRzL2Fy/dGljbGVzL3pyMXI1/ZDU2eTZlYm4ydDl0/cnUzLnBuZw" class="article-body-image-wrapper"&gt;&lt;img src="https://community.ops.io/images/adJ0Jp8rLquXvuwcgOXLSS7Kzt3SBet_L5-1zrnF1pA/w:880/mb:500000/ar:1/aHR0cHM6Ly9jb21t/dW5pdHkub3BzLmlv/L3JlbW90ZWltYWdl/cy91cGxvYWRzL2Fy/dGljbGVzL3pyMXI1/ZDU2eTZlYm4ydDl0/cnUzLnBuZw" alt="Image description" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;With MindsDB, we can begin predicting in SQL right now. In order to predict the Target price on the basis of the options, we will fetch our dataset and create a model instantly.&lt;/p&gt;

&lt;p&gt;This tutorial will teach you how to train a model to predict mobile worth based on many variables, such as clock_speed, battery_power, dual_sim, etc. From Kaggle, we will use a Mobile Worth Classification dataset.&lt;/p&gt;

&lt;p&gt;Then we will log in to MindsDB Cloud, connect it to our data, train a model based on the dataset in our data, and attempt to predict mobile costs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Importing Data to MindsDB Cloud
&lt;/h2&gt;

&lt;p&gt;We will want a dataset at first that contains Mobile worth on the idea of multiple parameters. you'll be able to transfer a duplicate of the dataset here.&lt;/p&gt;

&lt;p&gt;Download the dataset from Kaggle &lt;a href="https://www.kaggle.com/datasets/iabhishekofficial/mobile-price-classification"&gt;https://www.kaggle.com/datasets/iabhishekofficial/mobile-price-classification&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;and then merely extract it and save the CSV file for later use.&lt;br&gt;
Now allow us to start with our MindsDB Cloud account to require things additional.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1:&lt;/strong&gt; Login to your existing MindsDB Cloud account or signup for a brand new one here.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://community.ops.io/images/AQME816MugUkWpd1o6lYvoi2nKsQ7pNV4c1bcOD_y4Y/w:880/mb:500000/ar:1/aHR0cHM6Ly9jb21t/dW5pdHkub3BzLmlv/L3JlbW90ZWltYWdl/cy91cGxvYWRzL2Fy/dGljbGVzL3J3MzFr/MzBod2lwZjVxbzF0/djhkLnBuZw" class="article-body-image-wrapper"&gt;&lt;img src="https://community.ops.io/images/AQME816MugUkWpd1o6lYvoi2nKsQ7pNV4c1bcOD_y4Y/w:880/mb:500000/ar:1/aHR0cHM6Ly9jb21t/dW5pdHkub3BzLmlv/L3JlbW90ZWltYWdl/cy91cGxvYWRzL2Fy/dGljbGVzL3J3MzFr/MzBod2lwZjVxbzF0/djhkLnBuZw" alt="Image description" width="880" height="424"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2:&lt;/strong&gt; Once you've got signed up or logged in to your MindsDB cloud account, you'll be able to realize the MindsDB Cloud Editor displayed for you.&lt;br&gt;
The top panel is for writing the question, all-time low panel is for displaying the results and therefore the right panel lists out a number of the training hub resources to form things easier for the new users.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://community.ops.io/images/JHOUk67lTV5ckVTGosSO3ZIq7doEP1205grgEseP2d8/w:880/mb:500000/ar:1/aHR0cHM6Ly9jb21t/dW5pdHkub3BzLmlv/L3JlbW90ZWltYWdl/cy91cGxvYWRzL2Fy/dGljbGVzL2t5cWNt/ZTNwYnR1d2IxNDJ6/bDQzLnBuZw" class="article-body-image-wrapper"&gt;&lt;img src="https://community.ops.io/images/JHOUk67lTV5ckVTGosSO3ZIq7doEP1205grgEseP2d8/w:880/mb:500000/ar:1/aHR0cHM6Ly9jb21t/dW5pdHkub3BzLmlv/L3JlbW90ZWltYWdl/cy91cGxvYWRzL2Fy/dGljbGVzL2t5cWNt/ZTNwYnR1d2IxNDJ6/bDQzLnBuZw" alt="Image description" width="880" height="384"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3:&lt;/strong&gt; Click on Add Data from the highest right and on consequent screen that seems, turn to Files rather than Databases and so click on Import File.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://community.ops.io/images/JKhw-WrG4rVntsxWEXFJ1p94wOslBGl9z9gavwiiwYo/w:880/mb:500000/ar:1/aHR0cHM6Ly9jb21t/dW5pdHkub3BzLmlv/L3JlbW90ZWltYWdl/cy91cGxvYWRzL2Fy/dGljbGVzL2g2NDg4/eWN0YnB3dWNhMnli/OXI4LnBuZw" class="article-body-image-wrapper"&gt;&lt;img src="https://community.ops.io/images/JKhw-WrG4rVntsxWEXFJ1p94wOslBGl9z9gavwiiwYo/w:880/mb:500000/ar:1/aHR0cHM6Ly9jb21t/dW5pdHkub3BzLmlv/L3JlbW90ZWltYWdl/cy91cGxvYWRzL2Fy/dGljbGVzL2g2NDg4/eWN0YnB3dWNhMnli/OXI4LnBuZw" alt="Image description" width="880" height="407"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Step 4: Currently on the Import File dashboard, browse the dataset file from your pc, set a name for the Table and then hit the Save and Continue button. this could simply transfer the dataset file for you and build a Table with the name you provided.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://community.ops.io/images/EgQlf2jyqKgw0148nKpw4Gg7_aFsa4QIeTwnNumz2Ho/w:880/mb:500000/ar:1/aHR0cHM6Ly9jb21t/dW5pdHkub3BzLmlv/L3JlbW90ZWltYWdl/cy91cGxvYWRzL2Fy/dGljbGVzL2ppM3Rw/MjdnbXIybXduZ2g3/bXAyLnBuZw" class="article-body-image-wrapper"&gt;&lt;img src="https://community.ops.io/images/EgQlf2jyqKgw0148nKpw4Gg7_aFsa4QIeTwnNumz2Ho/w:880/mb:500000/ar:1/aHR0cHM6Ly9jb21t/dW5pdHkub3BzLmlv/L3JlbW90ZWltYWdl/cy91cGxvYWRzL2Fy/dGljbGVzL2ppM3Rw/MjdnbXIybXduZ2g3/bXAyLnBuZw" alt="Image description" width="880" height="407"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 5:&lt;/strong&gt; Now the GUI returns back to the Editor screen where you can find two generic queries mentioned to either list the tables or query the data in the table that you just uploaded. Let's run both of these queries and check through the results.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://community.ops.io/images/uy7FFZEC8OsObqnglZXkjh1EO0m7InTPnFT9gO5kETY/w:880/mb:500000/ar:1/aHR0cHM6Ly9jb21t/dW5pdHkub3BzLmlv/L3JlbW90ZWltYWdl/cy91cGxvYWRzL2Fy/dGljbGVzL3FtbGFi/bnhlN2VianRpY2Zi/Zzk5LnBuZw" class="article-body-image-wrapper"&gt;&lt;img src="https://community.ops.io/images/uy7FFZEC8OsObqnglZXkjh1EO0m7InTPnFT9gO5kETY/w:880/mb:500000/ar:1/aHR0cHM6Ly9jb21t/dW5pdHkub3BzLmlv/L3JlbW90ZWltYWdl/cy91cGxvYWRzL2Fy/dGljbGVzL3FtbGFi/bnhlN2VianRpY2Zi/Zzk5LnBuZw" alt="Image description" width="880" height="624"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We are now ready to create a Predictor model using our Mobile_Price table that we just uploaded.&lt;/p&gt;
&lt;h2&gt;
  
  
  Training a Predictor Model
&lt;/h2&gt;

&lt;p&gt;MindsDB makes it extremely easy to define a Predictor model and train it by using a simple SQL syntax.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1:&lt;/strong&gt; We will now use the CREATE PREDICTOR syntax to create the Predictor. The syntax will be like this.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;CREATE&lt;/span&gt; &lt;span class="n"&gt;PREDICTOR&lt;/span&gt; &lt;span class="n"&gt;mindsdb&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;predictor_name&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Your&lt;/span&gt; &lt;span class="n"&gt;Predictor&lt;/span&gt; &lt;span class="n"&gt;Name&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;database_name&lt;/span&gt;                      &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Your&lt;/span&gt; &lt;span class="k"&gt;Database&lt;/span&gt; &lt;span class="n"&gt;Name&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="k"&gt;table_name&lt;/span&gt; &lt;span class="k"&gt;LIMIT&lt;/span&gt; &lt;span class="mi"&gt;10000&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Your&lt;/span&gt; &lt;span class="k"&gt;Table&lt;/span&gt; &lt;span class="n"&gt;Name&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;PREDICT&lt;/span&gt; &lt;span class="n"&gt;target_parameter&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;               &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Your&lt;/span&gt; &lt;span class="n"&gt;Target&lt;/span&gt; &lt;span class="k"&gt;Parameter&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The query get's executed and return successful in the terminal.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://community.ops.io/images/29GOwPgBmYUmlyU5aBb9Ohnpk-cVPN3xRtOdo_LlWCM/w:880/mb:500000/ar:1/aHR0cHM6Ly9jb21t/dW5pdHkub3BzLmlv/L3JlbW90ZWltYWdl/cy91cGxvYWRzL2Fy/dGljbGVzL3Q5eHlj/OWQwanZ4cHd0azVh/bHVjLnBuZw" class="article-body-image-wrapper"&gt;&lt;img src="https://community.ops.io/images/29GOwPgBmYUmlyU5aBb9Ohnpk-cVPN3xRtOdo_LlWCM/w:880/mb:500000/ar:1/aHR0cHM6Ly9jb21t/dW5pdHkub3BzLmlv/L3JlbW90ZWltYWdl/cy91cGxvYWRzL2Fy/dGljbGVzL3Q5eHlj/OWQwanZ4cHd0azVh/bHVjLnBuZw" alt="Image description" width="880" height="453"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2:&lt;/strong&gt; The model should take a little while to get created and trained. We can check the status of the model using the syntax below. If the query returns Complete, then the model is ready to use or else wait if it returns Training status.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://community.ops.io/images/JqbE1Js_EHGO6Y6bivm_zyZeGEeBS1wfY3xZXltn3mM/w:880/mb:500000/ar:1/aHR0cHM6Ly9jb21t/dW5pdHkub3BzLmlv/L3JlbW90ZWltYWdl/cy91cGxvYWRzL2Fy/dGljbGVzLzh4aDJ0/eHFyZGxzM2xtMXBv/bHppLnBuZw" class="article-body-image-wrapper"&gt;&lt;img src="https://community.ops.io/images/JqbE1Js_EHGO6Y6bivm_zyZeGEeBS1wfY3xZXltn3mM/w:880/mb:500000/ar:1/aHR0cHM6Ly9jb21t/dW5pdHkub3BzLmlv/L3JlbW90ZWltYWdl/cy91cGxvYWRzL2Fy/dGljbGVzLzh4aDJ0/eHFyZGxzM2xtMXBv/bHppLnBuZw" alt="Image description" width="880" height="728"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://community.ops.io/images/L9OMJPXUlLlDcXBdF6ie2Dx_Bozl8QMzjjnxUigQtRg/w:880/mb:500000/ar:1/aHR0cHM6Ly9jb21t/dW5pdHkub3BzLmlv/L3JlbW90ZWltYWdl/cy91cGxvYWRzL2Fy/dGljbGVzL3Qxamlt/bmtwMmhpODdqaXJl/Y216LnBuZw" class="article-body-image-wrapper"&gt;&lt;img src="https://community.ops.io/images/L9OMJPXUlLlDcXBdF6ie2Dx_Bozl8QMzjjnxUigQtRg/w:880/mb:500000/ar:1/aHR0cHM6Ly9jb21t/dW5pdHkub3BzLmlv/L3JlbW90ZWltYWdl/cy91cGxvYWRzL2Fy/dGljbGVzL3Qxamlt/bmtwMmhpODdqaXJl/Y216LnBuZw" alt="Image description" width="880" height="880"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Describing the Predictor Model
&lt;/h2&gt;

&lt;p&gt;MindsDB provides a DESCRIBE statement that we can use to gain some insights into the Predictor Model. We can find more details about the model in the following three ways.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;By Features&lt;/li&gt;
&lt;li&gt;By Model&lt;/li&gt;
&lt;li&gt;By Model Ensemble&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  By Features
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;DESCRIBE&lt;/span&gt; &lt;span class="n"&gt;mindsdb&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;predictor_model_name&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;features&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This statement is used to find out the type of encoders used on each column to train the model and the role of each of the columns for the model. A sample output for our model is posted below.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://community.ops.io/images/mGzYMtUKjyoJLY6GUQXaJ90poy9KLbnVc2ksgMtIrow/w:880/mb:500000/ar:1/aHR0cHM6Ly9jb21t/dW5pdHkub3BzLmlv/L3JlbW90ZWltYWdl/cy91cGxvYWRzL2Fy/dGljbGVzLzlueHBx/cnIxMm0xc2EzcDFz/dm5tLnBuZw" class="article-body-image-wrapper"&gt;&lt;img src="https://community.ops.io/images/mGzYMtUKjyoJLY6GUQXaJ90poy9KLbnVc2ksgMtIrow/w:880/mb:500000/ar:1/aHR0cHM6Ly9jb21t/dW5pdHkub3BzLmlv/L3JlbW90ZWltYWdl/cy91cGxvYWRzL2Fy/dGljbGVzLzlueHBx/cnIxMm0xc2EzcDFz/dm5tLnBuZw" alt="Image description" width="880" height="945"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  By Model
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;DESCRIBE&lt;/span&gt; &lt;span class="n"&gt;mindsdb&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;predictor_model_name&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;MindsDB uses multiple models internally to train the data and then select the most optimized one for the model to do the predictions. This statement simply lists out all the candidate models used to train the data along with other details. The model with 1 in its selected column is the one that is the most optimized and accurate.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://community.ops.io/images/iCmfAuQpAw1CttXmc4MDd8pBzuOexMZ6HVWZCeEk-fg/w:880/mb:500000/ar:1/aHR0cHM6Ly9jb21t/dW5pdHkub3BzLmlv/L3JlbW90ZWltYWdl/cy91cGxvYWRzL2Fy/dGljbGVzLzlneDYz/bG1rN2dxamF3bDR0/cWx4LnBuZw" class="article-body-image-wrapper"&gt;&lt;img src="https://community.ops.io/images/iCmfAuQpAw1CttXmc4MDd8pBzuOexMZ6HVWZCeEk-fg/w:880/mb:500000/ar:1/aHR0cHM6Ly9jb21t/dW5pdHkub3BzLmlv/L3JlbW90ZWltYWdl/cy91cGxvYWRzL2Fy/dGljbGVzLzlneDYz/bG1rN2dxamF3bDR0/cWx4LnBuZw" alt="Image description" width="880" height="624"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  By Model Ensemble
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;DESCRIBE&lt;/span&gt; &lt;span class="n"&gt;mindsdb&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;predictor_model_name&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ensemble&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;With the above statement, we can simply query out a JSON object that lists out the multiple attributes used to select the best candidate model to do the predictions.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://community.ops.io/images/yUs6etQXKGSOgw9Ags5JzQuYAVflCM2TuD4qfZnBlQw/w:880/mb:500000/ar:1/aHR0cHM6Ly9jb21t/dW5pdHkub3BzLmlv/L3JlbW90ZWltYWdl/cy91cGxvYWRzL2Fy/dGljbGVzL2V0anA2/MWx2eDVoeDh2ODlw/ZmFqLnBuZw" class="article-body-image-wrapper"&gt;&lt;img src="https://community.ops.io/images/yUs6etQXKGSOgw9Ags5JzQuYAVflCM2TuD4qfZnBlQw/w:880/mb:500000/ar:1/aHR0cHM6Ly9jb21t/dW5pdHkub3BzLmlv/L3JlbW90ZWltYWdl/cy91cGxvYWRzL2Fy/dGljbGVzL2V0anA2/MWx2eDVoeDh2ODlw/ZmFqLnBuZw" alt="Image description" width="880" height="1035"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Querying the Model
&lt;/h2&gt;

&lt;p&gt;Now that we have a tendency to square measure prepared with our Predictor Model, we will merely execute some straightforward SQL question statements to predict the target price supported by the feature parameters.&lt;/p&gt;

&lt;p&gt;We will start by predicting that only 1 feature parameter is supported by price_range and therefore the question statement should look like this.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;price_range&lt;/span&gt;
&lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;mindsdb&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Mobile_Price_Predict&lt;/span&gt;
&lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;dual_sim&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'0'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This should return the expected price_range having dual_sim value as 0.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://community.ops.io/images/4Aw2unPmD6-HqjA_xbpYlR9QZDkhDDIAHulEWNIfYTo/w:880/mb:500000/ar:1/aHR0cHM6Ly9jb21t/dW5pdHkub3BzLmlv/L3JlbW90ZWltYWdl/cy91cGxvYWRzL2Fy/dGljbGVzLzZ0bzBi/YjhodW1jbmptY20w/ZzFxLnBuZw" class="article-body-image-wrapper"&gt;&lt;img src="https://community.ops.io/images/4Aw2unPmD6-HqjA_xbpYlR9QZDkhDDIAHulEWNIfYTo/w:880/mb:500000/ar:1/aHR0cHM6Ly9jb21t/dW5pdHkub3BzLmlv/L3JlbW90ZWltYWdl/cy91cGxvYWRzL2Fy/dGljbGVzLzZ0bzBi/YjhodW1jbmptY20w/ZzFxLnBuZw" alt="Image description" width="880" height="840"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Let's now try predicting the price_range based on multiple feature parameters.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;price_range&lt;/span&gt; 
&lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;mindsdb&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Mobile_Price_Predict&lt;/span&gt;
&lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;touch_screen&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'0'&lt;/span&gt; &lt;span class="k"&gt;and&lt;/span&gt; &lt;span class="n"&gt;int_memory&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;51&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This should return the expected price_range having touch_screen values as 0 and int_memory value as 51;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://community.ops.io/images/Q4uYtldS5qVojYnr_d01Swt6r_Y90WxJ9jRdoG4KKxk/w:880/mb:500000/ar:1/aHR0cHM6Ly9jb21t/dW5pdHkub3BzLmlv/L3JlbW90ZWltYWdl/cy91cGxvYWRzL2Fy/dGljbGVzL2FybDJy/eGpza3Y3b3c1ZGRo/bHAwLnBuZw" class="article-body-image-wrapper"&gt;&lt;img src="https://community.ops.io/images/Q4uYtldS5qVojYnr_d01Swt6r_Y90WxJ9jRdoG4KKxk/w:880/mb:500000/ar:1/aHR0cHM6Ly9jb21t/dW5pdHkub3BzLmlv/L3JlbW90ZWltYWdl/cy91cGxvYWRzL2Fy/dGljbGVzL2FybDJy/eGpza3Y3b3c1ZGRo/bHAwLnBuZw" alt="Image description" width="880" height="818"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;It's time to wrap up the tutorial. As part of this tutorial, we created a MindsDB Cloud account, uploaded a dataset to the cloud interface, trained a predictor model with the dataset, and predicted the Mobile price range.&lt;/p&gt;

&lt;p&gt;Using MindsDB, you can coach your own predictive models using datasets available on the market online. Don't be afraid to give it a try if you want to make all the predictions you want.&lt;/p&gt;

&lt;p&gt;As a final note, please LIKE this page if you learn something new and interesting today and feel free to share your feedback below.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
