diff options
author | Nevena Bojovic <nenabojov@gmail.com> | 2022-03-16 20:15:27 +0100 |
---|---|---|
committer | Nevena Bojovic <nenabojov@gmail.com> | 2022-03-16 20:15:27 +0100 |
commit | 8ac9eb2404ac00397be35fce4aee7adc1f261875 (patch) | |
tree | 979fc626207a2911a54ac18a2859c0a81e57918f /frontend/src/app/_data | |
parent | 39228ed08db5aa56e6a1c02ddbfc6691e1d0eef0 (diff) | |
parent | 0f06229fa6a112b5299ac5182d938adb7ef39bde (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/Dataset.ts | 13 | ||||
-rw-r--r-- | frontend/src/app/_data/Model.ts | 12 | ||||
-rw-r--r-- | frontend/src/app/_data/Predictor.ts | 11 |
3 files changed, 32 insertions, 4 deletions
diff --git a/frontend/src/app/_data/Dataset.ts b/frontend/src/app/_data/Dataset.ts new file mode 100644 index 00000000..aaee50eb --- /dev/null +++ b/frontend/src/app/_data/Dataset.ts @@ -0,0 +1,13 @@ +export default class Dataset { + constructor( + public name: string = 'Novi izvor podataka', + public description: string = '', + public header: string[] = [], + public fileId?: number, + public extension: string = '.csv', + public isPublic: boolean = false, + public accessibleByLink: boolean = false, + public dateCreated: Date = new Date(), + public lastUpdated: Date = new Date() + ) { } +}
\ No newline at end of file diff --git a/frontend/src/app/_data/Model.ts b/frontend/src/app/_data/Model.ts index 216e1c36..c0bc339d 100644 --- a/frontend/src/app/_data/Model.ts +++ b/frontend/src/app/_data/Model.ts @@ -3,11 +3,13 @@ export default class Model { public name: string = 'Novi model', public description: string = '', public dateCreated: Date = new Date(), - public datasetId?: number, + public lastUpdated: Date = new Date(), + public datasetId: string = '', - //Test set settings - public inputColumns: number[] = [0], - public columnToPredict: number = 1, + // Test set settings + public inputColumns: string[] = [], + public columnToPredict: string = '', + public randomOrder: boolean = true, public randomTestSet: boolean = true, public randomTestSetDistribution: number = 0.10, //0.1-0.9 (10% - 90%) @@ -31,6 +33,8 @@ export enum ANNType { Convolutional = 'konvoluciona' } +// replaceMissing srednja vrednost mean, median, najcesca vrednost (mode) +// removeOutliers export enum Encoding { Label = 'label', OneHot = 'one hot' diff --git a/frontend/src/app/_data/Predictor.ts b/frontend/src/app/_data/Predictor.ts new file mode 100644 index 00000000..05b993f1 --- /dev/null +++ b/frontend/src/app/_data/Predictor.ts @@ -0,0 +1,11 @@ +export default class Predictor { + constructor( + public name: string = 'Novi prediktor', + public description: string = '', + public inputs: string[] = [], + public output: string = '', + public isPublic: boolean = false, + public accessibleByLink: boolean = false, + public dateCreated: Date = new Date() + ) { } +}
\ No newline at end of file |