Tin Theethawat Savastham commited on
Commit
3b36068
Β·
1 Parent(s): 11b2f84

πŸ“ Change the Name, Fix Relation, Improve Readme

Browse files
.vscode/settings.json CHANGED
@@ -1,5 +1,9 @@
1
  {
2
  "python.analysis.extraPaths": [
 
 
 
 
3
  ],
4
  "git.autofetch": "all",
5
  "git.blame.editorDecoration.enabled": true,
 
1
  {
2
  "python.analysis.extraPaths": [
3
+ "./model",
4
+ "./functions/matrix_generator",
5
+ "./functions",
6
+ "./functions/data_extractor"
7
  ],
8
  "git.autofetch": "all",
9
  "git.blame.editorDecoration.enabled": true,
Readme.md CHANGED
@@ -42,6 +42,28 @@ On this main class, it located function `fit_with_validation` for a training. Th
42
 
43
  ```
44
 
45
- For the element-level weight, we pass it to the `back_propagation` function. To make the element-level learnin from the previoused experincanced m
46
 
47
- © 2024, Prince of Songkla University under Inteligent Automation Engineering Center
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
 
43
  ```
44
 
45
+ ### Model-Element
46
 
47
+ For the element-level weight, we pass it to the `back_propagate` function. To make the element-level learning from the previous iteration error. It adjust their weight and biases using gradient descent-liked algorithm as same as the model-level weight and bias. After the `back_propagate` function is called (in file `network.py`) it will forward into the layer inside the model element (`material_fc_layer.py`,`capital_fc_layer.py`, and `employee_fc_layer.py`).
48
+
49
+ The model is not fully constructed is file `tdce_model.py` because it depends on the input. We will construt it before we use.
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
+
57
+ The three set of data (Simple,Complicated,Actual) is created by upload the based data into IAEC Manufacturing ERP System "E-Manufac" and retrieve the data using REST API. The Code of data retrival can be located at `functions/data_extractor` directory, while the `emanufac_tdabc_extractor_class.py` is the main code. After the data was retrieved, it saved into the CSV file and the code in `adjust_data.py` was employed to intial preprocessing.
58
+
59
+ For testing or validate our model, without access to the E-Manufac system. The simulation dataset can be downloaded from HuggingFace Dataset (the actual dataset will not provided).
60
+
61
+ - [Simple Dataset](https://huggingface.co/datasets/theethawats98/tdce-example-simple-dataset)
62
+ - [Complicated Dataset](https://huggingface.co/datasets/theethawats98/tdce-example-complicated-dataset)
63
+ - [Extended Random Dataset](https://huggingface.co/datasets/theethawats98/tdce-example-extended-random)
64
+
65
+ Go to tab **Files and Version** and download their files. File names are initial with the name `generated`. If you want to use our experiment script, please create the directory named `dataset` and then create folder for each set, and put all files of each set insided.
66
+
67
+ ### Construct Experiment
68
+
69
+ © 2024, Prince of Songkla University under the Inteligent Automation Engineering Center, Faculty of Engineering.
experiment/batch_experiment_script.py CHANGED
@@ -2,7 +2,7 @@ import importlib
2
  import sys
3
  import getopt
4
  import os
5
- import rsg_breakpoint_experiment as rbe
6
  importlib.reload(rbe)
7
 
8
  learning_rate = [0.005, 0.01, 0.05, 0.1, 0.5]
 
2
  import sys
3
  import getopt
4
  import os
5
+ import experiment.experiment_script as rbe
6
  importlib.reload(rbe)
7
 
8
  learning_rate = [0.005, 0.01, 0.05, 0.1, 0.5]
experiment/{rsg_breakpoint_experiment.py β†’ experiment_script.py} RENAMED
@@ -6,15 +6,14 @@ import time
6
  import os
7
 
8
  # fmt:off
9
- sys.path.append('../14-New-Final-Model/model')
10
- sys.path.append('../14-New-Final-Model/matrix_generator')
11
- sys.path.append('../14-New-Final-Model')
12
- sys.path.append('../14-New-Final-Model/extractor')
13
 
14
  import tdce_model as tdce
15
  import material_fc_layer as mfl
16
  import employee_fc_layer as efl
17
- import captial_fc_layer as cfl
18
  import loss
19
  import cost_matrix_class as cmc
20
  import display_input_variation as diva
 
6
  import os
7
 
8
  # fmt:off
9
+ sys.path.append('../model')
10
+ sys.path.append('../functions/matrix_generator')
11
+ sys.path.append('../functions/data_extractor')
 
12
 
13
  import tdce_model as tdce
14
  import material_fc_layer as mfl
15
  import employee_fc_layer as efl
16
+ import capital_fc_layer as cfl
17
  import loss
18
  import cost_matrix_class as cmc
19
  import display_input_variation as diva
model/{captial_fc_layer.py β†’ capital_fc_layer.py} RENAMED
File without changes