Multiple XGBoost models or just 1 for a cetain type of category?Python: How to make model predict in a generalized manner using ML AlgorithmWhat approaches could be used to teach a model to make appropriate brush strokes to reproduce a painting?Machine learning algorithm which gives multiple outputs from single inputWhen creating a classification model, should predictors with little correlation to the response variable be included in the model?Which loss function to use for predicting traffic vehicle count?How do I combine two electromagnetic readings to predict the position of a sensor?How to deal with overestimation of small values and underestimation of high values in XGBoost?Regression using gradiant boosting - smoother predictionsforecast product demand in one week using machine learning approachMean Absolute Error increasing with more correlated factors

How are passwords stolen from companies if they only store hashes?

Is there a hypothetical scenario that would make Earth uninhabitable for humans, but not for (the majority of) other animals?

How to define limit operations in general topological spaces? Are nets able to do this?

Why is indicated airspeed rather than ground speed used during the takeoff roll?

Is it insecure to send a password in a `curl` command?

Is there a term for accumulated dirt on the outside of your hands and feet?

Do US professors/group leaders only get a salary, but no group budget?

How does 取材で訪れた integrate into this sentence?

Brake pads destroying wheels

Fewest number of steps to reach 200 using special calculator

HP P840 HDD RAID 5 many strange drive failures

Calculate the frequency of characters in a string

If "dar" means "to give", what does "daros" mean?

How can an organ that provides biological immortality be unable to regenerate?

Bash - pair each line of file

Relation between independence and correlation of uniform random variables

What does "Four-F." mean?

What can I do if I am asked to learn different programming languages very frequently?

Generic TVP tradeoffs?

Loading the leaflet Map in Lightning Web Component

Does the attack bonus from a Masterwork weapon stack with the attack bonus from Masterwork ammunition?

How to get the n-th line after a grepped one?

Synchronized implementation of a bank account in Java

Turning a hard to access nut?



Multiple XGBoost models or just 1 for a cetain type of category?


Python: How to make model predict in a generalized manner using ML AlgorithmWhat approaches could be used to teach a model to make appropriate brush strokes to reproduce a painting?Machine learning algorithm which gives multiple outputs from single inputWhen creating a classification model, should predictors with little correlation to the response variable be included in the model?Which loss function to use for predicting traffic vehicle count?How do I combine two electromagnetic readings to predict the position of a sensor?How to deal with overestimation of small values and underestimation of high values in XGBoost?Regression using gradiant boosting - smoother predictionsforecast product demand in one week using machine learning approachMean Absolute Error increasing with more correlated factors













0












$begingroup$


I am building a model to predict, say house prices. Within my data I have sales and rentals. The Y variable is the price of either the sales or rentals. I also have a number of X variables to predict Y, such as number of bedrooms, bathrooms, meters squared etc.



I believe that the model will firstly make a split on the variable "sales" vs "rentals" as this would reduce the loss function - RMSE - the most.



Do you think it is best to train 2 models one for "sales" and the other for "rentals"? The RMSE for the model is quite high and this is in part due to the incorrect "Sales" predictions.










share|improve this question









$endgroup$
















    0












    $begingroup$


    I am building a model to predict, say house prices. Within my data I have sales and rentals. The Y variable is the price of either the sales or rentals. I also have a number of X variables to predict Y, such as number of bedrooms, bathrooms, meters squared etc.



    I believe that the model will firstly make a split on the variable "sales" vs "rentals" as this would reduce the loss function - RMSE - the most.



    Do you think it is best to train 2 models one for "sales" and the other for "rentals"? The RMSE for the model is quite high and this is in part due to the incorrect "Sales" predictions.










    share|improve this question









    $endgroup$














      0












      0








      0





      $begingroup$


      I am building a model to predict, say house prices. Within my data I have sales and rentals. The Y variable is the price of either the sales or rentals. I also have a number of X variables to predict Y, such as number of bedrooms, bathrooms, meters squared etc.



      I believe that the model will firstly make a split on the variable "sales" vs "rentals" as this would reduce the loss function - RMSE - the most.



      Do you think it is best to train 2 models one for "sales" and the other for "rentals"? The RMSE for the model is quite high and this is in part due to the incorrect "Sales" predictions.










      share|improve this question









      $endgroup$




      I am building a model to predict, say house prices. Within my data I have sales and rentals. The Y variable is the price of either the sales or rentals. I also have a number of X variables to predict Y, such as number of bedrooms, bathrooms, meters squared etc.



      I believe that the model will firstly make a split on the variable "sales" vs "rentals" as this would reduce the loss function - RMSE - the most.



      Do you think it is best to train 2 models one for "sales" and the other for "rentals"? The RMSE for the model is quite high and this is in part due to the incorrect "Sales" predictions.







      machine-learning xgboost






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 8 hours ago









      user113156user113156

      1437




      1437




















          0






          active

          oldest

          votes











          Your Answer





          StackExchange.ifUsing("editor", function ()
          return StackExchange.using("mathjaxEditing", function ()
          StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
          StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
          );
          );
          , "mathjax-editing");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "557"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f47487%2fmultiple-xgboost-models-or-just-1-for-a-cetain-type-of-category%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Data Science Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          Use MathJax to format equations. MathJax reference.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f47487%2fmultiple-xgboost-models-or-just-1-for-a-cetain-type-of-category%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          ValueError: Error when checking input: expected conv2d_13_input to have shape (3, 150, 150) but got array with shape (150, 150, 3)2019 Community Moderator ElectionError when checking : expected dense_1_input to have shape (None, 5) but got array with shape (200, 1)Error 'Expected 2D array, got 1D array instead:'ValueError: Error when checking input: expected lstm_41_input to have 3 dimensions, but got array with shape (40000,100)ValueError: Error when checking target: expected dense_1 to have shape (7,) but got array with shape (1,)ValueError: Error when checking target: expected dense_2 to have shape (1,) but got array with shape (0,)Keras exception: ValueError: Error when checking input: expected conv2d_1_input to have shape (150, 150, 3) but got array with shape (256, 256, 3)Steps taking too long to completewhen checking input: expected dense_1_input to have shape (13328,) but got array with shape (317,)ValueError: Error when checking target: expected dense_3 to have shape (None, 1) but got array with shape (7715, 40000)Keras exception: Error when checking input: expected dense_input to have shape (2,) but got array with shape (1,)

          Ружовы пелікан Змест Знешні выгляд | Пашырэнне | Асаблівасці біялогіі | Літаратура | НавігацыяДагледжаная версіяправерана1 зменаДагледжаная версіяправерана1 змена/ 22697590 Сістэматыкана ВіківідахВыявына Вікісховішчы174693363011049382

          Illegal assignment from SObject to ContactFetching String, Id from Map - Illegal Assignment Id to Field / ObjectError: Compile Error: Illegal assignment from String to BooleanError: List has no rows for assignment to SObjectError on Test Class - System.QueryException: List has no rows for assignment to SObjectRemote action problemDML requires SObject or SObject list type error“Illegal assignment from List to List”Test Class Fail: Batch Class: System.QueryException: List has no rows for assignment to SObjectMapping to a user'List has no rows for assignment to SObject' Mystery