You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* I updated to repository to the newest version (version 2.0.0), which is very easy to read and reproduce.
9
+
* All of our optimizers are (meta-heuristics) now deleted and taken the new one from my newest library:
10
+
11
+
https://pypi.org/project/mealpy/
12
+
13
+
* If you use my code or library in your project, I would appreciate the cites:
14
+
* Nguyen, T., Nguyen, T., Nguyen, B. M., & Nguyen, G. (2019). Efficient Time-Series Forecasting Using Neural Network and Opposition-Based Coral Reefs Optimization. International Journal of Computational Intelligence Systems, 12(2), 1144-1161.
15
+
16
+
* Nguyen, T., Nguyen, B. M., & Nguyen, G. (2019, April). Building Resource Auto-scaler with Functional-Link Neural Network and Adaptive Bacterial Foraging Optimization. In International Conference on Theory and Applications of Models of Computation (pp. 501-517). Springer, Cham.
17
+
18
+
* Nguyen, T., Tran, N., Nguyen, B. M., & Nguyen, G. (2018, November). A Resource Usage Prediction System Using Functional-Link and Genetic Algorithm Neural Network for Multivariate Cloud Metrics. In 2018 IEEE 11th Conference on Service-Oriented Computing and Applications (SOCA) (pp. 49-56). IEEE.
19
+
20
+
* If you want to know more about code, or want a pdf of both above paper, contact me: [email protected]
22
21
23
22
24
23
## How to read my repository
@@ -28,15 +27,11 @@
28
27
* results: forecasting results of all models (3 folders inside)
29
28
* final: final forecasting results (runs on server)
30
29
* stability: final stability results(runs on server)
31
-
4. model: (4 folders)
30
+
4. model: (2 folders)
32
31
* root: (want to understand the code, read this classes first)
33
32
* root_base.py: root for all models (traditional, hybrid and variants...)
34
-
* root_algo.py: root for all optimization algorithms
35
33
* traditional: root for all traditional models (inherit: root_base)
36
34
* hybrid: root for all hybrid models (inherit: root_base)
37
-
* optimizer: (this classes inherit: root_algo.py)
38
-
* evolutionary: include algorithms related to evolution algorithm such as GA, DE,..
39
-
* swarm: include algorithms related to swarm optimization such as PSO, CSO, BFO, ...
40
35
* main: (final models)
41
36
* this classes will use those optimizer above and those root (traditional, hybrid) above
42
37
* the running files (outside with the orginial folder: cro_mlnn_script.py, ...) will call this classes
@@ -78,18 +73,19 @@ For example:
78
73
6. ABFO-MLNN => abfo_mlnn_script.py
79
74
7. CRO-MLNN => cro_mlnn_script.py
80
75
8. OCRO-MLNN => ocro_mlnn_script.py
81
-
```
82
76
83
-
3. In paper/results/final model includes folder's name represent the data such as
84
-
```code
85
-
cpu: input model would be cpu, output model would be cpu
86
-
ram: same as cpu
87
-
multi_cpu : input model would be cpu and ram, output model would be cpu
88
-
multi_ram : input model would be cpu and ram, output model would be ram
89
-
multi : input model would be cpu and ram, output model would be cpu and ram
77
+
78
+
6. Multi-output meaning?
79
+
80
+
cpu: input model would be cpu, output model would be cpu
81
+
ram: same as cpu
82
+
multi_cpu : input model would be cpu and ram, output model would be cpu
83
+
multi_ram : input model would be cpu and ram, output model would be ram
84
+
multi : input model would be cpu and ram, output model would be cpu and ram
90
85
```
91
86
92
-
4. How to change model's parameters?
87
+
### How to change model's parameters?
88
+
93
89
```code
94
90
You can change the model's parameters in file: utils/SettingPaper.py
95
91
@@ -100,10 +96,10 @@ For example:
100
96
####: MLNN-1HL
101
97
mlnn1hl_paras_final = {
102
98
"sliding": [2, 5, 10],
103
-
"hidden_sizes" : [[5] ],
99
+
"hidden_sizes" : [(10, True) ],
104
100
"activations": [("elu", "elu")], # 0: elu, 1:relu, 2:tanh, 3:sigmoid
0 commit comments