{'fraction_non_alphanumeric': 0.020209580838323353, 'fraction_numerical': 0.0074850299401197605, 'mean_word_length': 4.8384279475982535, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Forecasting behavior in smart homes based on sleep and wake patterns.

BACKGROUND
The goal of this research is to use smart home technology to assist people who are recovering from injuries or coping with disabilities to live independently.


OBJECTIVE
We introduce an algorithm to model and forecast wake and sleep behaviors that are exhibited by the participant. Furthermore, we propose that sleep behavior is impacted by and can be modeled from wake behavior, and vice versa.


METHODS
This paper describes the Behavior Forecasting (BF) algorithm. BF consists of 1) defining numeric values that reflect sleep and wake behavior, 2) forecasting wake and sleep values from past behavior, 3) analyzing the effect of wake behavior on sleep and vice versa, and 4) improving prediction performance by using both wake and sleep scores.


RESULTS
The BF method was evaluated with data collected from 20 smart homes. We found that regardless of the forecasting method utilized, wake behavior and sleep behavior can be modeled with a minimum accuracy of 84%. Additionally, normalizing the wake and sleep scores drastically improves the accuracy to 99%.


CONCLUSIONS
The results show that we can effectively model wake and sleep behaviors in a smart environment. Furthermore, wake behaviors can be predicted from sleep behaviors and vice versa.