itou-daiki commited on
Commit
77a629f
·
verified ·
1 Parent(s): 6d2c567

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -3
app.py CHANGED
@@ -24,7 +24,7 @@ plt.rcParams['font.family'] = font_prop.get_name()
24
 
25
  # ページ設定
26
  st.set_page_config(
27
- page_title="easyAutoML_DEMO(回帰)",
28
  page_icon="📊",
29
  layout="wide"
30
  )
@@ -48,7 +48,7 @@ if 'model_configs' not in st.session_state:
48
  }
49
 
50
  # メインアプリケーション
51
- st.title("easyAutoML_DEMO(回帰)")
52
  st.caption("Created by Dit-Lab.(Daiki Ito)")
53
 
54
  with st.expander("このアプリケーションについて", expanded=False):
@@ -575,7 +575,11 @@ if uploaded_file is not None:
575
  with col2:
576
  st.write("ファイナライズ後の評価結果")
577
  st.dataframe(final_scores, use_container_width=True)
578
-
 
 
 
 
579
  # モデルの保存
580
  status_text.text("モデルを保存中...")
581
  progress_bar.progress(90)
 
24
 
25
  # ページ設定
26
  st.set_page_config(
27
+ page_title="easyAutoML(回帰)",
28
  page_icon="📊",
29
  layout="wide"
30
  )
 
48
  }
49
 
50
  # メインアプリケーション
51
+ st.title("easyAutoML(回帰)")
52
  st.caption("Created by Dit-Lab.(Daiki Ito)")
53
 
54
  with st.expander("このアプリケーションについて", expanded=False):
 
575
  with col2:
576
  st.write("ファイナライズ後の評価結果")
577
  st.dataframe(final_scores, use_container_width=True)
578
+
579
+
580
+ # 目的変数の名前をモデルに保存
581
+ final_model.target_column = target_variable
582
+
583
  # モデルの保存
584
  status_text.text("モデルを保存中...")
585
  progress_bar.progress(90)