From 88b624585ca447f2ecc2c40de41958ccba176d4d Mon Sep 17 00:00:00 2001 From: didier Date: Sat, 27 Mar 2021 18:06:07 +0000 Subject: [PATCH] fix strength word --- gamestonk_terminal/exploratory_data_analysis/eda_api.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gamestonk_terminal/exploratory_data_analysis/eda_api.py b/gamestonk_terminal/exploratory_data_analysis/eda_api.py index a4e4535a537..ebd4e7c436d 100644 --- a/gamestonk_terminal/exploratory_data_analysis/eda_api.py +++ b/gamestonk_terminal/exploratory_data_analysis/eda_api.py @@ -533,28 +533,28 @@ def decompose(other_args: List[str], ticker: str, stock: pd.DataFrame): FtMul = max(0, 1 - np.var(resultMul.resid)) / np.var( resultMul.trend + resultMul.resid ) - print("Strenght of Trend: %.4f" % FtMul) + print("Strength of Trend: %.4f" % FtMul) FsMul = max( 0, 1 - np.var(resultMul.resid) / np.var(resultMul.seasonal + resultMul.resid), ) - print("Strenght of Seasonality: %.4f" % FsMul) + print("Strength of Seasonality: %.4f" % FsMul) else: FtAdd = max( 0, 1 - np.var(resultAdd.resid) / np.var(resultAdd.trend + resultAdd.resid), ) - print("Strenght of Trend: %.4f" % FtAdd) + print("Strength of Trend: %.4f" % FtAdd) FsAdd = max( 0, 1 - np.var(resultAdd.resid) / np.var(resultAdd.seasonal + resultAdd.resid), ) - print("Strenght of Seasonality: %.4f" % FsAdd) + print("Strength of Seasonality: %.4f" % FsAdd) print("") except Exception as e: