Human Behavior In Domestic Environments: Prediction And Applications