Skip to content
Snippets Groups Projects
Commit cf32248c authored by Mouhcine's avatar Mouhcine
Browse files

Test

parent 7f809eaa
No related branches found
No related tags found
No related merge requests found
Report/figures/Elbow.png

22.3 KiB | W: | H:

Report/figures/Elbow.png

21.5 KiB | W: | H:

Report/figures/Elbow.png
Report/figures/Elbow.png
Report/figures/Elbow.png
Report/figures/Elbow.png
  • 2-up
  • Swipe
  • Onion skin
Report/figures/Influence_plot.png

28.9 KiB

Report/figures/Spectra_Plot.png

177 KiB | W: | H:

Report/figures/Spectra_Plot.png

199 KiB | W: | H:

Report/figures/Spectra_Plot.png
Report/figures/Spectra_Plot.png
Report/figures/Spectra_Plot.png
Report/figures/Spectra_Plot.png
  • 2-up
  • Swipe
  • Onion skin
Report/figures/graphe_hotelling.png

30.3 KiB | W: | H:

Report/figures/graphe_hotelling.png

26.4 KiB | W: | H:

Report/figures/graphe_hotelling.png
Report/figures/graphe_hotelling.png
Report/figures/graphe_hotelling.png
Report/figures/graphe_hotelling.png
  • 2-up
  • Swipe
  • Onion skin
File moved
Report/figures/graphe_loadings.png

60.6 KiB | W: | H:

Report/figures/graphe_loadings.png

50.7 KiB | W: | H:

Report/figures/graphe_loadings.png
Report/figures/graphe_loadings.png
Report/figures/graphe_loadings.png
Report/figures/graphe_loadings.png
  • 2-up
  • Swipe
  • Onion skin
Report/figures/scores_plot_2d_axis1_axis2.png

51.4 KiB | W: | H:

Report/figures/scores_plot_2d_axis1_axis2.png

44.5 KiB | W: | H:

Report/figures/scores_plot_2d_axis1_axis2.png
Report/figures/scores_plot_2d_axis1_axis2.png
Report/figures/scores_plot_2d_axis1_axis2.png
Report/figures/scores_plot_2d_axis1_axis2.png
  • 2-up
  • Swipe
  • Onion skin
Report/figures/scores_plot_2d_axis1_axis3.png

52.2 KiB | W: | H:

Report/figures/scores_plot_2d_axis1_axis3.png

47.7 KiB | W: | H:

Report/figures/scores_plot_2d_axis1_axis3.png
Report/figures/scores_plot_2d_axis1_axis3.png
Report/figures/scores_plot_2d_axis1_axis3.png
Report/figures/scores_plot_2d_axis1_axis3.png
  • 2-up
  • Swipe
  • Onion skin
Report/figures/scores_plot_2d_axis2_axis3.png

50.8 KiB | W: | H:

Report/figures/scores_plot_2d_axis2_axis3.png

43.8 KiB | W: | H:

Report/figures/scores_plot_2d_axis2_axis3.png
Report/figures/scores_plot_2d_axis2_axis3.png
Report/figures/scores_plot_2d_axis2_axis3.png
Report/figures/scores_plot_2d_axis2_axis3.png
  • 2-up
  • Swipe
  • Onion skin
graphe.png

32.1 KiB

......@@ -225,12 +225,14 @@ if not spectra.empty:
ax1 = st.selectbox("Component", options=dr_model.scores_.columns, index=3)
leverage = dr_model.leverage_
residuals = dr_model.residuals_
fig = px.scatter(x=leverage[ax1], y=residuals[ax1], color = leverage[ax1]*residuals[ax1]).update_layout(xaxis_title="Leverage",yaxis_title="Residuals")
st.plotly_chart(fig, use_container_width=True)
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)
img = pio.to_image(fig, format="png")
with open("./Report/figures/Influence_plot.png", "wb") as f:
with open("./Report/figures/graphe_influence.png", "wb") as f:
f.write(img)
with hotelling:
st.write('T²-Hotelling vs Q residuals plot')
hotelling = dr_model.hotelling_
......@@ -240,7 +242,7 @@ if not spectra.empty:
fig = px.scatter(t, x=hotelling[ax2], y=residuals[ax2]).update_layout(xaxis_title="",yaxis_title="Residuals")
st.plotly_chart(fig, use_container_width=True)
fig.write_image("./Report/figures/graphe_hotelling.png", format="png")
if dim_red_method == dim_red_methods[2] and clus_method == cluster_methods[2]: # UMAP clustered by HDBSCAN
with loadings: # Display some clustering metrics
st.write('Clustering metrics:')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment