Update pages/LLM_Trial_3.py
Browse files- pages/LLM_Trial_3.py +0 -14
pages/LLM_Trial_3.py
CHANGED
|
@@ -1056,12 +1056,6 @@ d3=pd.DataFrame(results_df3, index=['dataset 2'])
|
|
| 1056 |
d4=pd.DataFrame(results_df4, index=['synthetic dataset 2'])
|
| 1057 |
df_tot= pd.concat([d1,d2,d3,d4])
|
| 1058 |
st.dataframe(df_tot)
|
| 1059 |
-
#st.write('These results demonstrate excellent synthetic data quality: \
|
| 1060 |
-
#the mean poisson deviance (mpd) and mean gamma deviance (mgd) metrics are \
|
| 1061 |
-
#nearly identical between real and synthetic datasets for both dataset 1 and dataset 2. \
|
| 1062 |
-
#This suggests the synthetic data accurately preserves the statistical properties and \
|
| 1063 |
-
#predictive complexity of the original data')
|
| 1064 |
-
|
| 1065 |
|
| 1066 |
# barplot comparison
|
| 1067 |
fig, ax = plt.subplots(figsize=(9, 5))
|
|
@@ -1120,9 +1114,6 @@ for container in axes[1].containers:
|
|
| 1120 |
|
| 1121 |
plt.tight_layout()
|
| 1122 |
st.pyplot(fig)
|
| 1123 |
-
#st.write('This comparison reveals excellent synthetic data quality with minimal \
|
| 1124 |
-
#train-test gaps. The synthetic generation process maintains distributional properties, \
|
| 1125 |
-
#and also model generalization characteristics.')
|
| 1126 |
|
| 1127 |
# Create a heatmap
|
| 1128 |
fig, ax = plt.subplots(figsize=(10, 6))
|
|
@@ -1135,8 +1126,3 @@ ax.set_ylabel('Datasets')
|
|
| 1135 |
|
| 1136 |
plt.tight_layout()
|
| 1137 |
st.pyplot(fig)
|
| 1138 |
-
#st.write('The heatmap with the near-identical color patterns between real and synthetic versions \
|
| 1139 |
-
#of each dataset confirm excellent replication fidelity. Dataset 2 shows dramatically \
|
| 1140 |
-
#lower MPD values (green, ~0.28-0.44) compared to dataset 1 (orange-red, ~1.43-1.75), while MGD \
|
| 1141 |
-
#values remain similarly high across both, suggesting dataset 2 represents a different \
|
| 1142 |
-
#modeling challenge that the synthetic generation process successfully preserves.')
|
|
|
|
| 1056 |
d4=pd.DataFrame(results_df4, index=['synthetic dataset 2'])
|
| 1057 |
df_tot= pd.concat([d1,d2,d3,d4])
|
| 1058 |
st.dataframe(df_tot)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1059 |
|
| 1060 |
# barplot comparison
|
| 1061 |
fig, ax = plt.subplots(figsize=(9, 5))
|
|
|
|
| 1114 |
|
| 1115 |
plt.tight_layout()
|
| 1116 |
st.pyplot(fig)
|
|
|
|
|
|
|
|
|
|
| 1117 |
|
| 1118 |
# Create a heatmap
|
| 1119 |
fig, ax = plt.subplots(figsize=(10, 6))
|
|
|
|
| 1126 |
|
| 1127 |
plt.tight_layout()
|
| 1128 |
st.pyplot(fig)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|