diff options
author | Danijel Andjelkovic <adanijel99@gmail.com> | 2022-03-30 12:41:53 +0200 |
---|---|---|
committer | Danijel Andjelkovic <adanijel99@gmail.com> | 2022-03-30 12:41:53 +0200 |
commit | ad9193d35e5ae2f6847492f1867963fc1672ee3e (patch) | |
tree | be3b3a54bc42696e73f3c3092a9f52db8355c07f /frontend/src/app/_data | |
parent | 6af8655c2d1a24c0c3ba851bb28d72f9d06c83b0 (diff) | |
parent | 476393d1530b261b8a145db2533262979558e064 (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 | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/frontend/src/app/_data/Model.ts b/frontend/src/app/_data/Model.ts index 32247bbd..7a82cc5c 100644 --- a/frontend/src/app/_data/Model.ts +++ b/frontend/src/app/_data/Model.ts @@ -28,7 +28,7 @@ export default class Model { public outputLayerActivationFunction: ActivationFunction = ActivationFunction.Sigmoid, public username: string = '', public nullValues: NullValueOptions = NullValueOptions.DeleteRows, - public nullValuesReplacers = [], + public nullValuesReplacers: NullValReplacer[] = [], public metrics: Metric[] = [], // TODO add to add-model form public epochs: number = 5 // TODO add to add-model form ) { } @@ -115,9 +115,15 @@ export enum ReplaceWith { Median = 'Medijana' } +export class NullValReplacer { + "column": string; + "option": NullValueOptions; + "value" : any; +} + export enum Metric { MSE = 'mse', MAE = 'mae', RMSE = 'rmse' //... -}
\ No newline at end of file +} |