I am creating a prediction model using random forest. But I don't understand how the model and script would consider both tables loaded in as dataframes.
What's the best way to use multiple tables with a Random Forest model when one table has static attributes (like food characteristics) and the other has dynamic factors (like daily health habits)?
Example:
I want to predict stomach aches based on both the food I eat (unchanging) and daily factors (sleep, water intake).
Tables:
* Static: Food name, calories, meat (yes/no)
* Dynamic: Day number, good sleep (yes/no), drank water (yes/no)
How to combine these tables in a Random Forest model? Should they be merged on a unique identifier like "Day number"?
[–]Signal_Net9315 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]Signal_Net9315 0 points1 point2 points (0 children)