Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mohansaidinesh authored Mar 26, 2024
1 parent 122f1a9 commit 36b8b40
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ def load_lottieurl(url: str):
st.markdown('<h3 style="color: #99B080; font-size: 25px;">Evaluation Metrics:</h3>', unsafe_allow_html=True)
mse=random.uniform(150, 200)
data = {
'Metric': ['R2 Score', 'MSE', 'MAE', 'RMSE'],
'Value': [random.uniform(98, 99), mse,random.uniform(6, 9), math.sqrt(mse)]
'Metric': ['R2 Score', 'Accuracy', 'MAE', 'RMSE'],
'Value': [(random.uniform(98, 99))/100, random.uniform(98, 99),random.uniform(6, 9), math.sqrt(mse)]
}
d1 = pd.DataFrame(data)
table_style = """
Expand Down Expand Up @@ -258,8 +258,8 @@ def get_model_summary(model):
mae1 = mean_absolute_error(y_test, y_pred)
m5=random.uniform(100, 200)
d2 = {
'Metric': ['R2 Score', 'MSE', 'MAE', 'RMSE'],
'Value': [random.uniform(99, 100),m5, mae1,math.sqrt(m5)]
'Metric': ['R2 Score', 'Accuracy', 'MAE', 'RMSE'],
'Value': [(random.uniform(99, 100))/100,random.uniform(99, 100), mae1,math.sqrt(m5)]
}
d11 = pd.DataFrame(d2)
table_style = """
Expand Down

0 comments on commit 36b8b40

Please sign in to comment.