diff options
author | Sonja Galovic <galovicsonja@gmail.com> | 2022-03-29 23:01:29 +0200 |
---|---|---|
committer | Sonja Galovic <galovicsonja@gmail.com> | 2022-03-29 23:01:29 +0200 |
commit | 4921fd48c358c11aa5d16d08bea4d0ab3f41272a (patch) | |
tree | b7965f8520be59a0bbbf4a78d6bb90e31d6508ce /frontend/src/app/_data | |
parent | 9a708de97086c898ccb2a585617dcc5a64dcaf64 (diff) |
Add-model - popunjavanje nedostajucih vrednosti (medijana/srednja vrednost/rucni unos). Prikaz broja null vrednosti za izabrane kolone. Izlazna kolona dodata medju kolone za popunjavanje.
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 +} |