diff options
author | Nevena Bojovic <nenabojov@gmail.com> | 2022-03-29 19:17:11 +0200 |
---|---|---|
committer | Nevena Bojovic <nenabojov@gmail.com> | 2022-03-29 19:17:11 +0200 |
commit | e8790a5b30170a99fc6ef61e24614456543febd7 (patch) | |
tree | e5a5768a8489764e5e3a9f1f91761ad4c6eb9bcc /frontend/src/app/_data | |
parent | 82030306a115d06a33bed48a5a0e15a053f0ae7e (diff) | |
parent | f3d5f6fa046912c996e2581d9082087ccf7919d6 (diff) |
Merge branch 'dev' of http://gitlab.pmf.kg.ac.rs/igrannonica/neuronstellar into dev
Diffstat (limited to 'frontend/src/app/_data')
-rw-r--r-- | frontend/src/app/_data/Model.ts | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/frontend/src/app/_data/Model.ts b/frontend/src/app/_data/Model.ts index 48418d51..32247bbd 100644 --- a/frontend/src/app/_data/Model.ts +++ b/frontend/src/app/_data/Model.ts @@ -23,12 +23,14 @@ export default class Model { public hiddenLayerNeurons: number = 1, public hiddenLayers: number = 1, public batchSize: number = 5, - public hiddenLayerActivationFunction = [], + public hiddenLayerActivationFunctions: string[] = ['sigmoid'], //public inputLayerActivationFunction: ActivationFunction = ActivationFunction.Sigmoid, public outputLayerActivationFunction: ActivationFunction = ActivationFunction.Sigmoid, public username: string = '', public nullValues: NullValueOptions = NullValueOptions.DeleteRows, - public nullValuesReplacers = [] + public nullValuesReplacers = [], + public metrics: Metric[] = [], // TODO add to add-model form + public epochs: number = 5 // TODO add to add-model form ) { } } @@ -111,4 +113,11 @@ export enum ReplaceWith { None = 'Popuni...', Mean = 'Srednja vrednost', Median = 'Medijana' +} + +export enum Metric { + MSE = 'mse', + MAE = 'mae', + RMSE = 'rmse' + //... }
\ No newline at end of file |