For linear regression, seems like a new feature has to be a linear relation with the target variable.
But If you make the new feature for the Xgboost, what do you have to consider to make a new feature for a xgboost or lightgbm ?
Data Science Stack Exchange is a question and answer site for Data science professionals, Machine Learning specialists, and those interested in learning more about the field. It only takes a minute to sign up.
Sign up to join this communityThere is nothing that needs to be preconsidered when a new feature is presented to LightBGM or XGBoost.
Even though the two mentioned methods work are nonlinear methods, there is no restriction on use them, the method itself will select or not the new features.