From f85551a16ece38acd9124c049a64801f4939f374 Mon Sep 17 00:00:00 2001 From: Michael Pilosov Date: Fri, 1 Apr 2022 19:52:11 -0600 Subject: [PATCH] fix typo --- README.md | 2 +- main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3b64f02..3bb4e28 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ Therefore, since our objective is to stabilize the cart, the target "time series You can generate your own data with: ```bash -python data.py +python sample.py ``` Note: if you change the presumed sample space in `data.py`, you should make the corresponding changes to the initial distribution in `main.py`. diff --git a/main.py b/main.py index 2ec4a6c..bb952a2 100644 --- a/main.py +++ b/main.py @@ -20,7 +20,7 @@ def train(data): D["u"] = D["i"] * D["o"] / D["p"] mud_point_idx = D["u"].argmax() mud_point = D["lam"].iloc[mud_point_idx] - print(f"MUD Point ({mud_point_idx}: {mud_point}") + print(f"MUD Point {mud_point_idx}: {mud_point}") return mud_point