From 1330d698ed02cd2ed5b2cac2fde3d3827e0247cb Mon Sep 17 00:00:00 2001 From: Luan Fernandes Date: Sun, 27 Oct 2024 20:06:06 -0300 Subject: [PATCH] remove warnings, we'll not use other lib for stats --- Homepage.py | 12 ------------ pages/1_Analyze_with_Summary_Information.py | 4 +--- pages/2_Analyze_with_Summary_CSV.py | 4 +--- pages/3_Analyze_with_Per_Impression_CSV.py | 4 +--- pages/4_Why_Bayesian.py | 3 --- 5 files changed, 3 insertions(+), 24 deletions(-) diff --git a/Homepage.py b/Homepage.py index 5e15562..811217d 100644 --- a/Homepage.py +++ b/Homepage.py @@ -1,14 +1,4 @@ import streamlit as st -import pandas as pd -import numpy as np -import scipy.stats -from scipy.stats import norm - -import janus -from janus.stats.experiment import Experiment, Variant - -from utils import save_results_in_session_state, print_warning - import logging logging.basicConfig(level=logging.INFO) @@ -17,8 +7,6 @@ st.image("logo.png", width=250) -print_warning() - st.markdown( """ # 📊 Janus: The Bayesian A/B Test App diff --git a/pages/1_Analyze_with_Summary_Information.py b/pages/1_Analyze_with_Summary_Information.py index d4366c5..ee2679d 100644 --- a/pages/1_Analyze_with_Summary_Information.py +++ b/pages/1_Analyze_with_Summary_Information.py @@ -12,12 +12,10 @@ create_per_user_dataframe_multivariate, ) -from utils import save_results_in_session_state, explain_metrics, print_warning +from utils import save_results_in_session_state, explain_metrics st.set_page_config(page_title=" A/B Testing using summary information", page_icon="📊") -print_warning() - st.markdown( """ # 📊 A/B Testing using Summary Information diff --git a/pages/2_Analyze_with_Summary_CSV.py b/pages/2_Analyze_with_Summary_CSV.py index 3c92d48..c5ccdb1 100644 --- a/pages/2_Analyze_with_Summary_CSV.py +++ b/pages/2_Analyze_with_Summary_CSV.py @@ -12,12 +12,10 @@ create_per_user_dataframe_multivariate, ) -from utils import save_results_in_session_state, explain_metrics, print_warning +from utils import save_results_in_session_state, explain_metrics st.set_page_config(page_title="A/B Testing using summary CSV", page_icon="📊") -print_warning() - st.markdown( """ # 📊 A/B Testing using summary CSV diff --git a/pages/3_Analyze_with_Per_Impression_CSV.py b/pages/3_Analyze_with_Per_Impression_CSV.py index bcc1b00..4712546 100644 --- a/pages/3_Analyze_with_Per_Impression_CSV.py +++ b/pages/3_Analyze_with_Per_Impression_CSV.py @@ -9,12 +9,10 @@ import janus from janus.stats.experiment import Experiment, Variant -from utils import save_results_in_session_state, explain_metrics, print_warning +from utils import save_results_in_session_state, explain_metrics st.set_page_config(page_title="A/B Testing using per-participant CSV", page_icon="📊") -print_warning() - st.markdown( """ # 📊 A/B Testing using per-participant CSV diff --git a/pages/4_Why_Bayesian.py b/pages/4_Why_Bayesian.py index 4c03e7c..af349a2 100644 --- a/pages/4_Why_Bayesian.py +++ b/pages/4_Why_Bayesian.py @@ -1,14 +1,11 @@ import streamlit as st import logging -from utils import print_warning st.set_page_config(page_title="Why Bayesian?", page_icon="📊") logging.basicConfig(level=logging.INFO) -print_warning() - st.markdown( """ # 📊 Why Bayesian?