Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -119,7 +119,6 @@ st.title("Random Experiment:Will it rain or not with respect to trail")
|
|
| 119 |
st.write("""
|
| 120 |
This simple experiment simulates a random prediction will it rain or not with respect to trail. Each time you click the button you will get a random result that it will rain or not.
|
| 121 |
""")
|
| 122 |
-
|
| 123 |
Trail = st.number_input("Number of Trials:", min_value=1, max_value=100, value=7)
|
| 124 |
if st.button('Start the Experiment: Will it Rain or Not?'):
|
| 125 |
st.write(f"Running {Trail} trials...")
|
|
@@ -131,6 +130,9 @@ st.markdown("""Outcome is nothing but result of a trail.""",unsafe_allow_html=Tr
|
|
| 131 |
st.subheader("Sample Space")
|
| 132 |
st.markdown("""Set of all possible outcome of Sample Space..""",unsafe_allow_html=True)
|
| 133 |
st.title("Example of Sample Space")
|
|
|
|
|
|
|
|
|
|
| 134 |
Trail_1 = st.number_input("Number of Trials:", min_value=1, max_value=100, value=7,key="Trail_1")
|
| 135 |
if st.button('Start the Experiment: Will it Rain or Not?',key="start_experiment"):
|
| 136 |
st.write(f"Running {Trail_1} trials...")
|
|
@@ -141,6 +143,9 @@ if st.button('Start the Experiment: Will it Rain or Not?',key="start_experiment"
|
|
| 141 |
st.write(f"Sample_Space:{np.unique(list1)}")
|
| 142 |
st.subheader("Event")
|
| 143 |
st.markdown("It's a subset of sample space or in easy term's the question's raised on a random experiemnt.",unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
|
| 144 |
st.title("Example of an Event")
|
| 145 |
Trail_2 = st.number_input("Number of Trials:", min_value=1, max_value=100, value=7,key="Trail_2")
|
| 146 |
if st.button('Start the Experiment: Will it Rain or Not?',key="start_experiment_1"):
|
|
|
|
| 119 |
st.write("""
|
| 120 |
This simple experiment simulates a random prediction will it rain or not with respect to trail. Each time you click the button you will get a random result that it will rain or not.
|
| 121 |
""")
|
|
|
|
| 122 |
Trail = st.number_input("Number of Trials:", min_value=1, max_value=100, value=7)
|
| 123 |
if st.button('Start the Experiment: Will it Rain or Not?'):
|
| 124 |
st.write(f"Running {Trail} trials...")
|
|
|
|
| 130 |
st.subheader("Sample Space")
|
| 131 |
st.markdown("""Set of all possible outcome of Sample Space..""",unsafe_allow_html=True)
|
| 132 |
st.title("Example of Sample Space")
|
| 133 |
+
st.write("""
|
| 134 |
+
This simple experiment simulates a random prediction will it rain or not with respect to trail and will tell you about sample space.
|
| 135 |
+
""")
|
| 136 |
Trail_1 = st.number_input("Number of Trials:", min_value=1, max_value=100, value=7,key="Trail_1")
|
| 137 |
if st.button('Start the Experiment: Will it Rain or Not?',key="start_experiment"):
|
| 138 |
st.write(f"Running {Trail_1} trials...")
|
|
|
|
| 143 |
st.write(f"Sample_Space:{np.unique(list1)}")
|
| 144 |
st.subheader("Event")
|
| 145 |
st.markdown("It's a subset of sample space or in easy term's the question's raised on a random experiemnt.",unsafe_allow_html=True)
|
| 146 |
+
st.write("""
|
| 147 |
+
This simple experiment simulates a random prediction will it rain or not with respect to trail and will tell you about event.
|
| 148 |
+
""")
|
| 149 |
st.title("Example of an Event")
|
| 150 |
Trail_2 = st.number_input("Number of Trials:", min_value=1, max_value=100, value=7,key="Trail_2")
|
| 151 |
if st.button('Start the Experiment: Will it Rain or Not?',key="start_experiment_1"):
|