aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/_data/Predictor.ts
blob: 55d610edd671e5a8509625f5e17561b2a6bb7402 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import { FolderFile } from "./FolderFile";

export default class Predictor extends FolderFile {
    constructor(
        name: string = 'Novi prediktor',
        public description: string = '',
        public inputs: string[] = [],
        public output: string = '',
        public isPublic: boolean = false,
        public accessibleByLink: boolean = false,
        dateCreated: Date = new Date(),
        lastUpdated: Date = new Date(),
        public uploaderId: string = '',
        //public finalMetrics: Metric[] = []
        public experimentId: string = "",
        public modelId: string = "",
    ) {
        super(name, dateCreated, lastUpdated);
    }
}

export class Metric {
    constructor(
        public name: string = '',
        public jsonValue: string = ''
    ) { }

}