diff options
author | Ognjen Cirkovic <ciraboxkg@gmail.com> | 2022-05-05 00:33:31 +0200 |
---|---|---|
committer | Ognjen Cirkovic <ciraboxkg@gmail.com> | 2022-05-05 00:33:31 +0200 |
commit | c21f4c36ce23ba9502b3bb728c0f2c351b4cda3d (patch) | |
tree | 0a31a1ae9370f11e385f9ae7bfd39ed1ca7b1776 /frontend/src/app/_data/Experiment.ts | |
parent | 87aa75b968b2cf7cc322c50e83661b3bf3e463ca (diff) | |
parent | ed21703046eaef34f5dca064f991ad1858026cf8 (diff) |
Merge branch 'redesign' of http://gitlab.pmf.kg.ac.rs/igrannonica/neuronstellar into Guest-Koristik-Ispravka-FrontEnd
Diffstat (limited to 'frontend/src/app/_data/Experiment.ts')
-rw-r--r-- | frontend/src/app/_data/Experiment.ts | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/frontend/src/app/_data/Experiment.ts b/frontend/src/app/_data/Experiment.ts index 31816c19..cff77535 100644 --- a/frontend/src/app/_data/Experiment.ts +++ b/frontend/src/app/_data/Experiment.ts @@ -14,11 +14,11 @@ export default class Experiment { public dateCreated: Date = new Date(), public lastUpdated: Date = new Date(), public modelIds: string[] = [], - - - + public columnTypes: ColumnType[] = [], public encodings: ColumnEncoding[] = []//[{columnName: "", columnEncoding: Encoding.Label}] ) { } + + _columnsSelected: boolean = false; } export enum NullValueOptions { @@ -44,11 +44,11 @@ export class NullValReplacer { export enum Encoding { Label = 'label', OneHot = 'onehot', - Ordinal = 'ordinal', + /*Ordinal = 'ordinal', Hashing = 'hashing', Binary = 'binary', BaseN = 'baseN' - /* + BackwardDifference = 'backward difference', CatBoost = 'cat boost', Count = 'count', @@ -66,9 +66,13 @@ export enum Encoding { } export class ColumnEncoding { - constructor ( + constructor( public columnName: string, public encoding: Encoding - ) - {} + ) { } +} + +export enum ColumnType { + categorical = "categorical", + numerical = "numerical" }
\ No newline at end of file |