Tin Theethawat Savastham commited on
Commit
8481a9e
·
1 Parent(s): 3b36068

📝 Update Readme About Experiment

Browse files
Readme.md CHANGED
@@ -50,7 +50,7 @@ The model is not fully constructed is file `tdce_model.py` because it depends on
50
 
51
  ## Experiment
52
 
53
- On the Artifical Neural Network-Like for Manufacturing Cost Estimation, we evaluate the model with the experiment inside the folder `experiment`. We using 4 set of datasets, 3 from simulation and 1 from the actual dataset. The actual dataset is prohibit to display and open. Three simulation datasets consist of **Simple Dataset**, **Complicated Dataset** (High Variation), and **Extended Random Dataset** (High data dimension).
54
 
55
  ### Data Gathering
56
 
@@ -66,4 +66,18 @@ Go to tab **Files and Version** and download their files. File names are initial
66
 
67
  ### Construct Experiment
68
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
  © 2024, Prince of Songkla University under the Inteligent Automation Engineering Center, Faculty of Engineering.
 
50
 
51
  ## Experiment
52
 
53
+ On the Artifical Neural Network-Like for Manufacturing Cost Estimation Project, we evaluate the model with the experiment inside the folder `experiment`. We using 4 set of datasets, 3 from simulation and 1 from the actual dataset. The actual dataset is prohibit to display and open. Three simulation datasets consist of **Simple Dataset**, **Complicated Dataset** (High Variation), and **Extended Random Dataset** (High data dimension).
54
 
55
  ### Data Gathering
56
 
 
66
 
67
  ### Construct Experiment
68
 
69
+ On our research project, we create the validation experiment as a script, which is located in `experiment/experiment_script.py` the main function name is `run_experiment`.
70
+
71
+ This require the setting parameters like `data_directory`, `epoch` amount, `folder_name` to keep the result, `round_number` to specify the amount of training replication for preventing the error, `learning_rate_list` for learning rate which used for testing, we can use multiple learning rate at one time you run this script.
72
+
73
+ We also provide the experimented scenario to choose and test which boolean parameters.
74
+
75
+ - **Outlier Removal** - Set the `remove_outlier_qtr` to `True` for enable, with using iterquartile range, you can specify the `outlier_index` to remove (the default is `1.5` which refer to 1.5IQR will reject as outliers).
76
+
77
+ - **Early Stopping** - You can preventing the high validation error and improve model regularization using the early stopping, by enable `early_stopping` as `True` and also can modify the `patience_round` for the model.
78
+
79
+ - **Data Augmentation** - Enable or Disable Class balacing for the input material by enable the flag `augmentation`.
80
+
81
+ The script will load the data from the defined directory and use them to perform the experiment.
82
+
83
  © 2024, Prince of Songkla University under the Inteligent Automation Engineering Center, Faculty of Engineering.
example/.gitkeep ADDED
File without changes
functions/matrix_generator/cost_matrix_class.py CHANGED
@@ -30,7 +30,7 @@ class CostMatrixGenerator:
30
  f"{self.data_directory}/generated_material_usage.csv"
31
  )
32
  self.capital_cost_usage = pd.read_csv(
33
- f"{self.data_directory}/generated_captial_cost.csv"
34
  )
35
 
36
  def remove_outlier_iqr(self, iqr_index=1.5):
 
30
  f"{self.data_directory}/generated_material_usage.csv"
31
  )
32
  self.capital_cost_usage = pd.read_csv(
33
+ f"{self.data_directory}/generated_capital_cost.csv"
34
  )
35
 
36
  def remove_outlier_iqr(self, iqr_index=1.5):