diff options
author | Ognjen Cirkovic <ciraboxkg@gmail.com> | 2022-03-29 23:22:09 +0200 |
---|---|---|
committer | Ognjen Cirkovic <ciraboxkg@gmail.com> | 2022-03-29 23:22:09 +0200 |
commit | 7987afc3be72d9b611217e1f04e28e472ed067e4 (patch) | |
tree | 33c7094d48965823346dcd72feb5a20c8551e629 /frontend/src/app/_data/Model.ts | |
parent | f390ed4b8f1dc46031269494a45baa990b2f46b1 (diff) | |
parent | df2a11aae7a522d50e1e0f97e6a45788b9120c10 (diff) |
Merge branch 'dev' of http://gitlab.pmf.kg.ac.rs/igrannonica/neuronstellar into dev
Diffstat (limited to 'frontend/src/app/_data/Model.ts')
-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 +} |