Skip to content
Snippets Groups Projects
Commit dcafa143 authored by BARTHES Nicolas's avatar BARTHES Nicolas
Browse files

esthetical corrections

parent c1d85d5d
No related branches found
No related tags found
No related merge requests found
......@@ -280,7 +280,7 @@ if not spectra.empty:
residuals = dr_model.residuals_
fig = px.scatter(x=leverage[ax1], y=residuals[ax1], color=leverage[ax1]*residuals[ax1], color_continuous_scale='Blues')
fig.update_layout(xaxis_title="Leverage", yaxis_title="Residuals")
st.plotly_chart(fig)
st.plotly_chart(fig, use_container_width=True)
img = pio.to_image(fig, format="png")
with open("./Report/figures/graphe_influence.png", "wb") as f:
f.write(img)
......
......@@ -28,7 +28,7 @@ reg_algo = ["","Full-PLSR", "Locally Weighted PLSR", "Interval-PLSR", "Full-PLSR
# page Design
st.header("Calibration Model Development", divider='blue')
st.write("Create a predictive model, then use it for predicting your target variable (chemical values) from NIRS spectra")
M1, M2, M3 = st.columns([2,2,2])
M1, M2, M3 = st.columns([2,3,2])
M4, M5 = st.columns([6,2])
st.write("---")
st.header("Model Diagnosis", divider='blue')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment