Spaces:
Sleeping
Sleeping
LLH
commited on
Commit
·
934abaf
1
Parent(s):
0903123
2024/03/09/18:41
Browse files
app.py
CHANGED
@@ -394,8 +394,8 @@ class Dataset:
|
|
394 |
|
395 |
cls.container_dict = get_container_dict()
|
396 |
|
397 |
-
visualize = ""
|
398 |
-
choose_optimize = ""
|
399 |
|
400 |
@classmethod
|
401 |
def check_descriptive_indicators_df(cls):
|
@@ -2016,19 +2016,6 @@ def select_model_optimize_radio(optimize):
|
|
2016 |
return get_return(True)
|
2017 |
|
2018 |
|
2019 |
-
def reset_select_model_optimize_radio_part_1():
|
2020 |
-
Dataset.choose_optimize = "None"
|
2021 |
-
|
2022 |
-
return get_return(True)
|
2023 |
-
|
2024 |
-
|
2025 |
-
def reset_select_model_optimize_radio_part_2():
|
2026 |
-
# !默认只有“网格搜索”
|
2027 |
-
Dataset.choose_optimize = "bayes_search"
|
2028 |
-
|
2029 |
-
return get_return(True)
|
2030 |
-
|
2031 |
-
|
2032 |
def linear_regression_model_radio_change(model):
|
2033 |
if model:
|
2034 |
Dataset.linear_regression_model_type = Dataset.get_linear_regression_model_name_mapping()[model]
|
|
|
394 |
|
395 |
cls.container_dict = get_container_dict()
|
396 |
|
397 |
+
cls.visualize = ""
|
398 |
+
cls.choose_optimize = ""
|
399 |
|
400 |
@classmethod
|
401 |
def check_descriptive_indicators_df(cls):
|
|
|
2016 |
return get_return(True)
|
2017 |
|
2018 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019 |
def linear_regression_model_radio_change(model):
|
2020 |
if model:
|
2021 |
Dataset.linear_regression_model_type = Dataset.get_linear_regression_model_name_mapping()[model]
|