use case :
1 . A B C D ------ > Y
A F G H ------> Y
A B F C ------> Y
B C F I --------> Y
But all should be done in single model by any means of algorithm is ok
Tags:
Are we suggesting that there are four independent variables here with values A, B, C, and so forth, the same four variables every time, or there are more than four variables, and in any given scenario we only use only four of them?
If we have four independent variables, and if those variables are more or less independent of each other, and if the relationship is really more or less linear, a linear regression may work, keeping in mind all the limits and assumptions of a linear regression. This is a "multiple linear regression" with four explanatory variables.
If on the other hand we have some model which is taking four variables in one scenario and another four variables in another scenario, is that because in the thing being modeled the unused variables are not applicable, or are the unused variables there but unknown? Probably it's not going to be a good place to use a linear regression, but it depends on what is going on with the actual thing being modeled and why you would have different variables in different scenarios. Are they still there in the thing being modeled, you just don't have access to them? Or are they not applicable?
So for example, if the "A" above is for number of apples, "B" for number of blueberries, "C" for number of currants, "D" for dates, "F" for figs, "G" for guavas, "H" for honeydew, and "Y" is the size of your fruit salad, is the first row only taking into account apples, blueberries, currants, and dates because the other fruit are all unused? If so, then the variables really are there, set to zero, and you could make a nice linear regression using eight variables for those fruit, though with any given salad you used only four and left the others as zero. Only the four ingredients are applicable, but the others are really all accounted for, being zero. You really have all eight variables every time, likely they are independent of each other, and likely the relationship to the size of the fruit salad is linear, so a multiple linear regression may work well.
Posted 29 March 2021
© 2021 TechTarget, Inc. Powered by
Badges | Report an Issue | Privacy Policy | Terms of Service
Most Popular Content on DSC
To not miss this type of content in the future, subscribe to our newsletter.
Other popular resources
Archives: 2008-2014 | 2015-2016 | 2017-2019 | Book 1 | Book 2 | More
Most popular articles