mirror of
https://github.com/newnius/YAO-optimizer.git
synced 2025-06-07 07:01:56 +00:00
add files
This commit is contained in:
parent
0560bca8f6
commit
8a6fecbb3b
3
serve.py
3
serve.py
@ -51,6 +51,7 @@ class Config:
|
||||
continue_flag = "continue_"
|
||||
|
||||
train_data_path = "./data.csv"
|
||||
test_data_path = "./test.csv"
|
||||
model_save_path = "./checkpoint/"
|
||||
figure_save_path = "./figure/"
|
||||
do_figure_save = False
|
||||
@ -112,7 +113,7 @@ class Data:
|
||||
|
||||
def get_test_data(self, return_label_data=False):
|
||||
init_data = pd.read_csv(
|
||||
self.config.train_data_path,
|
||||
self.config.test_data_path,
|
||||
usecols=self.config.feature_and_label_columns
|
||||
)
|
||||
data, data_column_name = init_data.values, init_data.columns.tolist()
|
||||
|
Loading…
Reference in New Issue
Block a user