diff options
author | Danijel Andjelkovic <adanijel99@gmail.com> | 2022-03-22 22:48:58 +0100 |
---|---|---|
committer | Danijel Andjelkovic <adanijel99@gmail.com> | 2022-03-22 22:48:58 +0100 |
commit | 480bd1db98f08266fcc3c8f499eaea0365bde6b5 (patch) | |
tree | cd1c9534aecdcee3b0ab02a3c58c8d190b007df4 /frontend/src/app/_data | |
parent | 31642f68564e67175301235546b74baf56ac5882 (diff) |
Dodao unos zamene nedostajucih vrednosti.
Diffstat (limited to 'frontend/src/app/_data')
-rw-r--r-- | frontend/src/app/_data/Model.ts | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/frontend/src/app/_data/Model.ts b/frontend/src/app/_data/Model.ts index 0768a374..07364564 100644 --- a/frontend/src/app/_data/Model.ts +++ b/frontend/src/app/_data/Model.ts @@ -26,7 +26,9 @@ export default class Model { public inputLayerActivationFunction: ActivationFunction = ActivationFunction.Sigmoid, public hiddenLayerActivationFunction: ActivationFunction = ActivationFunction.Sigmoid, public outputLayerActivationFunction: ActivationFunction = ActivationFunction.Sigmoid, - public username: string = '' + public username: string = '', + public nullValues: NullValueOptions = NullValueOptions.DeleteRows, + public nullValuesReplacers = [] ) { } } @@ -96,4 +98,16 @@ export enum Optimizer { SGD = 'SGD', SGDMomentum = 'SGDMomentum', RMSprop = 'RMSprop' +} + +export enum NullValueOptions { + DeleteRows = 'delete_rows', + DeleteColumns = 'delete_columns', + Replace = 'replace' +} + +export enum ReplaceWith { + None = '...', + Mean = 'Srednja vrednost', + Median = 'Medijana' }
\ No newline at end of file |