fix test dataset seed + fix ratios in train set

This commit is contained in:
Alex O'Connell
2023-10-23 01:38:48 -04:00
parent 575efeac41
commit a90a861065
3 changed files with 6019 additions and 3004 deletions

View File

@@ -390,8 +390,8 @@ def generate_example_file(filename: str, seed: int, *, static_factor: int, templ
# TODO: make more randomized names for devices (random words or people's names)
# TODO: answer questions about more than one thing in the state list at once
def main():
generate_example_file("home_assistant_train", 42, static_factor=3, template_factor=20, status_request_factor=10)
generate_example_file("home_assistant_test", 42, static_factor=1, template_factor=3, status_request_factor=2)
generate_example_file("home_assistant_train", 42, static_factor=3, template_factor=20, status_request_factor=15)
generate_example_file("home_assistant_test", 12345, static_factor=1, template_factor=3, status_request_factor=2)
if __name__ == "__main__":
main()

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff